/* Header styles moved to /css as requested */

.main-header.header-style-one {
    position: sticky;
    top: 0;
    z-index: 1040;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    background: linear-gradient(180deg, #f7fbff 0%, #edf3fb 100%);
    backdrop-filter: blur(14px);
}

body.app-ui.app-has-shell .app-shell {
    height: calc(100vh - 4.35rem) !important;
}

body.app-ui.app-has-shell .app-shell-main {
    height: 100%;
}

body.app-ui.app-has-shell .app-main {
    height: auto !important;
    min-height: 0;
    flex: 1 1 auto;
}

.main-header .auto-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.main-header .main-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.35rem;
}

.main-header .logo img {
    width: auto;
    height: 2.45rem;
    object-fit: contain;
}

.main-header .nav-outer {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}

.main-header .main-menu .navbar-toggler {
    border: 1px solid rgba(148, 163, 184, 0.38);
    background: rgba(148, 163, 184, 0.16);
    color: #1f2b3a;
}

.main-header .navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-header .navigation > li {
    position: relative;
}

.main-header .navigation > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    color: #1f2b3a;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
}

.main-header .navigation > li.current > a,
.main-header .navigation > li > a:hover,
.main-header .navigation > li > a:focus {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.main-header .navigation li ul {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    min-width: 14rem;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 0.75rem;
    background: #f8fbff;
    box-shadow: 0 10px 26px rgba(35, 49, 64, 0.1);
}

.main-header .navigation li ul li a {
    display: block;
    padding: 0.45rem 0.6rem;
    border-radius: 0.55rem;
    color: #1f2b3a;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
}

.main-header .navigation li ul li a:hover,
.main-header .navigation li ul li a:focus {
    background: #e8f1ff;
}

.main-header .navigation li.dropdown:hover > ul,
.main-header .navigation li.dropdown:focus-within > ul {
    display: block;
}

@media (max-width: 767.98px) {
    .main-header .main-box {
        min-height: 3.8rem;
    }

    .main-header .main-menu {
        width: 100%;
    }

    .main-header .main-menu .navbar-collapse {
        margin-top: 0.55rem;
        padding: 0.55rem;
        border-radius: 0.8rem;
        border: 1px solid rgba(148, 163, 184, 0.28);
        background: rgba(255, 255, 255, 0.94);
    }

    .main-header .navigation {
        flex-direction: column;
        align-items: stretch;
    }

    .main-header .navigation > li > a {
        width: 100%;
        border-radius: 0.65rem;
    }

    .main-header .navigation li ul {
        position: static;
        display: block;
        min-width: 0;
        margin-top: 0.35rem;
        box-shadow: none;
        background: rgba(236, 244, 255, 0.65);
    }
}
