/* =====================================================================
   09-toasts.css
   Notificaciones tipo "toast" de la tienda.
   Origen: css/styles.css (líneas 793–860). El orden de carga importa: ver index.html.
   ===================================================================== */

.toast-container-custom {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 340px;
}

.toast-custom {
    background: #ffffff;
    color: #222;
    border-left: 5px solid #ffc107;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    padding: 12px 16px;
    font-size: 14px;
    min-width: 280px;
    max-width: 340px;
    animation: toastEntrada 0.3s ease forwards;
    position: relative;
}

.toast-custom.toast-success {
    border-left-color: #198754;
}

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

.toast-custom.toast-danger {
    border-left-color: #dc3545;
}

.toast-custom-title {
    font-weight: 600;
    margin-bottom: 3px;
}

.toast-custom-message {
    line-height: 1.35;
}

.toast-custom-close {
    position: absolute;
    top: 6px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #777;
}

@keyframes toastEntrada {
    from {
        opacity: 0;
        transform: translateX(25px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
