body {
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.9), rgba(246, 248, 252, 0.9)),
                linear-gradient(120deg, #f0f2f7, #ffffff 45%, #e9eef7);
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: #1f2a37;
    min-height: 100vh;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.section-wrapper {
    background: #fff;
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    margin-bottom: 2.5rem;
}

.sidebar-locked {
    overflow: hidden;
}

.navbar,
.gradient-navbar {
    background: linear-gradient(135deg, #0d1323, #171f3b 50%, #233357) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.gradient-navbar .navbar-brand span,
.gradient-navbar .navbar-brand,
.gradient-navbar .nav-link,
.gradient-navbar .text-muted {
    color: #f7f9fc !important;
}

.gradient-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.65);
}

.gradient-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.1rem rgba(255, 255, 255, 0.3);
}

.gradient-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.gradient-navbar .btn,
.gradient-navbar .btn-outline-secondary,
.gradient-navbar .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.9) !important;
    color: #f7f9fc !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: none;
}

#sidebarToggle,
.gradient-navbar #sidebarToggle {
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.95) !important;
    color: #f7f9fc !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
}

#sidebarToggle i {
    font-size: 1.2rem;
}

#sidebarToggle span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

@media (max-width: 575.98px) {
    #sidebarToggle span {
        display: none;
    }
    #sidebarToggle {
        padding: 0.4rem 0.6rem;
    }
}

.hero {
    position: relative;
    border-radius: 32px;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 50%),
                radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 55%),
                linear-gradient(135deg, #0d1323, #171f3b 50%, #233357);
    padding: 4rem clamp(1.5rem, 4vw, 4rem);
    overflow: hidden;
    color: #fff;
    min-height: 65vh;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero img {
    max-width: 240px;
    filter: drop-shadow(0 20px 50px rgba(15, 23, 42, 0.35));
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.stats-card {
    border-radius: 20px;
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.08);
}

.stats-card h3 {
    font-size: 2.2rem;
    margin-bottom: 0.25rem;
    color: #121f3d;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-caption {
    max-width: 520px;
    color: #64748b;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    font-size: 0.85rem;
    color: #0f172a;
}

.feature-card {
    border-radius: 20px;
    padding: 2rem;
    background: #fff;
    height: 100%;
    border: 1px solid #eef2f7;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #0f172a;
    background: #f1f5f9;
    font-size: 1.5rem;
}

.job-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(13, 19, 35, 0.96), rgba(23, 31, 59, 0.9) 50%, rgba(35, 51, 87, 0.9));
    color: #f4f6fb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.job-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    background: linear-gradient(120deg, rgba(99, 102, 241, 0.25), rgba(236, 72, 153, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(9, 12, 26, 0.45);
}

.job-card:hover::after {
    opacity: 1;
}

.filter-chip {
    border-radius: 999px;
    padding: 0.25rem 0.9rem;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #f4f6fb;
    margin-right: 0.35rem;
    display: inline-block;
    font-size: 0.85rem;
    backdrop-filter: blur(6px);
}

.process-step {
    border-radius: 18px;
    padding: 1.75rem;
    background: #0f172a;
    color: #fff;
    height: 100%;
}

.process-step.light {
    background: #fff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.process-index {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.testimonial-card {
    border-radius: 22px;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid #eef2f7;
}

.cta {
    border-radius: 28px;
    padding: 3rem;
    background: linear-gradient(135deg, #1a1f35 0%, #131a2f 40%, #0f172a 100%);
    color: #fff;
}

.talent-highlight {
    background: linear-gradient(135deg, #0d1323, #171f3b 50%, #233357);
    border-radius: 30px;
    padding: 2.5rem;
    color: #e2dde6;
    position: relative;
    overflow: hidden;
}

.talent-highlight::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -60px;
    right: -40px;
}

.talent-highlight .stat-pill {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0.75rem 1.25rem;
    min-width: 110px;
    text-align: center;
}

.talent-highlight .talent-hero-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 1.75rem;
    display: inline-block;
}

.analytics-card {
    border: none;
    background: #fff;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    min-height: 180px;
}

.bar-item {
    flex: 1;
    text-align: center;
}

.bar-item span {
    display: block;
    margin-top: 0.5rem;
    font-weight: 600;
}

.bar-item small {
    display: block;
    color: #94a3b8;
}

.bar {
    width: 100%;
    background: linear-gradient(180deg, #60a5fa, #2563eb);
    border-radius: 999px 999px 6px 6px;
    transition: height 0.3s ease;
}

.form-select,
.form-control {
    border-radius: 14px;
    border: 1px solid #dfe6ee;
    padding: 0.75rem 1rem;
    background-color: #fdfefe;
}

.form-select:focus,
.form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.15);
}

.btn-primary {
    background: linear-gradient(120deg, #2563eb, #7c3aed);
    border: none;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-dark {
    background: #0f172a;
    border: none;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.admin-nav a.active {
    font-weight: 600;
    color: #0d6efd;
}

.dashboard-layout {
    position: relative;
}

.dashboard-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 320px;
    background: linear-gradient(160deg, #050d24 0%, #0f1b3e 55%, #101c32 100%);
    color: #fff;
    padding: 2rem 1.75rem;
    transform: translateX(110%);
    transition: transform 0.35s ease;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: -15px 0 45px rgba(7, 14, 30, 0.55);
}

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

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sidebar-avatar {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.3rem;
}

.sidebar-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sidebar-meta .meta-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.9rem;
    text-align: center;
}

.sidebar-meta .meta-card p {
    margin: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.65);
}

.sidebar-meta .meta-card h6 {
    margin: 0;
    font-size: 1.1rem;
}

.dashboard-sidebar .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dashboard-sidebar .sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dashboard-sidebar .sidebar-nav a {
    color: #cbd5f5;
    text-decoration: none;
    padding: 0.65rem 0.95rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background 0.2s ease;
    font-weight: 500;
}

.dashboard-sidebar .sidebar-nav i {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.dashboard-sidebar .sidebar-nav a.active,
.dashboard-sidebar .sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.sidebar-media {
    margin-top: auto;
}

.sidebar-media img {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.6rem;
}

.sidebar-footer {
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1040;
}

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

.dashboard-content {
    flex: 1;
    margin-left: 0;
}

@media (min-width: 992px) {
    .dashboard-layout {
        display: block;
    }

    .dashboard-sidebar {
        right: 40px;
        top: 90px;
        height: auto;
        border-radius: 18px;
        max-height: calc(100vh - 140px);
        transform: translateX(110%);
    }
}
.stat-pill span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.stat-pill strong {
    font-size: 1.4rem;
}

@media (max-width: 767px) {
    .talent-highlight {
        padding: 2rem;
        text-align: center;
    }

    .talent-highlight .stat-pill {
        width: 100%;
    }

    .talent-highlight .talent-hero-card {
        width: 100%;
        margin-top: 1rem;
    }

    .bar-chart {
        gap: 0.5rem;
    }
}

.livechat-widget {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 1020;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    pointer-events: none;
}

.livechat-widget > .livechat-button {
    pointer-events: auto;
}

.livechat-widget > .livechat-cards,
.livechat-widget > .livechat-toast {
    pointer-events: none;
}

.livechat-button {
    border: none;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.livechat-widget.is-open .livechat-button {
    transform: translateY(-2px);
}

.livechat-button-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #131735, #312d9a 40%, #6c47ff);
    color: #fff;
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 4px solid #ffffff;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.35);
}

.livechat-indicator {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
    top: 6px;
    right: 6px;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: livechatPulse 2s infinite;
}

@keyframes livechatPulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.35);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.livechat-cards {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.livechat-widget.is-open .livechat-cards {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.livechat-card {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    transform: translateX(20px);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.livechat-widget.is-open .livechat-card {
    transform: translateX(0);
    opacity: 1;
}

.livechat-card:nth-child(1) {
    transition-delay: 0.05s;
}

.livechat-card:nth-child(2) {
    transition-delay: 0.1s;
}

.livechat-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.livechat-card-primary .livechat-card-icon {
    background: rgba(36, 214, 102, 0.15);
}

.livechat-card-secondary .livechat-card-icon {
    background: rgba(34, 158, 217, 0.15);
}

.livechat-card:hover {
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.25);
}

@media (max-width: 575.98px) {
    .livechat-widget {
        right: 16px;
        left: auto;
        bottom: 90px;
    }

    .livechat-card {
        width: 54px;
        height: 54px;
    }

    .livechat-button {
        width: auto;
        justify-content: center;
    }
}

.auth-page .livechat-widget {
    display: none;
}

.password-toggle {
    position: relative;
}

.password-toggle input[type="password"],
.password-toggle input[type="text"] {
    padding-right: 3rem;
}

.password-toggle button {
    position: absolute;
    top: 50%;
    right: 0.65rem;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #64748b;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.password-toggle button:hover,
.password-toggle button:focus {
    color: #111827;
    outline: none;
}

.password-toggle button i {
    font-size: 1.1rem;
}
