/* Estilos del modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 600px;
    position: relative;
}

/* Estilo del botón Enviar */
.btn-enviar {
    background-color: #002856;
    color: white;
    transition: background-color 0.3s;
}

/* Estilo del botón Enviar cuando el cursor está encima */
.btn-enviar:hover {
    background-color: #ff6f00;
}

/* Estilo adicional para los input y select dentro del modal */
.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="file"],
.modal-content select {
    width: calc(100% - 20px);
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc; /* Agrega un borde */
    border-radius: 4px; /* Agrega esquinas redondeadas */
    background-color: white; /* Fondo blanco */
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075); /* Sombra interna */
}

/* Estilo adicional para el último select */
#selectDistrito {
    margin-bottom: 20px;
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Estilos adicionales para hacer el modal responsive */
@media screen and (max-width: 768px) {
    .modal-content {
        margin: 45% auto; /* Ajusta este valor según sea necesario */
        width: 90%;
    }
}
