/* Job Details Modal/Box */


.job-details-box {
    position: sticky;
    top: 72px;
    align-self: start;
    max-height: calc(100vh - 88px);
    overflow: auto;
    border: 1px solid #eee;
    margin: 0px 10px;
    padding: 10px;
    border-radius: 10px;
}

.job-details-box h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.job-details-box .company {
    color: #2d6cdf;
    font-size: 1rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.job-details-box .location,
.job-details-box .salary {
    font-size: 1rem;
    color: #444;
    margin-bottom: 4px;
}

.job-details-box .apply-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-right: 8px;
    margin-bottom: 12px;
    transition: background 0.2s;
}

.job-details-box .apply-btn:hover {
    background: #174ea6;
}

.job-details-box .action-btn {
    background: #f3f4f6;
    color: #444;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 1rem;
    cursor: pointer;
    margin-right: 8px;
    margin-bottom: 12px;
    transition: background 0.2s;
}

.job-details-box .action-btn:hover {
    background: #e5e7eb;
}

.job-details-box .section-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #222;
}

.job-details-box .detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.job-details-box .detail-label {
    font-weight: 500;
    color: #555;
    min-width: 80px;
}

.job-details-box .detail-value {
    background: #f3f4f6;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.98rem;
    color: #222;
}

.job-details-box .location-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 1rem;
    color: #444;
}

.job-details-box hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

body header .n-header--bottom #search-form .search-box select {
    padding-right: 30px !important;
}

/* Total scrollbar area */
::-webkit-scrollbar {
    width: 5px;
    /* for vertical */
    height: 5px;
    /* for horizontal */
}

/* Track (background) */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle (thumb) */
::-webkit-scrollbar-thumb {
    background: var(--primary-500);
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-500);
}