/* =========================================
   HUB DE CONNEXION
   ========================================= */
.login-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
}

.login-hub-card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--nav-border);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}

.hub-header {
    text-align: center;
    margin-bottom: 40px;
}

.hub-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.hub-header p {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* LISTE DES COMPTES */
.providers-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.provider-item {
    background: rgba(30, 32, 45, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s;
}

.provider-item:hover:not(.disabled) {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* Style spécifique Discord */
.provider-item.discord {
    border-color: rgba(88, 101, 242, 0.3);
    background: rgba(88, 101, 242, 0.05);
}
.provider-item.discord:hover {
    border-color: var(--discord-blue);
    background: rgba(88, 101, 242, 0.15);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.2);
}

.provider-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.provider-info i { font-size: 2.5rem; }
.provider-item.discord i { color: var(--discord-blue); }
.provider-item.disabled i { color: var(--text-muted); opacity: 0.5; }

.provider-info h3 { margin: 0 0 5px 0; font-size: 1.2rem; font-weight: 800; }
.provider-info span { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; }

/* Boutons de connexion */
.btn-connect {
    padding: 12px 24px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.discord-btn { background: var(--discord-blue); color: white; }
.discord-btn:hover { background: #4752C4; box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4); }

.provider-item.disabled .btn-connect {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    cursor: not-allowed;
}

.provider-item.disabled .provider-info h3,
.provider-item.disabled .provider-info span {
    color: var(--text-muted);
    opacity: 0.5;
}

/* Loader */
.loading-msg {
    display: none; text-align: center; color: var(--primary-blue);
    font-weight: 800; margin-top: 30px; font-size: 1.1rem;
}

@media (max-width: 650px) {
    .provider-item { flex-direction: column; text-align: center; gap: 20px; }
    .provider-info { flex-direction: column; gap: 10px; }
    .btn-connect { width: 100%; }
}