/* =========================================
   FOXBET
   SPORTSBOOK HEADER
========================================= */

.top-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    height: var(--header-height);

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0 14px;

    background:
        var(--header);

    border-bottom:
        1px solid var(--border);

    box-shadow:
        0 2px 8px
        rgba(0, 0, 0, 0.22);
}

/* =========================================
   LOGO
========================================= */

.logo-area {

    display: flex;

    align-items: center;

    gap: 8px;

    height: 100%;

    color: #ffffff;

    font-size: 20px;

    font-weight: 800;

    letter-spacing: -0.5px;

    white-space: nowrap;
}

.logo-area > span > span {

    color:
        var(--green);
}

/* =========================================
   LOGO MARK
========================================= */

.logo-mark {

    width: 31px;
    height: 31px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        var(--green);

    color:
        #061522;

    border-radius:
        5px;

    font-size: 18px;

    font-weight: 900;

    box-shadow:
        0 3px 8px
        rgba(53, 199, 89, 0.18);
}

/* =========================================
   HEADER ACTIONS
========================================= */

.header-actions {

    display: flex;

    align-items: center;

    gap: 8px;
}

/* =========================================
   ICON BUTTON
========================================= */

.icon-btn {

    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        transparent;

    color:
        var(--text-secondary);

    border:
        1px solid transparent;

    border-radius:
        var(--radius);

    cursor: pointer;

    font-size: 17px;

    transition:
        background 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
}

.icon-btn:hover {

    background:
        var(--card);

    border-color:
        var(--border);

    color:
        #ffffff;
}

.icon-btn:active {

    transform:
        translateY(1px);
}

/* =========================================
   LOGIN BUTTON
========================================= */

.login-btn {

    min-width: 68px;

    height: 32px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        0 12px;

    background:
        var(--green);

    color:
        #061522;

    border-radius:
        4px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.4px;

    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

.login-btn:hover {

    background:
        var(--green-light);
}

.login-btn:active {

    transform:
        translateY(1px);
}

/* =========================================
   HEADER USER AREA
========================================= */

.header-user {

    display: none;

    align-items: center;

    gap: 8px;

    min-width: 0;
}

.header-user-avatar {

    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 30px;

    background:
        var(--card-light);

    border:
        1px solid var(--border-light);

    border-radius:
        50%;

    color:
        var(--green);

    font-size: 13px;

    font-weight: 800;
}

.header-user-info {

    min-width: 0;

    display: flex;

    flex-direction: column;
}

.header-user-info strong {

    max-width: 110px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color:
        #ffffff;

    font-size: 12px;
}

.header-user-info small {

    color:
        var(--text-muted);

    font-size: 10px;
}

/* =========================================
   DESKTOP HEADER
========================================= */

@media (min-width: 768px) {

    .top-header {

        padding:
            0 22px;
    }

    .logo-area {

        font-size: 21px;
    }

    .logo-mark {

        width: 33px;
        height: 33px;

        font-size: 19px;
    }

    .header-actions {

        gap: 10px;
    }

}

/* =========================================
   MOBILE HEADER
========================================= */

@media (max-width: 480px) {

    .top-header {

        height: 52px;

        padding:
            0 9px;
    }

    .logo-area {

        gap: 6px;

        font-size: 18px;
    }

    .logo-mark {

        width: 29px;
        height: 29px;

        font-size: 17px;
    }

    .icon-btn {

        width: 33px;
        height: 33px;

        font-size: 16px;
    }

    .login-btn {

        min-width: 61px;

        height: 30px;

        padding:
            0 9px;

        font-size: 10px;
    }

}

/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .top-header {

        padding:
            0 7px;
    }

    .logo-area {

        font-size: 17px;
    }

    .header-actions {

        gap: 4px;
    }

    .icon-btn {

        width: 30px;
        height: 30px;
    }

    .login-btn {

        min-width: 56px;

        padding:
            0 7px;
    }

}