/* Mizban Header Styles */

.mz-header {
    background-color: var(--mz-bg);
    width: 100%;
    z-index: 1000;
}

/* Level 1: Top Bar */
.mz-header-top {
    background-color: transparent;
    padding: 10px 0;
    border-bottom: 1px solid var(--mz-border-light);
}

.mz-header-top-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mz-header-links {
    display: flex;
    gap: 20px;
}

.mz-header-links a {
    font-size: var(--mz-fs-sm);
    color: var(--mz-text-light);
}

.mz-header-links a:hover {
    color: var(--mz-primary);
}

.mz-header-trust {
    font-size: var(--mz-fs-xs);
    color: var(--mz-text-muted);
    opacity: 0.8;
}

/* Level 2: Main Nav */
.mz-header-main {
    background-color: transparent;
    padding: 0px 0;
}

.mz-header-main-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mz-header-logo img {
    height: 40px;
    width: auto;
}

/* Services Menu Box */
.mz-header-nav {
    background: var(--mz-white);
    padding: 5px 15px;
    border-radius: var(--mz-radius-md);
    margin: 0 30px;
    flex-grow: 1;
    max-width: 700px;
    box-shadow: var(--mz-shadow-sm);
}

.mz-header-menu {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mz-header-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--mz-text-main);
    font-weight: 500;
    transition: var(--mz-transition);
}

.mz-header-menu li a:hover {
    color: var(--mz-primary);
}

.mz-header-icon {
    color: var(--mz-text-main);
    stroke-width: 1.8;
}

/* Auth & Affiliate */
.mz-header-auth {
    display: flex;
    align-items: center;
    gap: 25px;
}

.mz-header-affiliate {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mz-header-affiliate img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

/* Auth button specific tweaks if needed */
.mz-btn-login {
    padding: 8px 25px !important;
}

.mz-btn-register {
    padding: 8px 25px !important;
    color: var(--mz-text-light);
}

/* Level 3: Stats Bar */
.mz-header-stats-bar {
    padding: 10px 0 10px 0;
}

.mz-header-stats {
    background: var(--mz-white);
    padding: 15px;
    border-radius: var(--mz-radius-lg);
    text-align: center;
    border: 1px solid var(--mz-border-light);
    font-size: var(--mz-fs-md);
}

/* Mobile Toggle */
.mz-header-toggle {
    display: none;
    cursor: pointer;
    color: var(--mz-text-dark);
    z-index: 1001;
}

/* Mobile Menu Styles */
.mz-header-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--mz-white);
    z-index: 1000;
    transition: var(--mz-transition);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    padding: 80px 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-y: auto;
}

.mz-header-mobile.mz-active {
    right: 0;
}

.mz-header-mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mz-header-mobile-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--mz-text-dark);
    font-family: var(--mz-font-bold);
    font-weight: 700;
    border-radius: var(--mz-radius-md);
    background: var(--mz-bg);
    transition: 0.2s;
}

.mz-header-mobile-list li a:hover {
    background: #f0f0f0;
    color: var(--mz-primary);
}

.mz-header-mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.mz-header-mobile-auth .mz-btn {
    width: 100%;
}

.mz-header-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.mz-header-overlay.mz-active {
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .mz-header-nav {
        display: none;
    }
    .mz-header-links, .mz-header-auth {
        display: none;
    }
    .mz-header-toggle {
        display: block;
    }
    .mz-header-main-wrapper {
        justify-content: space-between;
    }
    .mz-header-top {
        display: none;
    }
    .mz-header-stats-bar {
        padding: 10px 0;
    }
    .mz-header-stats {
        font-size: 13px;
        padding: 10px;
    }
}
