.container {
    margin: 0 auto;
}

.logoutBtn-in-drop-header {
    width: 100%;
    background-color: #EC2D30E5;
    color: $white;
    border-radius: 9px;
    padding: 0 5px;
    height: 56px;
    @include flexCenter;
    font-size: 16px;
    font-weight: 400;
    transition: background-color 0.2s ease-in-out;
}

.logoutBtn-in-drop-header:hover {
    background-color: #b91c1c;
    /* red-700 */
}

.header-dropdown-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 40;
}

.header-dropdown-content {
    z-index: 50 !important;
}

.header {
    border-bottom: 1px solid #D2D6DB;

    .topBar {
        background-color: #F3F4F6;
        padding: 6px 0;

        .topBarInner {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .govFlag {
            width: 20px;
            height: 20px;
            object-fit: contain;
        }

        .govText {
            color: #161616;
            font-size: 14px;
            font-style: normal;
            font-weight: 500;
            line-height: 20px;
        }

    }

    .navInner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;

        .logo {
            height: 70px;
            object-fit: contain;
            width: auto;
        }
    }

    .navMenu {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;

        @media screen and (max-width:1200px) {
            display: none;
        }

        .navItem {
            font-size: 16px;
            font-weight: 500;
            color: #161616;
            text-wrap: nowrap;
        }

        .navItem:hover {
            color: #161616;
        }

        .navItem.active-link {
            color: #161616;
            min-width: 122px;
            padding: 0 10px;
            height: 72px;
            background-color: $main;
            display: flex;
            align-items: center;
            justify-content: center;
            color: $white;
            border-radius: 4px;
            transition: all 0.3s ease-in-out;
            position: relative;
            font-weight: 600;

            &::after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                width: calc(100% - 16px);
                transform: translateX(8px);
                height: 6px;
                background-color: #54C08A;
                border-radius: 4px;
            }
        }
    }

    .navActions {
        display: flex;
        align-items: center;
        gap: 15px;
        flex-shrink: 0;

        @media screen and (max-width:767px) {
            padding: 10px 0;
        }

        img {
            width: 21px;
            height: auto;
            object-fit: contain;

            @media screen and (max-width:767px) {
                width: 30px;
                height: 30px;
                object-fit: contain;
            }
        }


        .langBtn,
        .loginBtn,
        .profileBtn {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 16px;
            font-weight: 500;
            color: #161616;
        }

        .profileBtn {
            padding: 10px 15px;
            border: 1px solid $main;
            border-radius: 9px;

            @media screen and (max-width:767px) {
                padding: 0;
                border: none;
            }

            .profileIcon {
                width: 40px;
                height: 40px;
                object-fit: cover;
                border-radius: 50%;
            }

            .cheveronIcon {
                width: 17px;
                height: auto;

                @media screen and (max-width:767px) {
                    display: none;
                }
            }
        }

        .username,
        .langText {
            @media screen and (max-width:767px) {
                display: none;
            }
        }

        .notification-cont {
            width: 65px;
            height: 65px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background-color: rgba(27, 131, 84, 0.05);
            position: relative;

            &::after {
                content: "";
                position: absolute;
                top: 4px;
                inset-inline-start: 4px;
                width: 13px;
                height: 13px;
                border-radius: 50%;
                background-color: rgba(236, 45, 48, 1);
            }

            @media screen and (max-width:767px) {
                width: 40px;
                height: 40px;
            }

            img {
                width: 28px;
                height: 28px;
                object-fit: contain;

                @media screen and (max-width:767px) {
                    width: 20px;
                    height: 20px;
                }
            }
        }
    }

    .barsIcon {
        width: 25px;
        height: auto;
        object-fit: contain;
    }

    .mob-menue {
        display: none;

        @media screen and (max-width:1200px) {
            display: block;
        }
    }

    // Mobile drawer menu (skfed.sa-like)
    .mobile-drawer {
        position: fixed;
        inset: 0;
        z-index: 99999;
        background: rgba(0, 0, 0, 0.35);
        display: flex;
        justify-content: flex-end;
        padding: 0;
    }

    .mobile-drawer-panel {
        width: min(420px, 100%);
        height: 100%;
        background: $main;
        color: $white;
        display: flex;
        flex-direction: column;
        padding: 18px 16px;
        overflow: auto;
    }

    .mobile-drawer-header {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 10px;
    }

    .mobile-drawer-close {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        color: $white;
        font-size: 26px;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-drawer-list {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding-top: 8px;
    }

    .mobile-drawer-item {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 16px 14px;
        border-radius: 12px;
        color: $white;
        font-size: 22px;
        font-weight: 700;
        background: rgba(0, 0, 0, 0.10);
    }

    .mobile-drawer-text {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-drawer-chevron {
        transition: transform 0.2s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        opacity: 0.95;

        &.open {
            transform: rotate(180deg);
        }
    }

    .mobile-accordion-content {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 6px 6px 12px;
    }

    .mobile-subitem {
        width: 100%;
        padding: 14px 14px;
        border-radius: 12px;
        color: $white;
        font-size: 18px;
        font-weight: 600;
        background: rgba(255, 255, 255, 0.10);
    }

    .mobile-link {
        text-decoration: none;
    }

    .user-dropdown {
        a {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 10px;
            text-align: center;
        }
    }
}