/* ============================================================
   CAREERSETU PRO
   HEADER + NAVBAR
   FINAL COMPLETE REPLACEMENT

   Path:
   public_html/assets/css/header.css
============================================================ */


/* ============================================================
   01. HEADER ROOT
============================================================ */

.careersetu-header {
    position: relative;
    z-index: 1030;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 0;
    box-shadow: none;
}

.careersetu-header *,
.careersetu-header *::before,
.careersetu-header *::after {
    box-sizing: border-box;
}

.careersetu-header a {
    text-decoration: none;
}


/* ============================================================
   02. STICKY HEADER
============================================================ */

.careersetu-header.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.careersetu-header.header-scrolled {
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}


/* ============================================================
   03. TRUST TOPBAR
============================================================ */

.careersetu-topbar {
    position: relative;
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    background: #f8fbff;
    border-bottom: 1px solid #edf2f7;
}

.careersetu-topbar .container {
    width: 100%;
}

.careersetu-topbar-inner {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.careersetu-topbar-message {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.careersetu-topbar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #2563eb;
    font-size: 13px;
}

.careersetu-topbar-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex: 0 0 auto;
}

.careersetu-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.careersetu-topbar-link i {
    color: #2563eb;
    font-size: 12px;
}

.careersetu-topbar-link:hover {
    color: #2563eb;
}


/* ============================================================
   04. MAIN NAVBAR
============================================================ */

.careersetu-navbar.navbar {
    position: relative;
    width: 100%;
    min-height: 78px;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 0;
}

.careersetu-navbar > .container {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 78px;
}


/* ============================================================
   05. BRAND
============================================================ */

.careersetu-navbar .careersetu-brand,
.careersetu-navbar .navbar-brand.careersetu-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    color: #0f172a;
    text-decoration: none;
}

.careersetu-brand:hover,
.careersetu-brand:focus {
    color: #0f172a;
}

.careersetu-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 13px;
    background: linear-gradient(
        135deg,
        #2563eb 0%,
        #0ea5e9 100%
    );
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 9px 22px rgba(37, 99, 235, 0.20);
}

.careersetu-brand-mark i {
    display: block;
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: 1;
}

.careersetu-brand-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.careersetu-brand-name {
    display: block;
    margin: 0;
    color: #0f172a;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    white-space: nowrap;
}

.careersetu-brand-name strong {
    color: #2563eb;
    font-weight: 800;
}

.careersetu-brand-tagline {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    white-space: nowrap;
}


/* ============================================================
   06. BOOTSTRAP COLLAPSE AREA
============================================================ */

.careersetu-navbar .navbar-collapse {
    flex-grow: 1;
    align-items: center;
}


/* ============================================================
   07. MAIN NAVIGATION
============================================================ */

.careersetu-nav.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

.careersetu-nav .nav-item {
    position: relative;
    margin: 0;
    padding: 0;
}

.careersetu-nav .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 0 13px !important;
    border-radius: 10px;
    color: #475569 !important;
    background: transparent;
    font-size: 12px;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.careersetu-nav .nav-link:hover,
.careersetu-nav .nav-link:focus {
    color: #2563eb !important;
    background: #f8fafc;
}

.careersetu-nav .nav-link.active {
    color: #2563eb !important;
    background: #eff6ff;
    font-weight: 700;
}


/* ============================================================
   08. ACTIVE LINK INDICATOR
============================================================ */

.careersetu-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: -17px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        #2563eb,
        #0ea5e9
    );
}


/* ============================================================
   09. RIGHT ACTIONS
============================================================ */

.careersetu-nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
    margin-left: 20px;
}


/* ============================================================
   10. SIGN IN
============================================================ */

.careersetu-login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #475569;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.careersetu-login-link i {
    color: #2563eb;
    font-size: 14px;
}

.careersetu-login-link:hover {
    color: #2563eb;
    border-color: #e2e8f0;
    background: #f8fafc;
}


/* ============================================================
   11. REGISTER CTA
============================================================ */

.careersetu-nav-cta.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #2563eb;
    border-radius: 10px;
    background: linear-gradient(
        135deg,
        #2563eb 0%,
        #0ea5e9 100%
    );
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.16);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.careersetu-nav-cta.btn:hover,
.careersetu-nav-cta.btn:focus {
    transform: translateY(-1px);
    border-color: #1d4ed8;
    background: linear-gradient(
        135deg,
        #1d4ed8 0%,
        #0284c7 100%
    );
    color: #ffffff;
    box-shadow: 0 11px 25px rgba(37, 99, 235, 0.23);
}

.careersetu-nav-cta i {
    font-size: 11px;
}


/* ============================================================
   12. MOBILE CONTROLS
============================================================ */

.careersetu-mobile-controls {
    gap: 7px;
    margin-left: auto;
}

.careersetu-mobile-login,
.careersetu-mobile-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: #334155;
    font-size: 16px;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.careersetu-mobile-login:hover,
.careersetu-mobile-account:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #2563eb;
}


/* ============================================================
   13. MOBILE TOGGLER
============================================================ */

.careersetu-toggler.navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    margin: 0;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: none;
}

.careersetu-toggler.navbar-toggler:focus {
    border-color: #bfdbfe;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.careersetu-toggler-lines {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 18px;
}

.careersetu-toggler-lines > span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #0f172a;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.careersetu-toggler[aria-expanded="true"]
.careersetu-toggler-lines > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.careersetu-toggler[aria-expanded="true"]
.careersetu-toggler-lines > span:nth-child(2) {
    opacity: 0;
}

.careersetu-toggler[aria-expanded="true"]
.careersetu-toggler-lines > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* ============================================================
   14. CANDIDATE AVATAR
============================================================ */

.careersetu-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: linear-gradient(
        135deg,
        #2563eb,
        #0ea5e9
    );
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.careersetu-avatar-sm {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 8px;
    font-size: 10px;
}

.careersetu-avatar-lg {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
    font-size: 14px;
}


/* ============================================================
   15. CANDIDATE ACCOUNT BUTTON
============================================================ */

.careersetu-account-dropdown {
    position: relative;
}

.careersetu-account-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    margin: 0;
    padding: 5px 11px 5px 6px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    color: #334155;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.careersetu-account-button:hover,
.careersetu-account-button[aria-expanded="true"] {
    border-color: #bfdbfe;
    background: #f8fbff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.careersetu-account-button::after {
    margin-left: 3px;
    color: #94a3b8;
}

.careersetu-account-text {
    display: flex;
    flex-direction: column;
    min-width: 75px;
}

.careersetu-account-label {
    color: #94a3b8;
    font-size: 8px;
    font-weight: 600;
    line-height: 1.2;
}

.careersetu-account-name {
    max-width: 110px;
    margin-top: 2px;
    overflow: hidden;
    color: #0f172a;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================
   16. ACCOUNT DROPDOWN MENU
============================================================ */

.careersetu-account-menu.dropdown-menu {
    width: 270px;
    margin-top: 10px !important;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.13);
}

.careersetu-account-menu-header {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px;
}

.careersetu-account-menu-name {
    max-width: 170px;
    overflow: hidden;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.careersetu-account-id {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 500;
}

.careersetu-account-menu .dropdown-divider {
    margin: 5px 0;
    border-color: #edf2f7;
}

.careersetu-account-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.careersetu-account-menu .dropdown-item i {
    width: 17px;
    color: #2563eb;
    text-align: center;
}

.careersetu-account-menu .dropdown-item:hover,
.careersetu-account-menu .dropdown-item:focus {
    background: #eff6ff;
    color: #2563eb;
}

.careersetu-account-menu .careersetu-logout-link {
    color: #dc2626;
}

.careersetu-account-menu .careersetu-logout-link i {
    color: #dc2626;
}

.careersetu-account-menu .careersetu-logout-link:hover {
    background: #fef2f2;
    color: #dc2626;
}


/* ============================================================
   17. MOBILE NAV INFORMATION BAR
============================================================ */

.careersetu-mobile-nav-info {
    display: none;
    width: 100%;
    background: #f8fbff;
    border-top: 1px solid #edf2f7;
}

.careersetu-mobile-nav-info-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #64748b;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.careersetu-mobile-nav-info-inner i {
    color: #2563eb;
    font-size: 10px;
}

.careersetu-mobile-nav-dot {
    width: 3px;
    height: 3px;
    flex: 0 0 3px;
    border-radius: 50%;
    background: #cbd5e1;
}


/* ============================================================
   18. DESKTOP
============================================================ */

@media (min-width: 992px) {

    .careersetu-navbar .navbar-collapse {
        display: flex !important;
    }

    .careersetu-nav {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .careersetu-mobile-controls,
    .careersetu-mobile-nav-info {
        display: none !important;
    }
}


/* ============================================================
   19. TABLET / MOBILE NAVIGATION
============================================================ */

@media (max-width: 991.98px) {

    .careersetu-topbar {
        min-height: 34px;
    }

    .careersetu-topbar-inner {
        min-height: 34px;
    }

    .careersetu-topbar-message {
        font-size: 10px;
    }

    .careersetu-topbar-links {
        gap: 12px;
    }

    .careersetu-topbar-link {
        font-size: 10px;
    }

    .careersetu-navbar.navbar {
        min-height: 68px;
    }

    .careersetu-navbar > .container {
        min-height: 68px;
        flex-wrap: wrap;
    }

    .careersetu-brand-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 11px;
        font-size: 16px;
    }

    .careersetu-brand-name {
        font-size: 15px;
    }

    .careersetu-brand-tagline {
        font-size: 7px;
    }

    .careersetu-mobile-controls {
        display: flex !important;
    }


    /* COLLAPSED PANEL */

    .careersetu-navbar .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 12px;
        right: 12px;
        z-index: 1050;
        width: auto;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        padding: 12px;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 20px 50px rgba(15, 23, 42, 0.13);
    }

    .careersetu-navbar .navbar-collapse:not(.show) {
        display: none;
    }

    .careersetu-navbar .navbar-collapse.collapsing {
        display: block;
    }

    .careersetu-nav.navbar-nav {
        width: 100%;
        align-items: stretch;
        gap: 3px;
    }

    .careersetu-nav .nav-item {
        width: 100%;
    }

    .careersetu-nav .nav-link {
        width: 100%;
        min-height: 44px;
        justify-content: flex-start;
        padding: 0 13px !important;
        border-radius: 9px;
        font-size: 11px;
    }

    .careersetu-nav .nav-link.active::after {
        display: none;
    }

    .careersetu-nav-actions {
        width: 100%;
        align-items: stretch !important;
        gap: 7px;
        margin: 10px 0 0;
        padding-top: 10px;
        border-top: 1px solid #edf2f7;
    }

    .careersetu-login-link,
    .careersetu-nav-cta.btn {
        width: 100%;
        min-height: 43px;
    }

    .careersetu-account-dropdown {
        width: 100%;
    }

    .careersetu-account-button {
        width: 100%;
    }

    .careersetu-account-menu.dropdown-menu {
        width: 100%;
    }

    .careersetu-mobile-nav-info {
        display: block;
    }
}


/* ============================================================
   20. MOBILE
============================================================ */

@media (max-width: 767.98px) {

    .careersetu-topbar {
        min-height: 32px;
    }

    .careersetu-topbar-inner {
        min-height: 32px;
        justify-content: center;
    }

    .careersetu-topbar-message {
        justify-content: center;
        width: 100%;
        font-size: 9px;
        text-align: center;
    }

    .careersetu-topbar-links {
        display: none;
    }

    .careersetu-navbar.navbar,
    .careersetu-navbar > .container {
        min-height: 64px;
    }

    .careersetu-brand {
        gap: 8px !important;
    }

    .careersetu-brand-mark {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
        border-radius: 10px;
        font-size: 15px;
    }

    .careersetu-brand-name {
        font-size: 14px;
    }

    .careersetu-brand-tagline {
        margin-top: 2px;
        font-size: 6px;
    }

    .careersetu-mobile-login,
    .careersetu-mobile-account,
    .careersetu-toggler.navbar-toggler {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .careersetu-navbar .navbar-collapse {
        left: 10px;
        right: 10px;
    }
}


/* ============================================================
   21. SMALL MOBILE
============================================================ */

@media (max-width: 480px) {

    .careersetu-topbar-message {
        font-size: 8.5px;
    }

    .careersetu-navbar.navbar,
    .careersetu-navbar > .container {
        min-height: 62px;
    }

    .careersetu-brand-mark {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
    }

    .careersetu-brand-name {
        font-size: 13px;
    }

    .careersetu-brand-tagline {
        display: none;
    }

    .careersetu-mobile-nav-info-inner {
        gap: 6px;
        font-size: 8px;
    }
}


/* ============================================================
   22. VERY SMALL MOBILE
============================================================ */

@media (max-width: 360px) {

    .careersetu-brand-name {
        font-size: 12px;
    }

    .careersetu-brand-mark {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
        border-radius: 9px;
    }

    .careersetu-mobile-login,
    .careersetu-mobile-account {
        display: none;
    }

    .careersetu-mobile-nav-info-inner {
        font-size: 7.5px;
    }
}


/* ============================================================
   23. ACCESSIBILITY
============================================================ */

.careersetu-header a:focus-visible,
.careersetu-header button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 3px;
}


/* ============================================================
   24. REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .careersetu-header *,
    .careersetu-header *::before,
    .careersetu-header *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}