/* Estilos básicos para el modal (puedes personalizarlos con tus variables de CSS) */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed; /* Posición fija en la pantalla */
    z-index: 1000; /* Por encima de todo lo demás */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Habilita scroll si es necesario */
    background-color: rgba(0,0,0,0.4); /* Fondo semi-transparente oscuro */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal-content p {
    margin-bottom: 15px;
}

.modal-content button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.modal-content .btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.modal-content .btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}
