/* toast.css */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.custom-toast {
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    min-width: 320px;
    max-width: 400px;
    pointer-events: auto;
    
    /* Animation states */
    opacity: 0;
    transform: translateX(100%) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-toast.show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.custom-toast.hide {
    opacity: 0;
    transform: translateX(100%) scale(0.9);
    transition: all 0.3s ease-in;
}

/* Identificadores de Cores por Tipo */
.custom-toast.success .toast-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}
.custom-toast.success { border-left: 4px solid #22c55e; }

.custom-toast.error .toast-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}
.custom-toast.error { border-left: 4px solid #ef4444; }

.custom-toast.info .toast-icon {
    background: rgba(255, 153, 0, 0.15);
    color: var(--primary, #f97316);
    box-shadow: 0 0 15px rgba(255, 153, 0, 0.2);
}
.custom-toast.info { border-left: 4px solid var(--primary, #f97316); }

/* Ícone */
.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.toast-icon svg {
    width: 18px;
    height: 18px;
}

/* Conteúdo */
.toast-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.toast-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin-bottom: 2px;
}

.toast-message {
    color: #e2e8f0;
    line-height: 1.4;
}

/* Fechar */
.toast-close {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 6px;
    transition: all 0.2s;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
