/* ═══════════════════════════════════════════════════════════
   Cartes revendeurs — présentation reprise de 053llmtool.com/resellers.
   Utilisé par revendeurs.html et account.html (composant partagé).
   ═══════════════════════════════════════════════════════════ */
.r53-head { text-align: center; margin: 0 0 40px; }
h1.r53-title,
h2.r53-title,
.r53-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    text-shadow: none !important;
}
.r53-sub {
    color: #94a3b8;
    font-size: 17.6px;
    margin: 0;
}
.r53-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: start;
}
/* Groupes : distributeurs d'abord, revendeurs ensuite. */
.r53-group { grid-column: 1 / -1; }
.r53-group + .r53-group { margin-top: 8px; }
.r53-group-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #181c2e;
}
.r53-group-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: .2px;
}
.r53-group-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(99, 102, 241, .12);
    border: 1px solid rgba(99, 102, 241, .3);
    color: #a5b4fc;
    font-size: 12px;
    font-weight: 700;
}
.r53-card {
    background: #0c0f1a;
    border: 1px solid #181c2e;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}
.r53-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    border: 2px solid rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}
.r53-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.r53-name {
    font-size: 24px;
    font-weight: 700;
    color: #eaedf3;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.r53-name svg { flex-shrink: 0; }
.r53-role {
    color: #10b981;
    font-size: 14px;
    margin: 0 0 4px;
}
.r53-loc {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 16px;
}
.r53-pay {
    color: #64748b;
    font-size: 12px;
    margin: 0 0 16px;
}
.r53-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.r53-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9.6px 19.2px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .15s ease, filter .15s ease;
}
.r53-btn:hover { transform: translateY(-1px); filter: brightness(1.08); color: #fff; }
.r53-btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.r53-btn.wa   { background: linear-gradient(135deg, #25d366, #128c7e); }
.r53-btn.tg   { background: linear-gradient(135deg, #29a9eb, #1d7cbf); }
.r53-btn.web  { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.r53-btn.mail { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* Squelettes pendant le chargement de la liste en direct */
.r53-sk {
    background: #0c0f1a;
    border: 1px solid #181c2e;
    border-radius: 16px;
    padding: 32px;
    min-height: 262px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.r53-sk-box,
.r53-sk-line {
    background: linear-gradient(90deg, #141828 25%, #1c2134 50%, #141828 75%);
    background-size: 200% 100%;
    animation: r53-shimmer 1.4s ease-in-out infinite;
    border-radius: 6px;
}
.r53-sk-box { width: 60px; height: 60px; border-radius: 50%; margin-bottom: 4px; }
.r53-sk-line { height: 14px; width: 65%; }
.r53-sk-line.short { width: 40%; }
@keyframes r53-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 720px) {
    .r53-grid { grid-template-columns: 1fr; gap: 20px; }
    .r53-title { font-size: 30px; }
    .r53-sub { font-size: 15px; }
    .r53-card { padding: 24px; }
}
