/* ==========================================
   SISTEMA DE NOTIFICACIONES - CRISOL CELUS
   ========================================== */

/* Contenedor del fondo oscuro */
.toast-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.toast-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Caja de la alerta */
.toast-box {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 25px 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-overlay.active .toast-box {
    transform: translateY(0) scale(1);
}

/* Icono animado */
.toast-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}
.toast-icon.success { color: #3DDC84; }
.toast-icon.error { color: #ff5252; }
.toast-icon.warning { color: #f59e0b; }

/* Textos */
.toast-title {
    color: #fff;
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.toast-message {
    color: #aaa;
    font-size: 0.95rem;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

/* Botón de Aceptar */
.toast-btn {
    background: #3DDC84;
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
}
.toast-btn:hover {
    background: #2ebd6f;
    box-shadow: 0 5px 15px rgba(61, 220, 132, 0.4);
}

/* Botones dobles (para confirmar eliminaciones) */
.toast-actions {
    display: flex;
    gap: 10px;
}
.toast-actions .toast-btn {
    flex: 1;
}
.toast-btn.cancel {
    background: transparent;
    border: 1px solid #555;
    color: #fff;
}
.toast-btn.cancel:hover {
    background: #333;
    box-shadow: none;
}
.toast-btn.danger {
    background: transparent;
    border: 1px solid #ff5252;
    color: #ff5252;
}
.toast-btn.danger:hover {
    background: #ff5252;
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 82, 82, 0.4);
}