.notif-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
}

.notif-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: white;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    border-left: 5px solid #EE880E;
    font-family: Arial, sans-serif;
    font-size: 15px;
    color: #222;
    animation: notif-in 0.25s ease;
}

.notif-toast.saliendo {
    animation: notif-out 0.2s ease forwards;
}

.notif-toast i {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.notif-toast .notif-msg {
    flex: 1;
    line-height: 1.35;
}

.notif-toast .notif-cerrar {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #999;
    line-height: 1;
    padding: 0;
}

.notif-exito {
    border-left-color: #16a34a;
}

.notif-exito i {
    color: #16a34a;
}

.notif-error {
    border-left-color: #dc2626;
}

.notif-error i {
    color: #dc2626;
}

.notif-advertencia {
    border-left-color: #EE880E;
}

.notif-advertencia i {
    color: #EE880E;
}

.notif-info {
    border-left-color: #2563eb;
}

.notif-info i {
    color: #2563eb;
}

@keyframes notif-in {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes notif-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

@media (max-width: 480px) {
    .notif-container {
        left: 12px;
        right: 12px;
        top: 12px;
        max-width: none;
    }
}

/* Modal de confirmacion */
.confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100001;
    padding: 16px;
}

.confirm-box {
    background: white;
    border-radius: 16px;
    padding: 28px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    font-family: Arial, sans-serif;
}

.confirm-box i {
    font-size: 42px;
    color: #EE880E;
    margin-bottom: 12px;
    display: block;
}

.confirm-box p {
    margin: 0 0 20px;
    color: #333;
    font-size: 16px;
    line-height: 1.4;
}

.confirm-botones {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-botones button {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.confirm-cancelar {
    background: #e5e7eb;
    color: #333;
}

.confirm-aceptar {
    background: #dc2626;
    color: white;
}

.confirm-botones button:hover {
    opacity: 0.9;
}
