/**
 * Estilos para Toast Notifications
 * Complemento para toast-notifications.js
 */
/* ========== CONTENEDOR DE TOASTS ========== */
#toast-container {
    z-index: 9999 !important;
    pointer-events: none; /* Permitir clicks a través del contenedor */
}
#toast-container .toast {
    pointer-events: auto; /* Pero los toasts sí son clickeables */
    min-width: 400px;
    max-width: 500px;
    margin-bottom: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    overflow: hidden;
}
/* ========== ANIMACIONES ========== */
/* Deshabilitadas para evitar conflictos con Bootstrap Toast nativo */
/* Bootstrap maneja sus propias animaciones de fade in/out */

/* Si deseas animaciones personalizadas, descomenta y ajusta:
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#toast-container .toast.showing {
    animation: slideInRight 0.3s ease-out;
}
*/
/* ========== ESTILOS DEL TOAST ========== */
.toast-icon {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}
.toast-body {
    background-color: #fff;
    color: #333;
    font-size: 0.813rem;
    line-height: 1.3;
}
.toast-body strong {
    font-weight: 600;
    color: #000;
}
/* ========== BOTÓN DE CIERRE ========== */
.toast .btn-close {
    background-color: transparent;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.toast .btn-close:hover {
    opacity: 1;
}
/* ========== HOVER EFFECTS ========== */
.toast {
    transition: transform 0.2s, box-shadow 0.2s;
}
.toast:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.2);
}
/* ========== RESPONSIVE ========== */
@media (max-width: 576px) {
    #toast-container {
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        padding: 0.5rem !important;
    }
    
    #toast-container .toast {
        min-width: auto;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}
/* ========== DARK MODE (OPCIONAL) ========== */
@media (prefers-color-scheme: dark) {
    .toast-body {
        background-color: #2d2d2d;
        color: #e0e0e0;
    }
    
    .toast-body strong {
        color: #fff;
    }
    
    .toast {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
    }
}
/* ========== VARIANTES DE PROGRESO (OPCIONAL) ========== */
/* Barra de progreso para toasts con duración */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.7);
    animation: progress linear;
}
@keyframes progress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}
/* ========== ESTILOS PARA MODAL DE CONFIRMACIÓN ========== */
.modal-content {
    border-radius: 0.75rem;
    border: none;
}
.modal-header {
    padding: 1.5rem;
}
.modal-body {
    padding: 1.5rem;
    font-size: 1rem;
    color: #555;
}
.modal-footer {
    padding: 1rem 1.5rem;
}
/* Iconos en títulos de modal */
.modal-title i {
    font-size: 1.5rem;
    vertical-align: middle;
}