/**
 * Estilos para Notificações Toast - Aurora
 */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 16px;
    min-width: 320px;
    max-width: 400px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    pointer-events: auto;
    border-left: 4px solid #667eea;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-visible {
    opacity: 1;
    transform: translateX(0);
}

.toast-entering {
    opacity: 0;
    transform: translateX(400px);
}

.toast-exiting {
    opacity: 0;
    transform: translateX(400px);
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #333;
}

.toast-message {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #999;
    font-size: 14px;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #333;
}

/* Tipos de Toast */
.toast-success {
    border-left-color: #4caf50;
}

.toast-success .toast-icon {
    color: #4caf50;
}

.toast-error {
    border-left-color: #f44336;
}

.toast-error .toast-icon {
    color: #f44336;
}

.toast-warning {
    border-left-color: #ff9800;
}

.toast-warning .toast-icon {
    color: #ff9800;
}

.toast-info {
    border-left-color: #2196f3;
}

.toast-info .toast-icon {
    color: #2196f3;
}

/* Responsivo */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
    }
}

/* Animação de pulso para sucesso */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.toast-success.toast-visible {
    animation: pulse 0.5s ease-in-out;
}