﻿
.nav-auth {
    display: flex;
    align-items: center;
    gap: 20px
}

.nav-list {
    display: flex;
    gap: 16px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0
}

    .nav-list a {
        display: inline-block;
        padding: 8px 10px;
        border-radius: 10px;
        text-decoration: none;
        color: #2b2b2f;
        font-weight: 600
    }

        .nav-list a.active {
            background: #f0f1f8;
            color: #2f2967
        }

.nav-cta {
    margin-left: 6px
}


@media (max-width: 992px) {
    .nav-toggle {
        display: flex
    }

    .nav-list {
        position: absolute;
        top: 70px;
        right: 18px;
        left: 18px;
        background: #fff;
        border: 1px solid #ececf4;
        border-radius: 14px;
        box-shadow: 0 14px 40px rgba(22,18,56,.08);
        padding: 14px;
        display: none;
        flex-direction: column;
        gap: 10px;
        z-index: 10
    }

        .nav-list.show {
            display: flex
        }

    .nav-cta {
        display: none
    }
}
/* === Header fit & alignment ============================================= */
.topbar-fit {
    padding: 24px 0px; /* tighter vertical rhythm */
    display: flex;
    align-items: center;
}

    .topbar-fit .logo img {
        height: 46px; /* matches your new pages */
        width: auto;
        display: block;
    }

.nav-auth {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1; /* take remaining space */
    min-width: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    white-space: nowrap; /* avoid wrapping */
}

    .nav-list a {
        display: inline-block;
        padding: 8px 0;
        font-weight: 700;
        font-size: 15px;
        color: #2b2b2f;
        text-decoration: none;
        border-radius: 10px;
        line-height: 1; /* keeps row compact */
    }

        .nav-list a.active {
            background: #f0f1f8;
            color: #2f2967;
            padding: 8px 10px;
        }

.nav-cta {
    margin-left: auto; /* push Logout to the right */
}

.btn-pill {
    display: inline-block;
    padding: 9px 14px;
    font-weight: 800;
    color: #fff !important;
    border-radius: 12px;
    text-decoration: none;
    background: linear-gradient(90deg, #403b74 26%, #de1d34 89%);
    box-shadow: 0 12px 26px rgba(224,70,77,.25);
}

/* keep your existing .actions buttons for logged-out header */



/* Prevent main card from bumping the header visually */
main.container {
    padding-top: 16px;
}

/* Responsive collapse — optional */
@media (max-width: 1100px) {
    .nav-list {
        gap: 16px;
    }
}



/* top-right logout chip (outside the card, aligned like mock) */
.top-chip-wrap {
    display: flex;
    justify-content: flex-end;
    margin: 8px 0 14px
}

.chip-logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e44d57;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    padding: 10px 16px;
    box-shadow: 0 10px 24px rgba(228,77,87,.22);
    text-decoration: none
}

    .chip-logout svg {
        width: 16px;
        height: 16px;
        stroke: currentColor
    }

.top-img {
    min-height: 300px;
    width: 100%;
    flex: 1;
}
