/* css/Confirmacion.css - CÓDIGO ACTUALIZADO SIN TAILWIND */

/* --- Contenedor Principal del Modal --- */
#custom-modal-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 1rem;
    font-family: 'Comfortaa', cursive; /* Fuente solo para el modal */
}

/* --- Ocultar/Mostrar el Contenedor --- */
#custom-modal-container.hidden {
    display: none;
}

/* --- Estructura del Modal --- */
#custom-modal {
    background-image: linear-gradient(to bottom right, #eff6ff, #fdf2f8);
    border-radius: 1rem;
    width: 100%;
    max-width: 24rem; /* 384px */
    margin: auto;
    padding: 1.5rem; /* 24px */
    text-align: center;
    border: 2px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(255, 255, 255, 0.5);
}

/* --- Icono --- */
#modal-icon {
    margin: 0 auto 1rem; /* auto horizontal, 1rem bottom */
    height: 6rem; /* 96px */
    width: 6rem; /* 96px */
}

/* --- Título --- */
#modal-title {
    font-family: 'Pacifico', cursive;
    font-size: 1.875rem; /* 30px */
    color: #374151;
    margin-bottom: 0.75rem; /* 12px */
}

/* --- Mensaje --- */
#modal-message {
    color: #4B5563;
    font-size: 1rem; /* 16px */
    margin-bottom: 2rem; /* 32px */
}

/* --- Contenedor de Botones --- */
#modal-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem; /* 16px */
}

/* --- Estilos para los Botones (a usar en JS) --- */
.modal-button {
    width: 100%;
    padding: 0.75rem 1.5rem; /* 12px 24px */
    font-weight: bold;
    border-radius: 0.75rem; /* 12px */
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.modal-button:hover {
    transform: scale(1.05);
}

.modal-button.confirm {
    background-color: #22d3ee; /* cyan-400 */
    color: white;
}
.modal-button.confirm:hover {
    background-color: #06b6d4; /* cyan-500 */
}

.modal-button.cancel {
    background-color: #d1d5db; /* gray-300 */
    color: #374151; /* gray-700 */
}
.modal-button.cancel:hover {
    background-color: #9ca3af; /* gray-400 */
}

.modal-button.ok {
    background-color: #22d3ee; /* cyan-400 */
    color: white;
}
.modal-button.ok:hover {
    background-color: #06b6d4; /* cyan-500 */
}


/* --- Animaciones --- */
.modal-enter {
    animation: fadeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-leave {
    animation: fadeOut 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes fadeOut {
    from { opacity: 1; transform: scale(1) translateY(0); }
    to { opacity: 0; transform: scale(0.9) translateY(10px); }
}
