/* Estilos para la modal */
#myModal.modal, #myModal2.modal, #myModal4.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.5);
}

#myModal .modal-content, #myModal2 .modal-content, #myModal4 .modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 50%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    font-family: 'Arial', sans-serif;
    color: #333333;
}

#myModal .close, #myModal2 .close, #myModal4 .close {
    color: #aaaaaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

#myModal .close:hover,
#myModal .close:focus,
#myModal2 .close:hover,
#myModal2 .close:focus,
#myModal4 .close:hover,
#myModal4 .close:focus {
    color: #000000;
    text-decoration: none;
}

#myModal .subtitleSection, #myModal2 .subtitleSection, #myModal4 .subtitleSection {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

#myModal .form-group, #myModal2 .form-group, #myModal4 .form-group {
    margin-bottom: 15px;
}

#myModal label, #myModal2 label, #myModal4 label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#myModal input[type="text"],
#myModal input[type="date"],
#myModal input[type="file"],
#myModal select,
#myModal2 input[type="text"],
#myModal2 input[type="date"],
#myModal2 input[type="file"],
#myModal2 select,
#myModal4 input[type="text"],
#myModal4 input[type="date"],
#myModal4 input[type="file"],
#myModal4 select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

#myModal input[type="text"]::placeholder,
#myModal input[type="date"]::placeholder,
#myModal2 input[type="text"]::placeholder,
#myModal2 input[type="date"]::placeholder,
#myModal4 input[type="text"]::placeholder,
#myModal4 input[type="date"]::placeholder  {
    color: #aaaaaa;
}

#myModal .escudo,
#myModal2 .escudo,
#myModal4 .escudo {
    display: block;
    max-width: 100px;
    margin: 0 auto 20px auto;
}

#myModal .submit-button:hover,
#myModal2 .submit-button:hover,
#myModal4 .submit-button:hover {
    background-color: #45a049;
}
