/**
 * Estilos do Sistema Global de Toasts — Elo do Bem
 * Design System Liquid Glass, Responsivo e Acessível
 */
.elo-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: calc(100vw - 40px);
    width: 380px;
    pointer-events: none;
}

@media (max-width: 600px) {
    .elo-toast-container {
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}

.elo-toast {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--elo-radius-md, 12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #f8fafc;
    font-size: 0.92rem;
    font-weight: 500;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.elo-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.elo-toast.hide {
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
}

/* Ícone */
.elo-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: 900;
    font-size: 0.88rem;
    flex-shrink: 0;
}

/* Variantes de Cores */
.elo-toast-success { border-color: rgba(16, 185, 129, 0.4); }
.elo-toast-success .elo-toast-icon { background: rgba(16, 185, 129, 0.2); color: #34d399; }

.elo-toast-error { border-color: rgba(239, 68, 68, 0.4); }
.elo-toast-error .elo-toast-icon { background: rgba(239, 68, 68, 0.2); color: #f87171; }

.elo-toast-warning { border-color: rgba(245, 158, 11, 0.4); }
.elo-toast-warning .elo-toast-icon { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }

.elo-toast-info { border-color: rgba(56, 189, 248, 0.4); }
.elo-toast-info .elo-toast-icon { background: rgba(56, 189, 248, 0.2); color: #38bdf8; }

.elo-toast-msg {
    flex: 1;
    line-height: 1.4;
}

.elo-toast-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s ease;
}
.elo-toast-close:hover { color: #ffffff; }

/* Barra de Progresso */
.elo-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    animation: eloToastProgress linear forwards;
}

.elo-toast-success .elo-toast-progress { background: #10b981; }
.elo-toast-error .elo-toast-progress { background: #ef4444; }
.elo-toast-warning .elo-toast-progress { background: #f59e0b; }
.elo-toast-info .elo-toast-progress { background: #38bdf8; }

@keyframes eloToastProgress {
    from { width: 100%; }
    to { width: 0%; }
}
