/* ==================== */
/*  AUTHENTICATION UI   */
/* ==================== */

.auth-header {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.auth-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s;
}

.user-info:hover {
    opacity: 0.8;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #667eea;
}

.user-name {
    font-weight: 600;
    color: #333;
}

.btn-logout,
.btn-login {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-logout {
    background: #f44336;
    color: white;
}

.btn-logout:hover {
    background: #d32f2f;
}

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-login:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8a 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .auth-header {
        top: 15px;
        left: 15px;
        right: 15px;
    }

    .user-avatar {
        width: 35px;
        height: 35px;
    }

    .user-name {
        font-size: 14px;
    }

    .btn-logout,
    .btn-login {
        padding: 6px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .auth-header {
        top: 10px;
        left: 10px;
        right: 10px;
    }

    .user-info {
        gap: 8px;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
    }

    .user-name {
        display: none;
    }
}
