/* Premium Header Styles */

.site-header-shell {
    padding: 12px 24px 0;
    position: relative;
    z-index: 1000;
}

.site-header-shell .header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
    float: none !important;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header-shell .header.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.08);
    border-color: #e2e8f0;
}

.site-header-shell .main-header {
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 0 8px 0 20px;
    gap: 0;
}

.site-header-shell .header-left {
    flex-shrink: 0;
    margin-right: auto;
}

.site-header-shell .header-logo img {
    max-height: 34px;
    width: auto;
    transition: transform 0.2s ease;
}

.site-header-shell .header-logo:hover img {
    transform: scale(1.05);
}

.site-header-shell .header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.site-header-shell .nav-main-menu {
    display: flex;
    width: auto;
}

.site-header-shell .main-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.site-header-shell .main-menu > li {
    display: flex;
    align-items: center;
    float: none;
    padding: 0;
}

.site-header-shell .main-menu > li > a {
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
    line-height: 1.4;
    display: flex;
    align-items: center;
    float: none;
}

.site-header-shell .main-menu > li > a:hover {
    color: #5558e8;
    background: #f0f0ff;
}

.site-header-shell .main-menu > li > a.active {
    color: #5558e8;
    background: #f0f0ff;
}

.site-header-shell .header-right {
    flex-shrink: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header-shell .block-signin {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header-shell .text-link-bd-btom {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    padding: 9px 18px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.site-header-shell .text-link-bd-btom:hover {
    color: #5558e8;
    border-color: #c7d2fe;
    background: #f8f7ff;
}

.site-header-shell .btn-shadow {
    background: #5558e8;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 24px;
    box-shadow: 0 2px 8px rgba(85,88,232,0.25);
    transition: all 0.2s ease;
    text-decoration: none;
}

.site-header-shell .btn-shadow:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(85,88,232,0.35);
    color: #fff;
}

.site-header-shell .burger-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.site-header-shell .burger-icon:hover {
    background: #f1f5f9;
}

.site-header-shell .burger-icon span {
    display: block;
    width: 22px;
    height: 2px;
    background: #334155;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* User dropdown */
.site-header-shell .user-header-dropdown > li > a {
    gap: 8px;
    padding: 6px 12px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.site-header-shell .user-header-dropdown > li > a:hover {
    background: #f1f5f9;
}

.site-header-shell .user-header-dropdown .dropdown-menu {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
    padding: 8px;
    margin-top: 12px;
    min-width: 220px;
}

.site-header-shell .user-header-dropdown .dropdown-item {
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s ease;
    margin: 2px 0;
}

.site-header-shell .user-header-dropdown .dropdown-item:hover {
    background: #f0f0ff;
    color: #5558e8;
}

/* Sticky bar override */
.sticky-bar.stick {
    position: fixed !important;
    top: 12px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.96) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.08) !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0 !important;
    z-index: 1001 !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .site-header-shell .main-menu > li > a {
        padding: 8px 12px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .site-header-shell .header-nav {
        display: none;
    }

    .site-header-shell .burger-icon {
        display: flex;
    }

    .site-header-shell .text-link-bd-btom {
        display: none;
    }
}
