/* Estilos para los modales */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 50;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        .modal-overlay.open {
            opacity: 1;
            visibility: visible;
        }
        .modal-content {
            background-color: #2d3748;
            padding: 2rem;
            border-radius: 0.5rem;
            width: 90%;
            max-width: 400px;
            transform: scale(0.95);
            transition: transform 0.3s ease;
        }
        .modal-overlay.open .modal-content {
            transform: scale(1);
        }
		
		@media (max-width: 400px) {
			.Titulo1 {
				font-size: 1.5rem !important; /* Equivalente a text-4xl */
				font-weight: bold;
				text-align: center;
				margin-bottom: 2rem;
			}
			
		}
		
		/************************* ESTILOS PARA LA VENTANA MODAL *************************/

/* El contenedor principal que cubre toda la pantalla */
.modal-overlay {
    position: fixed; /* Se queda fijo incluso si se hace scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75); /* Fondo negro semitransparente */
    display: flex; /* Usa flexbox para centrar el contenido */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Se asegura de que esté por encima de todo lo demás */
    /* Por defecto podría estar oculto y mostrarse con JavaScript */
    /* display: none; */ 
}

/* La caja blanca (o gris oscura) que contiene el formulario */
.modal-content {
    background-color: #2d3748; /* Un gris oscuro, como en otras partes del proyecto */
    color: white;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 400px; /* Ancho máximo para que no sea demasiado grande en PC */
    text-align: center;
}

/* Estilos para el título y subtítulo del modal */
.modal-title {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: #a0aec0; /* Un gris más claro */
    margin-bottom: 1.5rem;
}

/* Estilos para el formulario dentro del modal */
.modal-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-label {
    text-align: left;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: #cbd5e0;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #4a5568;
    background-color: #1a202c;
    border-radius: 4px;
    color: white;
    margin-bottom: 1rem;
    box-sizing: border-box; /* Asegura que el padding no afecte el ancho total */
}

.form-input:focus {
    outline: none;
    border-color: #4299e1; /* Color azul al enfocar */
}

/* Contenedor para los botones */
.button-container {
    display: flex;
    justify-content: space-evenly; /* Espacio uniforme entre botones */
    margin-top: 1rem;
    width: 100%;
}

/* Estilo base para los botones */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

/* Botón principal (Ingresar) */
.btn-primary {
    background-color: #3182ce; /* Azul */
    color: white;
}
.btn-primary:hover {
    background-color: #2b6cb0;
}

/* Botón secundario (Cerrar) */
.btn-secondary {
    background-color: #718096; /* Gris */
    color: white;
}
.btn-secondary:hover {
    background-color: #4a5568;
}
