/* ==========================================================================
   AUTH CARDS (Connexion, Inscription, Profil)
   ========================================================================== */
.auth-card {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 20px;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.auth-input {
    background-color: var(--bg-main) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.auth-input:focus {
    border-color: var(--gacha) !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    outline: none;
}

.auth-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

/* ==========================================================================
   BOUTONS & LIENS
   ========================================================================== */
.auth-btn {
    background-color: var(--gacha) !important;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
    opacity: 0.9;
}

/* Bouton Spécifique Danger (Rouge Néon) */
.auth-btn-danger {
    background-color: #ff3535 !important;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(255, 53, 53, 0.2);
}

.auth-btn-danger:hover {
    background-color: #ff3535 !important;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 53, 53, 0.6); /* Effet néon rouge */
    color: white !important;
}

.auth-link {
    color: var(--gacha) !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.auth-link:hover {
    color: #7c3aed !important;
    text-decoration: underline;
}

/* ==========================================================================
   ALERTES
   ========================================================================== */
.auth-alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-radius: 10px;
}

.auth-alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border-radius: 10px;
}

/* ==========================================================================
   PROFIL & ONGLETS (TABS)
   ========================================================================== */
.profile-tab-btn {
    color: var(--text-secondary) !important;
    background-color: transparent !important;
    border: 1px solid var(--border-color) !important;
    transition: all 0.3s ease;
}

.profile-tab-btn.active {
    background-color: var(--gacha) !important;
    color: white !important;
    border-color: var(--gacha) !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.profile-avatar-img {
    width: 120px;
    height: 120px;
    border: 3px solid var(--gacha);
    transition: transform 0.3s ease;
}

.avatar-edit-badge {
    width: 35px;
    height: 35px;
    cursor: pointer;
    background-color: var(--gacha) !important;
    border: 2px solid var(--bg-card);
    color: white;
    transition: transform 0.2s ease;
}

.avatar-edit-badge:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   PORTEFEUILLE (WALLET)
   ========================================================================== */
.wallet-stat-card {
    border: 1px solid transparent;
    transition: transform 0.3s ease;
}

.wallet-stat-card:hover {
    transform: translateY(-5px);
}

.stat-coins {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
}

.stat-tickets {
    background-color: rgba(13, 202, 240, 0.1);
    border-color: rgba(13, 202, 240, 0.3);
}

.icon-coins { color: #ffc107; }
.icon-tickets { color: #0dcaf0; }

/* ==========================================================================
   DIVERS SEPARATEURS
   ========================================================================== */
.auth-divider {
    border-color: var(--border-color);
    opacity: 1;
}

.auth-divider-bottom {
    border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   TABLEAUX (DARK MODE)
   ========================================================================== */

.table-dark {
    --bs-table-bg: transparent !important;
    background-color: transparent !important;
}

.table-dark thead th {
    border-bottom: 1px solid var(--border-color) !important;
    color: var(--text-secondary);
}

.table-dark tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: var(--text-primary);
}

.x-small {
    font-size: 0.75rem;
}