﻿.btn-login {
    background: #212529;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    margin: 5px;
}

.btn-register {
    color: #6c757d;
    text-decoration: none;
    margin: 5px;
    text-decoration: none;
    white-space: nowrap;
}

.btn-logout {
    background: none;
    border: 1px solid #ff4d4d; /* Красный контур */
    color: #ff4d4d;
    padding: 6px 15px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    justify-content:center;
}

    .btn-logout:hover {
        background-color: #ff4d4d;
        color: white !important;
        box-shadow: 0 4px 12px rgba(255, 77, 77, 0.3);
    }

.user-profile-card {
    display: flex;
    align-items: center;
    /* background: rgba(255, 255, 255, 0.05); /* Легкий фон */
    padding: 5px 15px 5px 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background-color: transparent;
}

    .user-profile-card:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: #00d2ff;
    }

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: white; /* Поменяй на white, если темная тема */
}

.user-stats {
    font-size: 11px;
    display: flex;
    gap: 4px;
}

.xp-label {
    color: #6c757d;
}

.xp-value {
    color: #2575fc;
    font-weight: bold;
}
