#pills-tab .nav-item {
    width: 50%;
}

#pills-tab .nav-link {
    color: #000000;
    font-weight: 600;
    font-size: 20px;
}

#pills-ongoing-jobs-tab.active {
    background-color: #ffffff !important;
    border-bottom: 4px solid #051284;
    border-radius: 8px 0 0 8px !important;
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

/* Active "All Time Stats" tab – right side rounded */
#pills-all-time-stats-tab.active {
    background-color: #ffffff !important;
    border-bottom: 4px solid #051284;
    border-radius: 0 8px 8px 0 !important;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

/* Helper to prevent text overflows inside Flex containers */
.min-w-0 {
    min-width: 0 !important;
}

/* Interactive card effects */
/* .candidate-card-link {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.candidate-card-link:hover {
    transform: translateY(-2px);
}

.candidate-card-link:hover .candidate-card {
    border-color: #051284 !important;
    box-shadow: 0 4px 12px rgba(5, 18, 132, 0.08) !important;
}

.candidate-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
} */

/* Responsive Heights for Container Lists to avoid double scrollbars on mobile */
#top-performer-candidate-list,
#latest-interview-candidate-list {
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
}

@media (max-width: 991px) {
    #top-performer-candidate-list,
    #latest-interview-candidate-list {
        max-height: 480px;
    }
}

@media (max-width: 575px) {
    #top-performer-candidate-list,
    #latest-interview-candidate-list {
        max-height: 380px;
    }
}

.stats-container,
.all-time-stats-container {
    display: grid;
    gap: 1rem;
}

@media (min-width: 1400px) {
    .stats-container,
    .all-time-stats-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .stats-container,
    .all-time-stats-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .stats-container,
    .all-time-stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .stats-container,
    .all-time-stats-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .candidate-name {
        font-size: 0.95rem;
    }

    .job-title {
        font-size: 0.85rem;
    }

    .candidate-card {
        padding: 12px;
    }
}

.dashboard-stats-card {
    padding: 10px 20px;
    border-radius: 8px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.dashboard-stats-card-recommended {
    background: rgba(13, 110, 253, 0.2);
}

.card-recommended-icon-color {
    color: #0D6EFD;
}

.dashboard-stats-card-not-recommended {
    background: #FDB9BA;
}

.card-not-recommended-icon-color {
    color: #E81D20;
}

.dashboard-stats-card-regular {
    background: #ffffffff;
}

.candidate-position {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: #051284;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.75rem;
}

.candidate-card {
    width: 100%;
    min-height: 110px;
    display: flex;
    align-items: center;
}

.job-title {
    display: block;
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.candidate-name {
    display: block;
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}