#form_container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #FFF;
  color: BLACK;
  padding: 10px;
}

/*estilo del formulario*/
#nuevo_formulario {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  width: 100%;
  margin-top: 25px;
  background-color: rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 40px rgba(8, 7, 16, 0.6);
  padding: 90px 100px;
}

/*Adaptar el formulario a un ancho determinado dependiendo del tamaño de pantalla*/
@media (min-width: 900px){
  #nuevo_formulario{
    width: 80%
  }
}


.form_label{
  margin-top: 5px;
  width: 35%;
  color: black;
}


.form_label_100{
  margin-top: 5px;
  width: 100%;
  color: black;
}

label.radiobutton {
  vertical-align: top;
  overflow-y: auto;
  margin-top: 0px;
  width: 100%;
  color: gray;
}


.form_input{
  margin-top: 5px;
  margin-bottom: 20px;
  width: 64%;
}

form [type="radio"]{
  margin-top: 5px;
  width: 15px;
}

.form_select{
  margin-top: 5px;
  width: 64%;
}

.form_textarea{
  overflow-y: auto;
  resize: vertical;
  vertical-align: top;
  margin-top: 5px;
  width: 64%;
  min-height: 120px;
  max-height: 200px;
  margin-top: 0;
}

.form_submit {
  margin-top: 40px;
  width: 60%;
  background-color: orange;
  color: #080710;
  padding: 15px 0;
  font-size: 20px;
  font-weight: 600;
  border-radius: 9px;
  cursor: pointer;
} 

.form_submit:hover{
  background-color: darkorange;
  color: #000;
  cursor: pointer;
}


#alerta_exito {
  display: none;
  margin-top: 20px;
  padding: 10px;
  border: 2px solid green;
  background-color: #d4edda;
  color: #155724;
  border-radius: 5px;
}

#alerta_error {
  display: none;
  margin-top: 20px;
  padding: 10px;
  border: 2px solid red;
  background-color: #f8d7da;
  color: #721c24;
  border-radius: 5px;
}

#alerta_captcha {
  display: none;
  margin-top: 20px;
  padding: 10px;
  border: 2px solid orange;
  background-color: #fff3cd;
  color: #856404;
  border-radius: 5px;
}

/* Modal para alertas AJAX */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  text-align: center;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-box.success {
  border-left: 5px solid green;
}

.modal-box.success .modal-message {
  color: #155724;
}

.modal-box.success .modal-icon {
  color: green;
  font-size: 50px;
  margin-bottom: 15px;
}

.modal-box.error {
  border-left: 5px solid red;
}

.modal-box.error .modal-message {
  color: #721c24;
}

.modal-box.error .modal-icon {
  color: red;
  font-size: 50px;
  margin-bottom: 15px;
}

.modal-box.warning {
  border-left: 5px solid orange;
}

.modal-box.warning .modal-message {
  color: #856404;
}

.modal-box.warning .modal-icon {
  color: orange;
  font-size: 50px;
  margin-bottom: 15px;
}

.modal-message {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal-button {
  background-color: orange;
  color: white;
  padding: 10px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.modal-button:hover {
  background-color: darkorange;
}