@import url("https://fonts.googleapis.com/css2?family=Google+Sans+Flex:wght@100..1000&display=swap");

:root {
    --primary-teal: #2d8a86;
    --primary-teal-dark: #246f6b;
    --dark-secondary: #183648;
    --light-bg: #f4f7f8;
    --accent-teal: #7cc7c2;
    --white: #ffffff;
    --text-muted: #6b7280;
    --text-soft: #94a3b8;
    --border-light: #e5e7eb;
    --border-soft: #eef2f6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gray-btn: #f3f4f6;
    --sidebar-width: 280px;
    --row-hover: #f9fafb;
    --header-bg: #f8fafc;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.05);
    --shadow-medium: 0 16px 40px rgba(15, 23, 42, 0.08);
    --shadow-strong: 0 24px 60px rgba(15, 23, 42, 0.18);
    --sticky-divider: inset -1px 0 0 var(--border-soft);
    --radius-xl: 20px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Google Sans Flex', sans-serif;
    /* font-family: "Roboto", "Helvetica Neue", Arial, sans-serif; */
    background-color: var(--light-bg);
    color: var(--dark-secondary);
    overflow-x: hidden;
}


.dept-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.dept-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
           SIDEBAR STYLES
           ============================================ */

/* ============================================
           SIDEBAR STYLES
           ============================================ */



.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: #183648;
    z-index: 1040;
    overflow-y: auto;
    transition: width 0.3s ease, transform 0.3s ease;
    overflow-x: hidden;
}

/* ══ SIDEBAR COLLAPSE SYSTEM ══ */
/* Layout fix when collapsed */
.sidebar-collapsed .main-wrapper {
    margin-left: 80px !important;
}

/* Sidebar transition */
.sidebar {
    transition: width 0.3s ease, left 0.3s ease;
}

/* Collapsed Sidebar state */
.sidebar-collapsed .sidebar {
    width: 80px !important;
}

/* Hide text elements in collapsed state */
.sidebar-collapsed .sidebar .logo-text,
.sidebar-collapsed .sidebar .nav-link span,
.sidebar-collapsed .sidebar .nav-badge,
.sidebar-collapsed .sidebar .filter-section {
    display: none !important;
}

/* Centering icons and adjusting padding */
.sidebar-collapsed .sidebar .logo-area {
    padding: 24px 0;
    display: flex;
    justify-content: center;
}

.sidebar-collapsed .sidebar .logo {
    justify-content: center;
    gap: 0;
}

.sidebar-collapsed .sidebar .nav-link {
    justify-content: center;
    padding: 12px;
}

.sidebar-collapsed .sidebar .nav-section {
    padding: 16px 8px;
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}






.logo-area {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo-icon {
    display: none;
}

.logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logoimage {
    width: auto;
    max-width: 200px;
    height:58px;
    object-fit: contain;
    object-position: center;
    filter: brightness(1.4) contrast(1.2);
    display: block;
    transition: filter 0.3s ease;
}

.logoimage:hover {
    filter: brightness(1.5) contrast(1.3);
}


@media (max-width: 768px) {
    .logo-area {
        min-height: 60px;
        padding: 12px 16px;
    }

    .logoimage {
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .logo-area {
        min-height: 50px;
        padding: 10px 14px;
    }

    .logoimage {
        max-width: 160px;
    }
}


.nav-section {
    padding: 16px 12px;
}

.nav-item {
    margin-bottom: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
    font-size: 14px;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
}

.nav-link.active {
    background: var(--primary-teal);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(47, 143, 139, 0.25);
}

.nav-link i {
    font-size: 18px;
    width: 22px;
    text-align: center;
}

.nav-badge {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.12);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}


.filter-section {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}

.filter-toggle {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    transition: all 0.2s;
}

.filter-toggle:hover {
    color: var(--white);
}

.filter-content {
    display: none;
}

.filter-content.show {
    display: block;
}

.filter-group {
    margin-bottom: 16px;
}

.filter-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.filter-select {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-teal);
    background: rgba(255, 255, 255, 0.1);
}

.filter-select option {
    background: var(--dark-secondary);
    color: var(--white);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-chip {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-weight: 500;
}

.filter-chip:hover,
.filter-chip.active {
    background: var(--primary-teal);
    color: var(--white);
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    cursor: pointer;
    margin-bottom: 8px;
}

.filter-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-teal);
    cursor: pointer;
}





/* ============================================
           MAIN WRAPPER & NAVBAR
           ============================================ */


.main-wrapper {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.sidebar-collapsed .main-wrapper {
    margin-left: 80px;
}

.top-navbar {
    position: sticky;
    top: 0;
    background: var(--white);
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    z-index: 1030;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    background: var(--white);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--dark-secondary);
    flex-shrink: 0;
}

.menu-toggle:hover {
    background: var(--light-bg);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.search-bar {
    position: relative;
    width: 380px;
    max-width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-size: 14px;
    background: var(--light-bg);
    transition: all 0.25s;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-teal);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(47, 143, 139, 0.1);
}

.search-bar i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
}

.search-icon-mobile {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    background: var(--white);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark-secondary);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.notification-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.notification-btn:hover {
    background: var(--light-bg);
    border-color: var(--primary-teal);
}

.notification-btn i {
    font-size: 18px;
    color: var(--dark-secondary);
}

.notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid var(--white);
}

.profile-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.profile-dropdown:hover {
    background: var(--light-bg);
    border-color: var(--border-light);
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-teal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-secondary);
    text-align: left;
}

.profile-role {
    font-size: 11px;
    color: var(--text-muted);
}

.profile-dropdown i.bi-chevron-down {
    color: var(--text-muted);
    font-size: 12px;
}

.btn-post-job {
    padding: 12px 22px;
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 15px rgba(47, 143, 139, 0.25);
}

.btn-post-job:hover {
    background: #267a76;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(47, 143, 139, 0.35);
}





/* ============================================
           DASHBOARD CONTENT
     ============================================ */

.dashboard-content {
    padding: 28px;
}

.welcome-header {
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.welcome-header-left {
    flex: 1;
    min-width: 0;
}

.welcome-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark-secondary);
    margin-bottom: 6px;
}

.welcome-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   UPLOAD ACTION BUTTONS (Dashboard Header)
   ============================================ */

.welcome-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.upload-action-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    border-radius: 14px;
    border: 1px solid var(--border-light);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.upload-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    background: var(--white);
}

.excel-btn:hover {
    border-color: var(--primary-teal);
}

.pdf-btn:hover {
    border-color: var(--dark-secondary);
}

.upload-btn-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.excel-btn .upload-btn-icon {
    background: rgba(45, 138, 134, 0.08);
    color: var(--primary-teal);
}

.pdf-btn .upload-btn-icon {
    background: rgba(24, 54, 72, 0.08);
    color: var(--dark-secondary);
}

.upload-action-btn:hover .upload-btn-icon {
    transform: scale(1.05);
}

.excel-btn:hover .upload-btn-icon {
    background: var(--primary-teal);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(45, 138, 134, 0.3);
}

.pdf-btn:hover .upload-btn-icon {
    background: var(--dark-secondary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(24, 54, 72, 0.3);
}

.upload-btn-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.upload-btn-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark-secondary);
    letter-spacing: -0.2px;
}

.upload-btn-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
}

.upload-btn-badge {
    font-size: 8px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 5px;
    text-transform: uppercase;
    background: var(--light-bg);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    margin-left: auto;
}

.excel-btn:hover .upload-btn-badge {
    background: rgba(45, 138, 134, 0.1);
    color: var(--primary-teal);
    border-color: rgba(45, 138, 134, 0.2);
}

.pdf-btn:hover .upload-btn-badge {
    background: rgba(24, 54, 72, 0.1);
    color: var(--dark-secondary);
    border-color: rgba(24, 54, 72, 0.2);
}

/* ============================================
   BULK UPLOAD MODALS
   ============================================ */

.bulk-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(2px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.bulk-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.bulk-modal {
    background: var(--white);
    border-radius: 28px;
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-strong);
    transform: translateY(40px) scale(0.96);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bulk-modal-overlay.open .bulk-modal {
    transform: translateY(0) scale(1);
}

/* Modal Header */
.bulk-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    position: relative;
    overflow: hidden;
}

.excel-header {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    color: #fff;
}

.pdf-header {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, #29698f 100%);
    color: #fff;
}

.modal-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.modal-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
    margin: 4px 0 0;
}

.modal-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: rotate(90deg);
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    padding: 20px 32px;
    border-bottom: 1px solid var(--border-soft);
    background: var(--header-bg);
    gap: 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border-light);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s;
    border: 2px solid var(--border-light);
}

.step-item span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s;
}

.step-item.active .step-circle {
    background: var(--primary-teal);
    color: #fff;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(45, 138, 134, 0.2);
}

.step-item.active span {
    color: var(--primary-teal);
    font-weight: 600;
}

.step-item.completed .step-circle {
    background: var(--success);
    color: #fff;
    border-color: var(--success);
}

.step-item.completed span {
    color: var(--success);
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border-light);
    margin: 0 12px;
    border-radius: 2px;
    transition: background 0.3s;
}

.step-line.active {
    background: var(--primary-teal);
}

/* Modal Body */
.modal-body {
    padding: 24px 28px;
    overflow-y: auto;
    flex: 1;
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed var(--border-light);
    border-radius: 18px;
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: var(--light-bg);
    overflow: hidden;
    margin-bottom: 20px;
}

.upload-zone:hover {
    border-color: var(--primary-teal);
    background: rgba(45, 138, 134, 0.03);
}

.upload-zone.excel-zone:hover {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.04);
}

.upload-zone.pdf-zone:hover {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.04);
}

.upload-zone.drag-over {
    border-style: solid;
    transform: scale(1.01);
}

.upload-zone.excel-zone.drag-over {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.06);
}

.upload-zone.pdf-zone.drag-over {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.06);
}

.upload-zone-content {
    position: relative;
    z-index: 1;
}

.upload-zone-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.excel-zone-icon {
    background: rgba(40, 167, 69, 0.12);
    color: #28a745;
}

.pdf-zone-icon {
    background: rgba(231, 76, 60, 0.12);
    color: #e74c3c;
}

.upload-zone-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-secondary);
    margin-bottom: 6px;
}

.upload-zone-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.upload-zone-formats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.format-tag {
    padding: 4px 12px;
    background: rgba(45, 138, 134, 0.1);
    color: var(--primary-teal);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(45, 138, 134, 0.2);
}

.format-tag.pdf-tag {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.2);
}

.browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
}

.excel-browse {
    background: linear-gradient(135deg, #28a745, #34ce57);
    color: #fff;
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3);
}

.excel-browse:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.4);
}

.pdf-browse {
    background: linear-gradient(135deg, #e74c3c, #ff6b6b);
    color: #fff;
    box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
}

.pdf-browse:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.4);
}

/* Drag Overlay */
.drag-overlay {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    background: rgba(45, 138, 134, 0.12);
    backdrop-filter: blur(4px);
    transition: all 0.25s;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-teal);
    z-index: 2;
}

.pdf-drag-overlay {
    background: rgba(231, 76, 60, 0.12);
    color: #e74c3c;
}

.drag-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.drag-overlay-icon {
    font-size: 48px;
    animation: bounce 0.6s ease infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-12px);
    }
}

/* Selected File Display in Upload Zone */
.selected-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    margin-top: 16px;
    text-align: left;
}

.selected-file-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    flex-shrink: 0;
}

.selected-file-icon.pdf {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.selected-file-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.selected-file-size {
    font-size: 12px;
    color: var(--text-muted);
}

.selected-file-remove {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: none;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.selected-file-remove:hover {
    background: var(--danger);
    color: #fff;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 8px;
}

.option-group-card {
    background: var(--light-bg);
    border-radius: 14px;
    padding: 18px;
    border: 1px solid var(--border-soft);
}

.option-group-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark-secondary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--dark-secondary);
    font-weight: 500;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
}

.radio-option input[type="radio"]:checked+.radio-custom {
    border-color: var(--primary-teal);
    background: var(--primary-teal);
    box-shadow: inset 0 0 0 3px #fff;
}

.source-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    font-size: 13px;
    font-family: 'Google Sans Flex', sans-serif;
    color: var(--dark-secondary);
    background: var(--white);
    transition: all 0.2s;
    margin-top: 10px;
}

.source-input:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(45, 138, 134, 0.1);
}

/* Modal Footer */
.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 20px;
    margin-top: 4px;
    border-top: 1px solid var(--border-soft);
}

.btn-modal-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: var(--white);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Google Sans Flex', sans-serif;
}

.btn-modal-secondary:hover {
    background: var(--light-bg);
    color: var(--dark-secondary);
    border-color: var(--border-light);
}

.btn-modal-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    color: #fff;
    font-family: 'Google Sans Flex', sans-serif;
}

.btn-modal-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.excel-primary {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
    box-shadow: 0 6px 20px rgba(45, 138, 134, 0.25);
}

.excel-primary:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(45, 138, 134, 0.35);
}

.pdf-primary {
    background: linear-gradient(135deg, var(--dark-secondary), #1a3a4d);
    box-shadow: 0 6px 20px rgba(24, 54, 72, 0.25);
}

.pdf-primary:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(24, 54, 72, 0.35);
}

/* Mapping Table */
.mapping-info-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(45, 138, 134, 0.08);
    border-radius: 10px;
    font-size: 13px;
    color: var(--primary-teal);
    font-weight: 500;
    margin-bottom: 16px;
}

.mapping-table-wrap {
    border-radius: 14px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    margin-bottom: 4px;
}

.mapping-table {
    width: 100%;
    border-collapse: collapse;
}

.mapping-table thead tr {
    background: var(--dark-secondary);
    color: rgba(255, 255, 255, 0.85);
}

.mapping-table th {
    padding: 14px 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.mapping-table th.text-center {
    text-align: center;
}

.mapping-table tbody tr {
    border-bottom: 1px solid var(--border-soft);
    transition: background 0.15s;
}

.mapping-table tbody tr:last-child {
    border-bottom: none;
}

.mapping-table tbody tr:hover {
    background: var(--row-hover);
}

.mapping-table td {
    padding: 13px 18px;
    font-size: 13px;
    color: var(--dark-secondary);
    vertical-align: middle;
}

.mapping-table td.text-center {
    text-align: center;
}

.mapping-field-name {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mapping-field-badge {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(45, 138, 134, 0.1);
    color: var(--primary-teal);
}

.field-select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--dark-secondary);
    background: var(--white);
    width: 100%;
    max-width: 200px;
    cursor: pointer;
    font-family: 'Google Sans Flex', sans-serif;
    transition: all 0.2s;
}

.field-select:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(45, 138, 134, 0.1);
}

.import-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-teal);
    cursor: pointer;
}

/* Processing & Success Views */
.processing-view,
.success-view {
    text-align: center;
    padding: 40px 20px;
}

.processing-animation {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    position: relative;
}

.processing-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary-teal);
    animation: spin 1s linear infinite;
}

.processing-icon {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: rgba(45, 138, 134, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.processing-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-secondary);
    margin-bottom: 8px;
}

.processing-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.import-progress {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 400px;
    margin: 0 auto;
}

.progress-bar-wrap {
    flex: 1;
    height: 8px;
    background: var(--border-light);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 4px;
    width: 0%;
    transition: width 0.4s ease;
}

.excel-progress {
    background: linear-gradient(90deg, #28a745, #34ce57);
}

.pdf-progress {
    background: linear-gradient(90deg, #e74c3c, #ff6b6b);
}

.progress-percent {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark-secondary);
    min-width: 36px;
    text-align: right;
}

/* Success State */
.success-animation {
    margin: 0 auto 24px;
    width: 90px;
    height: 90px;
}

.success-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745, #34ce57);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(40, 167, 69, 0.35);
}

@keyframes successPop {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-secondary);
    margin-bottom: 8px;
}

.success-sub {
    font-size: 14px;
    color: var(--text-muted);
}

/* PDF Layout */
.pdf-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    margin-bottom: 4px;
}

.panel-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-secondary);
    margin-bottom: 12px;
}

.pdf-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.pdf-file-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--light-bg);
    padding: 4px 10px;
    border-radius: 8px;
}

.pdf-list-wrap {
    border: 1px solid var(--border-light);
    border-radius: 14px;
    min-height: 220px;
    max-height: 280px;
    overflow-y: auto;
    background: var(--light-bg);
}

.pdf-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 220px;
    color: var(--text-soft);
    gap: 10px;
    font-size: 13px;
}

.pdf-file-list {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pdf-file-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    animation: slideInRow 0.25s ease;
    transition: all 0.2s;
}

.pdf-file-row:hover {
    border-color: var(--primary-teal);
}

@keyframes slideInRow {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pdf-row-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 20px;
    text-align: center;
}

.pdf-row-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pdf-row-name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdf-row-size {
    font-size: 11px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.pdf-row-remove {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 14px;
    flex-shrink: 0;
}

.pdf-row-remove:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.pdf-import-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}



/* ============================================
MOBILE RESPONSIVE FIX
============================================ */

/* Tablet */
@media (max-width: 1024px) {

    .dashboard-content {
        padding: 20px;
    }

    .bulk-modal {
        max-width: 95%;
    }

    .pdf-layout {
        grid-template-columns: 1fr;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

}


/* Mobile */
@media (max-width:768px) {

    .dashboard-content {
        padding: 16px;
    }

    .welcome-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .welcome-header-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .upload-action-btn {
        width: 100%;
        justify-content: flex-start;
    }

    .upload-btn-badge {
        margin-left: auto;
    }

    .bulk-modal {
        border-radius: 18px;
        max-height: 95vh;
    }

    .bulk-modal-header {
        padding: 18px;
        flex-direction: row;
        gap: 10px;
    }

    .modal-title {
        font-size: 17px;
    }

    .modal-subtitle {
        font-size: 12px;
    }

    .step-indicator {
        padding: 14px 16px;
        overflow-x: auto;
    }

    .step-item span {
        display: none;
    }

    .modal-body {
        padding: 18px;
    }

    .upload-zone {
        padding: 28px 16px;
    }

    .upload-zone-icon {
        width: 60px;
        height: 60px;
    }

    .upload-zone-title {
        font-size: 16px;
    }

    .upload-zone-sub {
        font-size: 12px;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-modal-primary,
    .btn-modal-secondary {
        width: 100%;
        justify-content: center;
    }

    .mapping-table-wrap {
        overflow-x: auto;
    }

    .mapping-table {
        min-width: 520px;
    }

}


/* Small Mobile */
@media (max-width:480px) {

    .welcome-title {
        font-size: 20px;
    }

    .upload-btn-icon {
        width: 32px;
        height: 32px;
    }

    .upload-btn-label {
        font-size: 12px;
    }

    .upload-btn-sub {
        font-size: 10px;
    }

    .bulk-modal {
        border-radius: 14px;
    }

    .modal-title {
        font-size: 15px;
    }

    .upload-zone {
        padding: 22px 14px;
    }

    .upload-zone-icon {
        width: 52px;
        height: 52px;
    }

    .upload-zone-title {
        font-size: 15px;
    }

    .modal-body {
        padding: 14px;
    }



}

/* Scrollbars in modal */
.modal-body::-webkit-scrollbar,
.pdf-list-wrap::-webkit-scrollbar,
.mapping-table-wrap::-webkit-scrollbar {
    width: 5px;
}

.modal-body::-webkit-scrollbar-thumb,
.pdf-list-wrap::-webkit-scrollbar-thumb,
.mapping-table-wrap::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--white);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: var(--border-light);
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.stat-icon.teal {
    background: rgba(47, 143, 139, 0.1);
    color: var(--primary-teal);
}

.stat-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.stat-icon.orange {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.stat-icon.purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple);
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-secondary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}


.chart-section {
    margin-bottom: 28px;
}

.chart-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.card-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-secondary);
}

.card-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-muted);
}

.btn-icon:hover {
    background: var(--light-bg);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.chart-container {
    height: 300px;
    position: relative;
}

/* ============================================
 DEPARTMENTS SECTION - DESKTOP OPTIMIZED
============================================ */

.departments-section {
    margin-bottom: 28px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.view-all-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-teal);
    cursor: pointer;
    transition: all 0.2s;
}

.view-all-btn:hover {
    background: var(--primary-teal);
    color: var(--white);
    border-color: var(--primary-teal);
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dept-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    /* background: var(--); */
    opacity: 0;
    transition: opacity 0.3s;
}

.dept-card:hover {
    border-color: var(--border-soft);
    box-shadow: 0 12px 32px rgba(47, 143, 139, 0.12);
    transform: translateY(-4px);
}

.dept-card:hover::before {
    opacity: 1;
}

.dept-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.dept-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.dept-icon.engineering {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.dept-icon.design {
    background: rgba(236, 72, 153, 0.1);
    color: #EC4899;
}

.dept-icon.marketing {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.dept-icon.sales {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.dept-icon.hr {
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple);
}

.dept-icon.product {
    background: rgba(47, 143, 139, 0.1);
    color: var(--primary-teal);
}

.dept-icon.finance {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.dept-icon.support {
    background: rgba(6, 182, 212, 0.1);
    color: #06B6D4;
}

.dept-info {
    min-width: 0;
}

.dept-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-secondary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dept-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.dept-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.dept-stat {
    text-align: center;
    padding: 12px 8px;
    background: var(--light-bg);
    border-radius: 10px;
}

.dept-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-secondary);
    margin-bottom: 2px;
}

.dept-stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dept-progress {
    margin-top: 4px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 8px;
}

.progress-label {
    color: var(--text-muted);
}

.progress-value {
    color: var(--primary-teal);
    font-weight: 600;
}

.progress-bar-custom {
    height: 8px;
    background: var(--light-bg);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-teal));
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* ============================================
           ACTIVITY SECTION - DESKTOP OPTIMIZED
     ============================================ */

.activity-section {
    margin-bottom: 28px;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.activity-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.activity-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.activity-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-title i {
    color: var(--primary-teal);
}

.ai-badge {
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-teal));
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    border-radius: 6px;
}

/* AI Recommendations */
.recommendation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.2s;
    cursor: pointer;
    margin-bottom: 4px;
}

.recommendation-item:hover {
    background: var(--light-bg);
}

.rec-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}

.rec-info {
    flex: 1;
    min-width: 0;
}

.rec-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rec-role {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rec-match {
    padding: 5px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Interview Reminders */
.reminder-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    border-radius: 12px;
    border-left: 3px solid var(--warning);
    background: rgba(245, 158, 11, 0.05);
    margin-bottom: 12px;
}

.reminder-item:last-child {
    margin-bottom: 0;
}

.reminder-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 48px;
    padding-top: 2px;
}

.reminder-hour {
    font-size: 18px;
    font-weight: 700;
    color: var(--warning);
    line-height: 1;
}

.reminder-ampm {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

.reminder-content h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-secondary);
    margin: 0 0 3px 0;
}

.reminder-content p {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
}

/* Activity Timeline */

.timeline {
    position: relative;
    padding-left: 22px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--border-light);
}

.timeline-item {
    position: relative;
    padding-bottom: 18px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -20px;
    top: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-teal);
}

.timeline-dot.hired {
    background: var(--success);
    border-color: var(--success);
}

.timeline-dot.rejected {
    background: var(--danger);
    border-color: var(--danger);
}

.timeline-content {
    font-size: 12px;
}

.timeline-text {
    color: var(--dark-secondary);
    line-height: 1.5;
}

.timeline-text strong {
    font-weight: 600;
}

.timeline-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
}

/* ============================================
           RESPONSIVE STYLES
           ============================================ */


@media (min-width: 1400px) {
    .dept-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


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


@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-wrapper {
        margin-left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .stats-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .dept-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .activity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .activity-card:last-child {
        grid-column: span 2;
    }
}


@media (max-width: 767px) {
    .top-navbar {
        padding: 12px 16px;
    }

    .search-bar {
        display: none;
    }

    .search-icon-mobile {
        display: flex;
    }

    .profile-info {
        display: none;
    }

    .btn-post-job span {
        display: none;
    }

    .btn-post-job {
        padding: 10px 14px;
    }

    .dashboard-content {
        padding: 16px;
    }

    .welcome-title {
        font-size: 22px;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .dept-grid {
        grid-template-columns: 1fr;
    }

    .activity-grid {
        grid-template-columns: 1fr;
    }

    .activity-card:last-child {
        grid-column: span 1;
    }

    .chart-container {
        height: 250px;
    }
}

@media (max-width: 479px) {
    .navbar-actions {
        gap: 8px;
    }

    .notification-btn,
    .menu-toggle,
    .search-icon-mobile {
        width: 38px;
        height: 38px;
    }

    .stat-card {
        padding: 18px;
    }

    .stat-value {
        font-size: 24px;
    }

    .dept-card {
        padding: 18px;
    }

    .dept-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .activity-card {
        padding: 18px;
    }
}

/* ============================================
           SIDEBAR OVERLAY
        ============================================ */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1035;
    backdrop-filter: blur(2px);
}

.sidebar-overlay.show {
    display: block;
}

/* ============================================
           ANIMATIONS
           ============================================ */


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card,
.dept-card,
.chart-card,
.activity-card {
    animation: fadeInUp 0.5s ease forwards;
}

.stat-card:nth-child(1) {
    animation-delay: 0.05s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.15s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(5) {
    animation-delay: 0.25s;
}




/* =========================
       CANDIDATE PAGE
       ========================= */

.candidate-page {
    padding: 28px;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-title-section h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark-secondary);
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

.page-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-customize,
.btn-add-candidate {
    padding: 11px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.22s ease;
    border: 1px solid var(--border-light);
}

.btn-customize {
    background: var(--white);
    color: var(--dark-secondary);
}

.btn-customize:hover {
    background: var(--light-bg);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.btn-add-candidate {
    background: var(--primary-teal);
    color: var(--white);
    border-color: var(--primary-teal);
    box-shadow: 0 10px 25px rgba(45, 138, 134, 0.22);
}

.btn-add-candidate:hover {
    background: var(--primary-teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(45, 138, 134, 0.28);
}

.filter-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-tab:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.filter-tab.active {
    background: var(--primary-teal);
    color: var(--white);
    border-color: var(--primary-teal);
    box-shadow: 0 10px 20px rgba(45, 138, 134, 0.15);
}

.filter-tab .count {
    background: rgba(255, 255, 255, 0.18);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.candidate-table-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    overflow: hidden;
}

.table-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(to bottom, #ffffff, #fcfdff);
    flex-wrap: wrap;
}

.table-info {
    font-size: 13px;
    color: var(--text-muted);
}

.table-info strong {
    color: var(--dark-secondary);
    font-weight: 700;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search-table {
    position: relative;
}

.search-table input {
    padding: 10px 14px 10px 38px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-size: 13px;
    width: 260px;
    transition: all 0.2s;
    background: #fafbfc;
}

.search-table input:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(47, 143, 139, 0.08);
    background: var(--white);
}

.search-table i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.table-scroll-wrap {
    position: relative;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 560px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    scroll-behavior: smooth;
    background: var(--white);
}

.table-scroll-wrap::-webkit-scrollbar {
    height: 11px;
    width: 10px;
}

.table-scroll-wrap::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.table-scroll-wrap::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
    border: 2px solid #f1f5f9;
}

.table-scroll-wrap::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.candidate-table {
    width: 100%;
    min-width: 1540px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    table-layout: fixed;
}

.candidate-table thead th {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--header-bg);
    padding: 14px 16px;
    text-align: left;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: #475569;
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap;
    height: 56px;
}

.candidate-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-soft);
    vertical-align: middle;
    background: var(--white);
    height: 60px;
}

.candidate-table tbody tr:hover td {
    background: var(--row-hover);
}

.candidate-table tbody tr:last-child td {
    border-bottom: none;
}

.col-checkbox {
    width: 64px;
    min-width: 64px;
}

.col-avatar {
    width: 72px;
    min-width: 72px;
}

.col-name {
    width: 270px;
    min-width: 270px;
}

.col-designation {
    width: 190px;
    min-width: 190px;
}

.col-company {
    width: 190px;
    min-width: 190px;
}

.col-skills {
    width: 260px;
    min-width: 260px;
}

.col-phone {
    width: 220px;
    min-width: 220px;
}

.col-status {
    width: 170px;
    min-width: 170px;
}

.col-actions {
    width: 110px;
    min-width: 110px;
}

.sticky-col {
    position: sticky;
    background: var(--white);
    z-index: 12;
}

.candidate-table thead .sticky-col {
    z-index: 25;
    background: var(--header-bg);
}

.candidate-table tbody tr:hover .sticky-col {
    background: var(--row-hover);
}

.sticky-checkbox {
    left: 0;
    box-shadow: var(--sticky-divider);
}

.sticky-avatar {
    left: 64px;
    box-shadow: var(--sticky-divider);
}

.sticky-name {
    left: 136px;
    box-shadow: 1px 0 0 var(--border-soft), 10px 0 18px -16px rgba(15, 23, 42, 0.28);
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    position: relative;
    background: var(--white);
}

.custom-checkbox:hover {
    border-color: var(--primary-teal);
}

.custom-checkbox:checked {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
}

.custom-checkbox:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.avatar-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.candidate-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.candidate-avatar:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.candidate-name-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 32px;
}

.candidate-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.candidate-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.candidate-name {
    font-weight: 700;
    font-size: 13px;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 185px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.candidate-name:hover {
    color: var(--primary-teal);
}

.candidate-meta {
    font-size: 11px;
    color: var(--text-soft);
    line-height: 1.2;
}





/* =========================
   ADD CANDIDATE  BTN  MODAL
========================= */

.candidate-modal-dialog {
    width: 100%;
    max-width: 860px;
}

.candidate-modal-content {
    border: 1px solid var(--border-soft);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    background: var(--white);
    height: 88vh;
    display: flex;
    flex-direction: column;
}

.candidate-modal-form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

.candidate-modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-soft);
    background: var(--white);
    flex-shrink: 0;
}

.candidate-modal-header .modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-secondary);
    margin: 0;
}

.candidate-modal-body {
    padding: 28px 30px;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    flex: 1 1 auto;
    background: var(--white);
}

.candidate-modal-footer {
    padding: 22px 30px;
    border-top: 1px solid var(--border-soft);
    background: var(--white);
    flex-shrink: 0;
    gap: 14px;
}

#addCandidateModal .form-label {
    font-size: 14px;
    font-weight: 600;
    color: #46546c;
    margin-bottom: 10px;
}

#addCandidateModal .form-control,
#addCandidateModal .candidate-select {
    height: 64px;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    background: var(--white);
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-secondary);
    padding: 0 18px;
    box-shadow: none;
    transition: all 0.22s ease;
}

#addCandidateModal .form-control::placeholder {
    color: #a0a8b8;
    font-weight: 400;
}

#addCandidateModal .form-control:hover,
#addCandidateModal .candidate-select:hover {
    border-color: var(--accent-teal);
    background: #fcfefe;
}

#addCandidateModal .form-control:focus,
#addCandidateModal .candidate-select:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(45, 138, 134, 0.12);
}

#addCandidateModal .candidate-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 44px;
    background-image:
        linear-gradient(45deg, transparent 50%, #6b7280 50%),
        linear-gradient(135deg, #6b7280 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% - 3px),
        calc(100% - 16px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

#addCandidateModal .btn-close {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 12px;
    opacity: 1;
}

.candidate-cancel-btn {
    min-width: 120px;
    height: 58px;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    background: var(--white);
    color: var(--dark-secondary);
    font-size: 15px;
    font-weight: 600;
}

.candidate-cancel-btn:hover {
    background: var(--light-bg);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.candidate-save-btn {
    min-width: 210px;
    height: 58px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(45, 138, 134, 0.22);
    transition: all 0.22s ease;
}

.candidate-save-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(36, 111, 107, 0.28);
    background: linear-gradient(135deg, var(--primary-teal-dark), var(--primary-teal));
    color: var(--white);
}

.candidate-modal-body::-webkit-scrollbar {
    width: 8px;
}

.candidate-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.candidate-modal-body::-webkit-scrollbar-thumb {
    background: #b8b8b8;
    border-radius: 20px;
}

.candidate-modal-body::-webkit-scrollbar-thumb:hover {
    background: #9fa6ad;
}

@media (max-width: 991px) {
    .candidate-modal-dialog {
        max-width: 96%;
    }
}

@media (max-width: 767px) {
    .candidate-modal-content {
        height: 92vh;
        border-radius: 22px;
    }

    .candidate-modal-header,
    .candidate-modal-body,
    .candidate-modal-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    #addCandidateModal .form-control,
    #addCandidateModal .candidate-select {
        height: 56px;
        border-radius: 16px;
    }

    .candidate-modal-footer {
        flex-direction: column;
    }

    .candidate-cancel-btn,
    .candidate-save-btn {
        width: 100%;
    }
}









.badge-recommended {
    background: linear-gradient(135deg, #3aa9a4, #2d8a86);
    color: var(--white);
    font-size: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 16px rgba(45, 138, 134, 0.18);
}

.preview-trigger {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preview-trigger:hover {
    color: var(--primary-teal);
    border-color: rgba(45, 138, 134, 0.28);
    background: #f0fdfa;
}

.cell-primary {
    color: #0f172a;
    font-weight: 600;
    font-size: 13px;
}

.skills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-pill {
    padding: 5px 10px;
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #ccfbf1;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.skill-pill.more {
    background: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
}

.phone-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-height: 32px;
}

.btn-phone {
    padding: 9px 14px;
    background: #f8fafc;
    border: 1px solid #dce5ec;
    border-radius: 12px;

    font-size: 12px;
    font-weight: 600;
    color: #334155;

    cursor: pointer;
    transition: all 0.22s ease;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    white-space: nowrap;
}

.btn-phone:hover {
    background: var(--white);
    border-color: var(--primary-teal);
    color: var(--primary-teal);

    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(45, 138, 134, 0.12);
}

.phone-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, max-height 0.25s ease, transform 0.25s ease;
}

.phone-inline.show {
    opacity: 1;
    max-height: 40px;
    transform: translateY(0);
}

.phone-inline i {
    color: var(--success);
}

.status-dropdown {
    position: relative;
    display: inline-block;
}

.btn-status {
    min-width: 132px;
    padding: 9px 12px;
    background: var(--white);
    border: 1px solid #dce5ec;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.22s;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.btn-status:hover {
    border-color: var(--primary-teal);
    box-shadow: 0 10px 24px rgba(45, 138, 134, 0.08);
}

.btn-status .status-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    box-shadow: var(--shadow-medium);
    min-width: 170px;
    z-index: 120;
    display: none;
    overflow: hidden;
    padding: 6px;
}

.status-menu.show {
    display: block;
    animation: fadeInDown 0.2s ease;
}

.status-item {
    padding: 10px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    font-weight: 600;
    color: #334155;
}

.status-item:hover {
    background: #f8fafc;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.shortlist {
    background: var(--success);
}

.status-dot.maybe {
    background: var(--warning);
}

.status-dot.reject {
    background: var(--danger);
}

.status-shortlist {
    color: var(--success) !important;
}

.status-maybe {
    color: var(--warning) !important;
}

.status-reject {
    color: var(--danger) !important;
}

.action-menu {
    position: relative;
    display: inline-block;
}

.btn-action-menu {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.btn-action-menu:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #0f172a;
}

.action-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    box-shadow: var(--shadow-medium);
    min-width: 170px;
    z-index: 120;
    display: none;
    overflow: hidden;
    padding: 6px;
}

.action-dropdown.show {
    display: block;
    animation: fadeInDown 0.2s ease;
}

.action-item {
    padding: 10px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    font-weight: 600;
    border-radius: 10px;
}

.action-item:hover {
    background: #f8fafc;
}

.action-item.delete,
.action-item.delete i {
    color: var(--danger);
}

.table-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to bottom, #ffffff, #fcfdff);
    gap: 12px;
    flex-wrap: wrap;
}

.pagination-info {
    font-size: 13px;
    color: var(--text-muted);
}

.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid #dce5ec;
    background: var(--white);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-secondary);
    cursor: pointer;
    transition: all 0.2s;
    min-width: 38px;
    text-align: center;
}

.page-btn:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.page-btn.active {
    background: var(--primary-teal);
    color: var(--white);
    border-color: var(--primary-teal);
}

/* =========================
       MOBILE CARDS
       ========================= */
.mobile-cards {
    display: none;
}

.candidate-card {
    background: var(--white);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
}

.card-header-mobile {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

.card-candidate-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
    cursor: pointer;
}

.card-name-section {
    min-width: 0;
}

.card-name-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.card-name-section h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0;
    cursor: pointer;
}

.card-name-section h3:hover {
    color: var(--primary-teal);
}

.card-designation {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.card-body-mobile {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.card-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 700;
    min-width: 72px;
}

.card-value {
    font-size: 13px;
    color: #0f172a;
    font-weight: 600;
    text-align: right;
}

.card-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.card-footer-mobile {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-phone-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
}

.card-status-wrap {
    width: 100%;
}

.card-status-wrap .btn-status,
.card-status-wrap .status-dropdown {
    width: 100%;
}

.card-status-wrap .status-menu {
    width: 100%;
}

/* =========================
       PREVIEW PANEL
       ========================= */
.preview-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(2px);
    z-index: 1080;
    opacity: 0;
    visibility: hidden;
    transition: all 0.28s ease;
}

.preview-overlay.show {
    opacity: 1;
    visibility: visible;
}

.candidate-preview-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 700px;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 1090;
    box-shadow: var(--shadow-strong);
    transform: translateX(100%);
    transition: transform 0.32s ease;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-soft);
}

.candidate-preview-panel.show {
    transform: translateX(0);
}

.preview-panel-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-soft);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.preview-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.preview-nav-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-nav-btn,
.preview-close-btn {
    height: 38px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    padding: 0 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preview-close-btn {
    width: 38px;
    padding: 0;
}

.preview-nav-btn:hover,
.preview-close-btn:hover {
    border-color: rgba(45, 138, 134, 0.25);
    color: var(--primary-teal);
    background: #f0fdfa;
}

.preview-candidate-hero {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.preview-candidate-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
}

.preview-candidate-meta {
    min-width: 0;
    flex: 1;
}

.preview-candidate-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.preview-candidate-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin: 0;
}

.preview-summary-line {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.preview-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 22px 28px;
    background: #fcfdfe;
}

.preview-section {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    margin-bottom: 16px;
}

.section-title {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    letter-spacing: 0.01em;
}

.preview-actions-primary,
.preview-actions-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.preview-actions-secondary {
    margin-top: 10px;
}

.btn-preview-primary,
.btn-preview-secondary {
    border: none;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-preview-primary:hover,
.btn-preview-secondary:hover {
    transform: translateY(-1px);
}

.btn-shortlist {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #d1fae5;
}

.btn-maybe {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

.btn-reject {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.btn-preview-secondary {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
}

.contact-info-main {
    min-width: 0;
}

.contact-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.contact-value {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.preview-status-wrap {
    margin-top: 14px;
}

.preview-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.preview-tab {
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preview-tab:hover {
    color: var(--primary-teal);
    border-color: rgba(45, 138, 134, 0.25);
    background: #f0fdfa;
}

.preview-tab.active {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: #fff;
    box-shadow: 0 10px 20px rgba(45, 138, 134, 0.18);
}

.preview-tab-content {
    display: none;
    animation: fadeTab 0.25s ease;
}

.preview-tab-content.active {
    display: block;
}

@keyframes fadeTab {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-item-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 700;
}

.info-item-value {
    font-size: 14px;
    color: #0f172a;
    font-weight: 600;
    line-height: 1.55;
}

.timeline-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-soft);
}

.timeline-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.timeline-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.timeline-subtitle {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
}

.resume-viewer {
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.resume-toolbar {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f8fafc;
    flex-wrap: wrap;
}

.resume-toolbar-title {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.resume-paper {
    padding: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
    min-height: 320px;
}

.resume-paper h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #0f172a;
}

.resume-paper p {
    font-size: 13px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 12px;
}

.similar-candidate-card {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    background: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.similar-candidate-card+.similar-candidate-card {
    margin-top: 12px;
}

.similar-candidate-card:hover {
    border-color: rgba(45, 138, 134, 0.22);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transform: translateY(-1px);
}

.similar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
}

.similar-meta {
    flex: 1;
    min-width: 0;
}

.similar-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.similar-sub {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.similar-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.btn-view-all {
    width: 100%;
    margin-top: 14px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-view-all:hover {
    background: #fff;
    color: var(--primary-teal);
    border-color: rgba(45, 138, 134, 0.25);
}

/* =========================
       DRAWER — PREMIUM DND VERSION
       ========================= */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.38);
    z-index: 1055;
    opacity: 0;
    visibility: hidden;
    transition: all 0.26s ease;
    backdrop-filter: blur(3px);
}

.drawer-overlay.show {
    opacity: 1;
    visibility: visible;
}

.customize-drawer {
    position: fixed;
    top: 0;
    right: -440px;
    width: 440px;
    max-width: 100%;
    height: 100vh;
    background: #ffffff;
    box-shadow: -20px 0 60px rgba(15, 23, 42, 0.12);
    z-index: 1060;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid #eef2f6;
}

.customize-drawer.show {
    right: 0;
}

/* HEADER */
.drawer-header {
    padding: 22px 24px;
    border-bottom: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    flex-shrink: 0;
}

.drawer-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.drawer-header-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(45, 138, 134, 0.28);
}

.drawer-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.drawer-subtitle {
    font-size: 12px;
    color: #94a3b8;
    margin: 3px 0 0;
}

.drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 15px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.drawer-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
    transform: scale(1.05);
}

/* BODY */
.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 22px 20px;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}

.drawer-body::-webkit-scrollbar {
    width: 5px;
}

.drawer-body::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

/* SECTION HEADER */
.drawer-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.drawer-section-title {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.drawer-section-hint {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

/* DND LIST */
.dnd-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    user-select: none;
}

/* COLUMN ITEM — BASE */
.column-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    background: #f8fafc;
    border: 1.5px solid #eef2f6;
    border-radius: 14px;
    cursor: default;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
    position: relative;
}

.column-item[draggable="true"] {
    cursor: grab;
}

.column-item[draggable="true"]:active {
    cursor: grabbing;
}

.column-item[draggable="true"]:hover {
    background: #ffffff;
    border-color: rgba(45, 138, 134, 0.22);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

/* DRAGGING STATE */
.column-item.dragging {
    opacity: 0.35;
    border: 2px dashed rgba(45, 138, 134, 0.4);
    background: rgba(45, 138, 134, 0.04);
    transform: scale(0.98);
}

/* DRAG OVER TARGET */
.column-item.drag-over {
    border-color: var(--primary-teal);
    background: rgba(45, 138, 134, 0.06);
    box-shadow: 0 0 0 3px rgba(45, 138, 134, 0.12);
    transform: translateY(-2px);
}

/* DROP INDICATOR LINE */
.column-item.drag-drop-above::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 10px;
    right: 10px;
    height: 3px;
    background: var(--primary-teal);
    border-radius: 999px;
    animation: dropLineFlash 0.3s ease;
    z-index: 2;
}

.column-item.drag-drop-below::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10px;
    right: 10px;
    height: 3px;
    background: var(--primary-teal);
    border-radius: 999px;
    animation: dropLineFlash 0.3s ease;
    z-index: 2;
}

@keyframes dropLineFlash {
    from {
        opacity: 0;
        transform: scaleX(0.5);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* LOCKED ITEM */
.column-item-locked {
    background: #f1f5f9;
    border: 1.5px solid #e8edf3;
    cursor: default !important;
    opacity: 0.82;
}

.column-item-locked:hover {
    background: #f1f5f9 !important;
    border-color: #e8edf3 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* DRAG HANDLE */
.col-drag-handle {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 17px;
    border-radius: 7px;
    transition: color 0.15s, background 0.15s;
    flex-shrink: 0;
}

.column-item[draggable="true"]:hover .col-drag-handle {
    color: var(--primary-teal);
    background: rgba(45, 138, 134, 0.08);
}

.col-drag-handle.locked {
    color: #d1d5db;
    font-size: 12px;
    cursor: not-allowed;
}

/* COLUMN ICON */
.col-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.col-item-icon.name-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.col-item-icon.designation-icon {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.col-item-icon.company-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.col-item-icon.skills-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.col-item-icon.phone-icon {
    background: rgba(45, 138, 134, 0.1);
    color: var(--primary-teal);
}

.col-item-icon.status-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* COLUMN LABEL */
.col-item-label {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    pointer-events: none;
}

/* LOCKED BADGE */
.col-locked-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #94a3b8;
    background: #e9eef4;
    padding: 3px 8px;
    border-radius: 20px;
}

/* TOGGLE SWITCH */
.col-toggle-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.col-toggle-wrap .col-toggle {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.col-toggle-slider {
    width: 42px;
    height: 24px;
    background: #e2e8f0;
    border-radius: 999px;
    position: relative;
    transition: background 0.22s ease;
    flex-shrink: 0;
    display: block;
}

.col-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.col-toggle-wrap .col-toggle:checked+.col-toggle-slider {
    background: var(--primary-teal);
}

.col-toggle-wrap .col-toggle:checked+.col-toggle-slider::after {
    transform: translateX(18px);
}

/* hidden old-style checkbox */
.col-toggle:not(.col-toggle-real) {
    display: none;
}

/* INFO BOX */
.drawer-info-box {
    margin-top: 18px;
    padding: 12px 14px;
    background: rgba(45, 138, 134, 0.06);
    border: 1px solid rgba(45, 138, 134, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--primary-teal);
    font-weight: 500;
}

.drawer-info-box i {
    font-size: 15px;
    flex-shrink: 0;
}

/* FOOTER */
.drawer-footer {
    padding: 18px 22px;
    border-top: 1px solid #eef2f6;
    display: flex;
    gap: 10px;
    background: #fafbfc;
    flex-shrink: 0;
}

.btn-drawer-primary,
.btn-drawer-secondary {
    flex: 1;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.btn-drawer-primary {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
    color: #fff;
    border: none;
    box-shadow: 0 8px 20px rgba(45, 138, 134, 0.28);
}

.btn-drawer-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(45, 138, 134, 0.38);
}

.btn-drawer-secondary {
    background: #fff;
    color: #475569;
    border: 1.5px solid #e5e7eb;
}

.btn-drawer-secondary:hover {
    background: #f8fafc;
    border-color: #cfd8e3;
    color: #1e293b;
}

/* DRAG GHOST / FLOAT CLONE */
@keyframes colItemLift {
    from {
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    }

    to {
        box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
    }
}

/* =========================
       MODAL
       ========================= */
.modal-content {
    border: none;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.modal-header {
    border-bottom: 1px solid var(--border-soft);
    padding: 18px 22px;
}

.modal-title {
    font-size: 18px;
    font-weight: 800;
    color: #f3f3f3;
}

.modal-body {
    padding: 22px;
    background: #fcfdfe;
}

.modal-footer {
    border-top: 1px solid var(--border-soft);
    padding: 16px 22px;
}

.form-label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border-radius: 12px;
    border: 1px solid #dce5ec;
    padding: 12px 14px;
    font-size: 14px;
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(45, 138, 134, 0.08);
}

.hide-col {
    display: none !important;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
       RESPONSIVE
       ========================= */
@media (max-width: 1199px) {
    .candidate-preview-panel {
        width: 620px;
    }
}

@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-wrapper {
        margin-left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .candidate-preview-panel {
        width: 560px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .top-navbar {
        padding: 12px 16px;
    }

    .search-bar {
        display: none;
    }

    .search-icon-mobile {
        display: flex;
    }

    .profile-info {
        display: none;
    }

    .btn-post-job span {
        display: none;
    }

    .btn-post-job {
        padding: 10px 14px;
    }

    .candidate-page {
        padding: 16px;
    }

    .page-title-section h1 {
        font-size: 20px;
    }

    .table-container {
        display: none;
    }

    .mobile-cards {
        display: block;
    }

    .candidate-preview-panel {
        width: 100%;
    }

    .preview-panel-header,
    .preview-panel-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .preview-candidate-name {
        font-size: 20px;
    }

    .customize-drawer {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 479px) {
    .navbar-actions {
        gap: 8px;
    }

    .notification-btn,
    .menu-toggle,
    .search-icon-mobile {
        width: 38px;
        height: 38px;
    }

    .candidate-card {
        padding: 16px;
    }

    .preview-nav-btn {
        padding: 0 10px;
        font-size: 11px;
    }
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1035;
    backdrop-filter: blur(2px);
}

.sidebar-overlay.show {
    display: block;
}



/* ===============
ADD DEPARTMENT BTN 
 ===================*/
.departments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}



.btn-add-department {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 24px rgba(45, 138, 134, 0.22);
    transition: all 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-add-department:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(36, 111, 107, 0.28);
    background: linear-gradient(135deg, var(--primary-teal-dark), var(--primary-teal));
}

.btn-add-department:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(124, 199, 194, 0.25);
}

.btn-add-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    font-size: 13px;
}

.department-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 9999;
}

.department-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.department-modal-v2 {
    width: 100%;
    max-width: 860px;
    max-height: 85vh;
    background: var(--white);
    border-radius: 24px;
    border: 1px solid #e9edf3;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    transform: translateY(18px) scale(0.98);
    transition: all 0.28s ease;
    display: flex;
    flex-direction: column;
}

.department-modal-overlay.show .department-modal-v2 {
    transform: translateY(0) scale(1);
}

.department-modal-v2-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid #edf1f5;
    flex-shrink: 0;
}

.department-modal-v2-header h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #172033;
}

.department-modal-v2-close {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    border-radius: 12px;
    color: #8b93a7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.department-modal-v2-close:hover {
    background: #f5f7fa;
    color: #172033;
}

.department-form-v2 {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.department-form-v2-body {
    padding: 24px;
    overflow-y: auto;
    min-height: 0;
}

.department-form-v2-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
}

.department-field {
    display: flex;
    flex-direction: column;
}

.department-field-full {
    grid-column: 1 / -1;
}

.department-field label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #46546c;
}

.department-field input,
.department-field select,
.department-field textarea {
    width: 100%;
    height: 56px;
    border: 1px solid #d9e1ea;
    border-radius: 16px;
    background: #fff;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 500;
    color: #172033;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: none;
}

.department-field textarea {
    height: auto;
    min-height: 100px;
    padding: 14px 16px;
    resize: vertical;
}

.department-field input::placeholder,
.department-field textarea::placeholder {
    color: #a0a8b8;
    font-weight: 400;
}

.department-field input:focus,
.department-field select:focus,
.department-field textarea:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(45, 138, 134, 0.12);
}

.department-form-v2-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #edf1f5;
    background: #fff;
    flex-shrink: 0;
}

.btn-department-cancel {
    min-width: 115px;
    height: 52px;
    padding: 0 24px;
    border: 1px solid #d9e1ea;
    border-radius: 16px;
    background: #fff;
    color: #183648;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-department-cancel:hover {
    background: #f8fafc;
    border-color: #cfd8e3;
}

.btn-department-save {
    min-width: 200px;
    height: 52px;
    padding: 0 24px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(45, 138, 134, 0.22);
    cursor: pointer;
    transition: all 0.22s ease;
}

.btn-department-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(36, 111, 107, 0.28);
}

.btn-department-save i {
    font-size: 17px;
}

@media (max-width: 991px) {
    .department-modal-v2 {
        max-width: 720px;
    }

    .department-form-v2-grid {
        grid-template-columns: 1fr;
    }

    .department-field-full {
        grid-column: auto;
    }
}

@media (max-width: 767px) {
    .departments-header {
        align-items: flex-start;
    }

    .btn-add-department {
        width: 100%;
        justify-content: center;
    }

    .department-modal-overlay {
        padding: 12px;
        align-items: center;
    }

    .department-modal-v2 {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 20px;
    }

    .department-modal-v2-header,
    .department-form-v2-body,
    .department-form-v2-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .department-form-v2-grid {
        grid-template-columns: 1fr;
    }

    .department-field-full {
        grid-column: auto;
    }

    .department-field input,
    .department-field select,
    .department-field textarea {
        border-radius: 14px;
    }

    .department-form-v2-footer {
        flex-direction: column;
    }

    .btn-department-cancel,
    .btn-department-save {
        width: 100%;
        min-width: 100%;
    }
}




/* ====
MASTER FILTER 
=================*/
/* =========================
   MASTER FILTER - FINAL PREMIUM
========================= */

.btn-master-filter {
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
    color: var(--dark-secondary);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.btn-master-filter:hover {
    background: #ffffff;
    border-color: rgba(45, 138, 134, 0.28);
    color: var(--primary-teal);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(45, 138, 134, 0.10);
}

.master-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1085;
    opacity: 0;
    visibility: hidden;
    transition: all 0.28s ease;
}

.master-filter-overlay.show {
    opacity: 1;
    visibility: visible;
}

.master-filter-drawer {
    position: fixed;
    top: 0;
    right: -500px;
    width: 460px;
    max-width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    box-shadow: -18px 0 48px rgba(15, 23, 42, 0.14);
    z-index: 1090;
    transition: right 0.32s ease;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(226, 232, 240, 0.9);
}

.master-filter-drawer.show {
    right: 0;
}

.master-filter-drawer-header {
    padding: 24px 24px;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.master-filter-drawer-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dark-secondary);
}

.master-filter-close {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--border-light);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.master-filter-close:hover {
    background: #ffffff;
    color: var(--dark-secondary);
    border-color: rgba(45, 138, 134, 0.28);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.master-filter-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 22px 24px;
}

.master-filter-drawer-body::-webkit-scrollbar {
    width: 8px;
}

.master-filter-drawer-body::-webkit-scrollbar-track {
    background: transparent;
}

.master-filter-drawer-body::-webkit-scrollbar-thumb {
    background: #c7d2da;
    border-radius: 999px;
}

.master-filter-drawer-body::-webkit-scrollbar-thumb:hover {
    background: #aebac4;
}

.master-filter-builder {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.master-filter-builder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 52px;
    gap: 12px;
    align-items: end;
}

.master-filter-builder-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.master-filter-builder-field label,
.master-filter-builder-action label {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}

.master-filter-control {
    width: 100%;
    height: 46px;
    border: 1px solid #d9e1ea;
    border-radius: 12px;
    background: #fff;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-secondary);
    transition: all 0.22s ease;
    outline: none;
    box-shadow: none;
}

.master-filter-control::placeholder {
    color: #9aa7b6;
    font-weight: 500;
}

.master-filter-control:hover {
    border-color: var(--accent-teal);
    background: #fff;
}

.master-filter-control:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(45, 138, 134, 0.10);
    background: #fff;
}

#filterColumnSelect {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    background-image:
        linear-gradient(45deg, transparent 50%, #64748b 50%),
        linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.btn-add-filter-rule {
    width: 52px;
    height: 46px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
    color: var(--white);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(45, 138, 134, 0.18);
    transition: all 0.22s ease;
}

.btn-add-filter-rule:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(45, 138, 134, 0.24);
    background: linear-gradient(135deg, var(--primary-teal-dark), var(--primary-teal));
}

.master-filter-rules {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.master-filter-rule-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: #f8fbfc;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.03);
}

.master-filter-rule-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-secondary);
    line-height: 1.4;
}

.master-filter-rule-text span {
    color: var(--primary-teal-dark);
    font-weight: 700;
}

.master-filter-rule-remove {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #f1d0d0;
    background: #fff5f5;
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.master-filter-rule-remove:hover {
    background: #fee2e2;
}

.master-filter-empty {
    padding: 18px;
    border: 1px dashed var(--border-light);
    border-radius: 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: #fcfdfe;
}

.master-filter-drawer-footer {
    padding: 18px 24px 22px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-master-secondary,
.btn-master-primary {
    flex: 1;
    height: 50px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s ease;
}

.btn-master-secondary {
    border: 1px solid var(--border-light);
    background: var(--white);
    color: var(--dark-secondary);
}

.btn-master-secondary:hover {
    background: var(--light-bg);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.btn-master-primary {
    border: none;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
    color: var(--white);
    box-shadow: 0 12px 24px rgba(45, 138, 134, 0.18);
}

.btn-master-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(45, 138, 134, 0.24);
    background: linear-gradient(135deg, var(--primary-teal-dark), var(--primary-teal));
}

@media (max-width: 767px) {
    .master-filter-drawer {
        width: 100%;
        right: -100%;
    }

    .master-filter-drawer-header,
    .master-filter-drawer-body,
    .master-filter-drawer-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .master-filter-builder-grid {
        grid-template-columns: 1fr;
    }

    .btn-add-filter-rule {
        width: 100%;
    }

    .master-filter-drawer-footer {
        flex-direction: column;
    }
}






/* =========================
   PROFILE DROPDOWN MENU
========================= */

.profile-dropdown-wrap {
    position: relative;
}

.profile-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    background: transparent;
}

.profile-dropdown:hover {
    background: var(--light-bg);
    border-color: var(--border-light);
}

.profile-dropdown:focus {
    outline: none;
    border-color: rgba(45, 138, 134, 0.26);
    box-shadow: 0 0 0 3px rgba(45, 138, 134, 0.08);
}

.profile-caret {
    color: var(--text-muted);
    font-size: 12px;
    transition: transform 0.22s ease;
}

.profile-dropdown-wrap.open .profile-caret {
    transform: rotate(180deg);
}

.profile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s ease;
}

.profile-dropdown-wrap.open .profile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-menu-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-soft);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
}

.profile-menu-email {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-secondary);
    word-break: break-word;
}

.profile-menu-item {
    width: 100%;
    border: none;
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    text-align: left;
    cursor: pointer;
    transition: all 0.18s ease;
    border-bottom: 1px solid var(--border-soft);
}

.profile-menu-item:last-child {
    border-bottom: none;
}

.profile-menu-item i {
    width: 18px;
    text-align: center;
    font-size: 15px;
    color: #6b7280;
    flex-shrink: 0;
}

.profile-menu-item:hover {
    background: #f8fbfc;
    color: var(--primary-teal-dark);
}

.profile-menu-item:hover i {
    color: var(--primary-teal);
}

.profile-menu-item.logout {
    color: #ef4444;
    font-weight: 600;
}

.profile-menu-item.logout i {
    color: #ef4444;
}

.profile-menu-item.logout:hover {
    background: #fff5f5;
    color: #dc2626;
}

@media (max-width: 767px) {
    .profile-menu {
        width: 250px;
        right: 0;
    }

    .profile-menu-item {
        padding: 13px 14px;
        font-size: 13px;
    }

    .profile-menu-header {
        padding: 12px 14px;
    }

    .profile-menu-email {
        font-size: 13px;
    }
}

@media (max-width: 479px) {
    .profile-menu {
        width: 220px;
    }
}



/* ===== 
SETTINGS
========================== */

.dashboard-content {
    padding: 30px 40px;
    background-color: #f4f7f8;
    min-height: calc(100vh - 80px);
}

.settings-page-header {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: #fff;
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
}

.settings-title-wrap {
    display: flex;
    flex-direction: column;
}

.settings-main-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.settings-main-title::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 24px;
    background-color: #2b7a78;
    border-radius: 4px;
}

.settings-subtitle {
    color: #64748b;
    font-size: 14px;
    margin: 0;
    padding-left: 17px;
}

.btn-back-modern {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-back-modern:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
}

.settings-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Horizontal Navigation inside Settings */
.settings-horizontal-menu {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    width: fit-content;
}

.settings-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.settings-nav-btn i {
    font-size: 18px;
    transition: color 0.3s;
}

.settings-nav-btn:hover {
    background: #f8fafc;
    color: #1e293b;
}

.settings-nav-btn.active {
    background: #2b7a78;
    color: #fff;
    box-shadow: 0 4px 12px rgba(43, 122, 120, 0.25);
}

.settings-nav-btn.active i {
    color: #fff;
}

/* Content Area */
.settings-content-area {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    min-height: 500px;
    position: relative;
    overflow: hidden;
    padding: 40px;
}

.settings-pane {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.settings-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grids & Cards */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
}

.settings-modern-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.settings-modern-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.card-icon-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e2e8f0;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.icon-circle.drive-icon {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.icon-circle.sheets-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.icon-circle.email-icon {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.icon-circle.send-icon {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.card-icon-header h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    color: #1e293b;
}

/* Modern Form Inputs */
.settings-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-floating-custom {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-floating-custom label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-floating-custom input,
.form-floating-custom select {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.form-floating-custom input:focus,
.form-floating-custom select:focus {
    outline: none;
    border-color: #2b7a78;
    box-shadow: 0 0 0 4px rgba(43, 122, 120, 0.1);
    background: #fff;
}

.help-text {
    font-size: 12px;
    color: #ef4444;
    margin-top: 8px;
    display: block;
    background: #fef2f2;
    padding: 6px 12px;
    border-radius: 6px;
    width: fit-content;
}

/* Action Buttons */
.btn-wrapper {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.btn-save-modern {
    background: linear-gradient(135deg, #2b7a78 0%, #1f5a58 100%);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(43, 122, 120, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-save-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 122, 120, 0.4);
}

.btn-save-modern:active {
    transform: translateY(0);
}

/* Layout Hide filter section on settings page */

/* .filter-section {
            display: none !important; 
        } */

@media (max-width: 992px) {
    .settings-horizontal-menu {
        width: 100%;
        overflow-x: auto;
    }

    .settings-nav-btn {
        white-space: nowrap;
    }
}






/* ============================================
   PREMIUM MANAGE USERS PAGE (CARD LAYOUT)
   ============================================ */

.user-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.user-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
}

.user-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-card-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.user-card:hover .user-card-avatar {
    transform: scale(1.08);
}

.user-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.user-card-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-card-email {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    gap: 12px;
}

/* Role Badges */
.role-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
}

.role-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.role-badge.admin {
    background: rgba(45, 138, 134, 0.1);
    color: #0f766e;
    border-color: rgba(45, 138, 134, 0.2);
}

.role-badge.hr {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.2);
}

.role-badge.recruiter {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border-color: rgba(139, 92, 246, 0.2);
}

.user-status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.user-status-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.status-inactive {
    background: #f1f5f9;
    color: #64748b;
}

.user-actions-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748b;
    font-size: 15px;
}

.user-action-btn:hover {
    background: #f8fafc;
    border-color: #2d8a86;
    color: #2d8a86;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.user-action-btn.delete-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.06);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

/* 3-dot Menu */
.user-dropdown {
    position: relative;
}

.dot-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #94a3b8;
    font-size: 20px;
}

.dot-btn:hover {
    background: #f1f5f9;
    color: #475569;
}

.user-dropdown .dropdown-toggle::after {
    display: none;
}

.user-dropdown .dropdown-menu {
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-radius: 14px;
    padding: 8px;
    min-width: 180px;
    margin-top: 8px !important;
    background: #ffffff;
}

.user-dropdown .dropdown-item {
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: transparent;
    text-decoration: none;
}

.user-dropdown .dropdown-item i {
    font-size: 16px;
    color: #64748b;
    transition: color 0.2s ease;
}

.user-dropdown .dropdown-item:hover {
    background: #f8fafc;
    color: #2d8a86;
}

.user-dropdown .dropdown-item:hover i {
    color: #2d8a86;
}

/* Delete Item - Premium Modern Design */
.user-dropdown .dropdown-item.delete-item {
    color: #dc2626;
    margin-top: 8px;
    padding: 10px 14px;
    font-weight: 600;
    position: relative;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-dropdown .dropdown-item.delete-item::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 10px;
    right: 10px;
    height: 1px;
    background: #f1f5f9;
}

.user-dropdown .dropdown-item.delete-item i {
    color: #dc2626;
    font-size: 17px;
    transition: all 0.2s;
}

.user-dropdown .dropdown-item.delete-item:hover {
    background: #fef2f2;
    color: #b91c1c;
    transform: translateX(4px);
}

.user-dropdown .dropdown-item.delete-item:hover i {
    color: #b91c1c;
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .user-cards-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .user-card {
        padding: 20px;
    }

    .user-card-avatar {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    .card-bottom {
        flex-wrap: wrap;
        gap: 12px;
    }

    .user-card-right {
        width: 100%;
        justify-content: space-between;
        padding-top: 12px;
        border-top: 1px solid #f1f5f9;
    }
}

/* User Page Footer */
.user-footer {
    margin-top: 40px;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    gap: 16px;
}

.user-info {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.user-info strong {
    color: #1e293b;
    font-weight: 700;
}

.user-pagination {
    font-size: 14px;
    color: #475569;
    font-weight: 600;
}

/* Card Entrance Animation */
@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-card {
    animation: cardEnter 0.5s ease backwards;
}

.user-card:nth-child(1) {
    animation-delay: 0ms;
}

.user-card:nth-child(2) {
    animation-delay: 50ms;
}

.user-card:nth-child(3) {
    animation-delay: 100ms;
}

.user-card:nth-child(4) {
    animation-delay: 150ms;
}

.user-card:nth-child(5) {
    animation-delay: 200ms;
}

.user-card:nth-child(6) {
    animation-delay: 250ms;
}

.user-card:nth-child(7) {
    animation-delay: 300ms;
}

.user-card:nth-child(8) {
    animation-delay: 350ms;
}