/* =========================================================
   Iran IP List
   Global Navigation Bar
   ========================================================= */

.site-header {
    position: relative;
    z-index: 100;
    width: 100%;
}

.site-header .container.nav {
    max-width: 1420px;
    margin: 0 auto;
    min-height: 76px;
    padding: 0 28px;

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

    background: rgba(5, 16, 30, 0.72);
    border: 1px solid rgba(120, 190, 220, 0.10);
    border-top: 0;

    box-sizing: border-box;
}

.site-header .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;

    color: #eaf4ff;
    text-decoration: none;
    white-space: nowrap;
}

.site-header .brand-mark {
    width: 42px;
    height: 42px;

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

    border: 1px solid rgba(120, 210, 240, 0.28);
    border-radius: 10px;

    background: rgba(20, 65, 90, 0.35);

    color: #eaf7ff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .5px;
    box-sizing: border-box;
}

.site-header .brand-name {
    color: #eaf4ff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .2px;
}

.site-header .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    flex: 1 1 auto;
    min-width: 0;
}

.site-header .main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 11px;

    color: #b9cce0;
    text-decoration: none;
    white-space: nowrap;

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

    border: 1px solid transparent;
    border-radius: 8px;

    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease;
}

.site-header .main-nav a:hover {
    color: #eef8ff;
    background: rgba(80, 170, 210, 0.09);
    border-color: rgba(100, 190, 220, 0.12);
}

.site-header .nav-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;

    flex: 0 0 auto;
}

.site-header .nav-icon {
    width: 34px;
    height: 34px;

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

    color: #b9cce0;
    text-decoration: none;

    border: 1px solid rgba(120, 190, 220, 0.14);
    border-radius: 8px;

    background: rgba(15, 35, 52, 0.55);

    font-size: 13px;
    font-weight: 700;
    box-sizing: border-box;
}

.site-header .nav-icon:hover {
    color: #eef8ff;
    border-color: rgba(100, 190, 220, 0.30);
    background: rgba(30, 70, 90, 0.55);
}

.site-header .status {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #9db3c8;
    font-size: 13px;
    white-space: nowrap;
}

.site-header .nav-live-dot {
    width: 7px;
    height: 7px;

    display: inline-block;

    border-radius: 50%;
    background: #69d69a;
    box-shadow: 0 0 10px rgba(105, 214, 154, .55);
}

@media (max-width: 1100px) {
    .site-header .container.nav {
        padding: 0 18px;
        gap: 12px;
    }

    .site-header .main-nav {
        gap: 2px;
    }

    .site-header .main-nav a {
        padding: 8px 7px;
        font-size: 13px;
    }

    .site-header .brand-name {
        display: none;
    }
}

@media (max-width: 820px) {
    .site-header .container.nav {
        min-height: auto;
        padding: 14px 16px;
        flex-wrap: wrap;
    }

    .site-header .main-nav {
        order: 3;
        flex: 1 0 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .site-header .nav-meta {
        margin-left: auto;
    }
}
