/* =========================================================
   UNIVERSAL CUSTOMER TOPBAR
   BASED ON ABOUT US
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    min-height: 110px;

    background:
        linear-gradient(
            100deg,
            #ffffff 0%,
            #f8f1ff 48%,
            #e9faff 100%
        );

    border-bottom: 1px solid #e5e5e5;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;
    gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.header-logo {
    flex-shrink: 0;
}

.header-logo a {
    display: block;
}

.header-logo img {
    width: 210px;
    height: auto;
    display: block;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(22px, 3vw, 55px);

    flex: 1;
}

.main-nav a {
    position: relative;

    font-size: 17px;
    font-weight: 700;

    white-space: nowrap;

    padding: 42px 0;

    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #2468cf;
}

.main-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 28px;

    height: 3px;

    border-radius: 5px;

    background:
        linear-gradient(
            90deg,
            #19afe8,
            #d529c9
        );
}


/* =========================================================
   PROFILE AREA
========================================================= */

.profile-area {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    flex-shrink: 0;

    z-index: 1101;
}


/* =========================================================
   PROFILE BUTTON
========================================================= */

.profile-button {
    width: 58px;
    height: 58px;

    border: none;
    border-radius: 50%;

    overflow: hidden;

    background: transparent;

    cursor: pointer;

    padding: 0;
}

.profile-button img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


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

.profile-menu {
    position: absolute;

    right: 0;

    top: calc(100% + 12px);

    width: 190px;

    background: #ffffff;

    border-radius: 12px;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.15);

    padding: 10px;

    display: none;

    z-index: 1100;
}

.profile-menu.show,
.profile-menu.open {
    display: block;
}

.profile-menu a {
    display: block;

    padding: 11px 12px;

    border-radius: 8px;

    font-size: 14px;

    color: #333333;

    text-decoration: none;
}

.profile-menu a:hover {
    background: #f2f5ff;
}

.profile-name {
    padding: 10px 12px;

    font-weight: 700;
    font-size: 14px;

    border-bottom: 1px solid #eeeeee;

    margin-bottom: 5px;

    color: #333333;
}


/* =========================================================
   GUEST BUTTON
========================================================= */

.guest-auth-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 155px;
    min-height: 48px;

    padding: 10px 22px;

    border-radius: 14px;

    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    background:
        linear-gradient(
            100deg,
            #19afe8,
            #d529c9
        );

    box-shadow:
        0 6px 16px
        rgba(100, 80, 200, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.guest-auth-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 9px 20px
        rgba(100, 80, 200, 0.28);
}


/* =========================================================
   NOTIFICATION BELL
========================================================= */

.notification-button {
    position: relative;

    width: 58px;
    height: 58px;

    border: none;

    background: transparent;

    display: flex;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    color: #333333;

    font-size: 21px;

    padding: 0;
}

.notification-bell-icon {
    display: block;

    width: 25px;
    height: 25px;

    font-size: 0;
    line-height: 25px;

    color: #9b7cf6;
}

.notification-bell-icon::before {
    content: "🔔";

    display: block;

    width: 25px;
    height: 25px;

    font-size: 25px;
    line-height: 25px;

    text-align: center;
}

/* =========================================================
   NOTIFICATION BADGE
========================================================= */

.notification-badge {
    position: absolute;

    top: 5px;
    right: 5px;

    min-width: 18px;
    height: 18px;

    padding: 0 5px;

    border-radius: 50%;

    background: #e53935;

    color: #ffffff;

    font-size: 10px;
    font-weight: 700;

    display: flex;

    align-items: center;
    justify-content: center;

    line-height: 1;
}


/* =========================================================
   NOTIFICATION DROPDOWN
========================================================= */

.notification-dropdown {
    position: absolute;

    top: calc(100% + 12px);

    right: 70px;

    width: 330px;

    background: #ffffff;

    border-radius: 14px;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.15);

    border: 1px solid #eeeeee;

    overflow: hidden;

    z-index: 1100;

    display: none;
}

.notification-dropdown.show {
    display: block;
}


/* =========================================================
   NOTIFICATION HEADER
========================================================= */

.notification-header {
    padding: 16px 18px;

    border-bottom: 1px solid #eeeeee;

    font-size: 16px;
    font-weight: 700;

    color: #333333;
}


/* =========================================================
   NOTIFICATION LIST
========================================================= */

.notification-list {
    max-height: 360px;

    overflow-y: auto;
}


/* =========================================================
   EMPTY NOTIFICATION
========================================================= */

.notification-empty {
    min-height: 150px;

    padding: 25px 20px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    color: #999999;
}

.notification-empty i {
    font-size: 28px;

    margin-bottom: 10px;

    color: #bdbdbd;
}

.notification-empty p {
    margin: 0;

    font-size: 13px;
}


/* =========================================================
   NOTIFICATION ITEMS
========================================================= */

.notification-item {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding: 14px 16px;

    text-decoration: none;

    color: inherit;

    border-bottom: 1px solid #f0f0f0;

    transition:
        background-color 0.2s ease;
}

.notification-item:hover {
    background: #f8f8f8;
}

.notification-icon {
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 15px;
}

.notification-icon-upcoming {
    background: #fff3cd;
    color: #d89b00;
}

.notification-icon-missed {
    background: #fde2e2;
    color: #d9534f;
}

.notification-content {
    min-width: 0;

    flex: 1;
}

.notification-content strong {
    display: block;

    margin-bottom: 4px;

    font-size: 13px;
    font-weight: 700;

    color: #333333;
}

.notification-content p {
    margin: 0 0 5px;

    font-size: 12px;

    line-height: 1.45;

    color: #666666;
}

.notification-content small {
    display: block;

    font-size: 10px;

    color: #999999;
}


/* =========================================================
   MOBILE — SAME AS ABOUT
========================================================= */




@media (max-width: 1000px) {

    .site-header {
        padding: 10px 14px;
        flex-wrap: wrap;
        gap: 8px;
        min-height: auto;
    }

    .header-logo img {
        width: 145px;
    }

    .profile-button {
        width: 44px;
        height: 44px;
    }

    .notification-button {
        width: 44px;
        height: 44px;
    }

    .main-nav {
        order: 3;

        width: 100%;
        flex-basis: 100%;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        gap: 22px;

        padding: 7px 0 4px;

        overflow-x: auto;

        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        flex-shrink: 0;

        font-size: 13px;

        padding: 7px 0;
    }

    .main-nav a.active::after {
        bottom: 2px;
    }
}




/* =========================================================
   MOBILE NOTIFICATION
========================================================= */

@media (max-width: 768px) {

    .notification-button {

        font-size: 18px;
    }

    .notification-badge {
        top: 2px;
        right: 2px;

        min-width: 16px;
        height: 16px;

        font-size: 9px;
    }

    .notification-dropdown {
        position: fixed;

        top: 76px;

        right: 12px;
        left: 12px;

        width: auto;

        max-width: none;
    }
}


