/**
 * Estilos do Modal "Minhas Doações" & Indicação WhatsApp — Elo do Bem
 * Design System UI/UX Pro Max
 */
.elo-modal-my-donations {
    max-width: 520px;
}

.elo-my-donations-search-bar {
    margin-bottom: 18px;
    background: rgba(15, 23, 42, 0.5);
    padding: 14px;
    border-radius: var(--elo-radius-md);
    border: 1px solid var(--elo-glass-border);
}

.elo-phone-search-row {
    display: flex;
    gap: 8px;
}
.elo-phone-search-row .elo-input {
    flex: 1;
}
.elo-btn-refresh {
    background: rgba(255, 255, 255, 0.1);
    color: var(--elo-gold);
    font-size: 1.2rem;
    font-weight: 800;
    padding: 0 14px;
    border-radius: var(--elo-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--elo-transition);
}
.elo-btn-refresh:hover {
    background: rgba(245, 158, 11, 0.2);
    transform: rotate(90deg);
}

/* Banner de Métricas do Doador */
.elo-my-stats-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(245, 158, 11, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--elo-radius-md);
    padding: 12px;
    margin-bottom: 16px;
    text-align: center;
}
.elo-my-stat-item {
    display: flex;
    flex-direction: column;
}
.elo-my-stat-lbl {
    font-size: 0.7rem;
    color: var(--elo-text-muted);
}
.elo-my-stat-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: #f8fafc;
}
#eloMyTotalAmount { color: #34d399; }

/* Banner de Indicação WhatsApp */
.elo-referral-banner {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(37, 211, 102, 0.35);
    border-radius: var(--elo-radius-md);
    padding: 14px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.elo-referral-text strong {
    color: #25d366;
    font-size: 0.88rem;
    display: block;
    margin-bottom: 2px;
}
.elo-referral-text p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--elo-text-muted);
}
.elo-btn-share-wpp {
    background: #25d366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--elo-radius-sm);
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--elo-transition);
}
.elo-btn-share-wpp svg { width: 18px; height: 18px; }
.elo-btn-share-wpp:hover { background: #22bf5b; transform: scale(1.02); }

.elo-my-list-heading h4 {
    font-size: 0.85rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: var(--elo-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Cards das Doações */
.elo-my-donations-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 240px;
    overflow-y: auto;
}
.elo-my-donation-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--elo-radius-sm);
    padding: 10px 12px;
}
.elo-my-card-main {
    display: flex;
    flex-direction: column;
}
.elo-my-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 2px 0;
    color: #f8fafc;
}
.elo-my-card-date {
    font-size: 0.72rem;
    color: var(--elo-text-muted);
}
.elo-my-card-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.elo-my-card-badge {
    font-size: 0.85rem;
    font-weight: 800;
    color: #34d399;
}

.elo-my-donations-empty, .elo-my-donations-loading {
    text-align: center;
    padding: 24px 10px;
    color: var(--elo-text-muted);
    font-size: 0.85rem;
}
.elo-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #10b981;
    border-radius: 50%;
    animation: eloSpin 0.8s linear infinite;
    margin: 0 auto 10px auto;
}
@keyframes eloSpin { to { transform: rotate(360deg); } }
