body {
    font-family: Arial, sans-serif;
    background-color: #b4c2d1;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.form {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin:auto;
    max-width: 800px;
    padding: 20px;
}

.form2 {
    background-color: #e8eb94;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin:auto;
    max-width: 700px;
    padding: 20px;
}

.legend {
    background-color: #2563eb;
    color: white;
    padding: 15px;
    margin: -20px -20px 20px -20px;
    border-radius: 8px 8px 0 0;
}

.legend h3 {
    margin: 0;
    font-size: 1.2em;

}

.contenedor {
    padding: 20px;
}


.contenedor02 {
  max-width: 200px;
  width: 100%; /* hasta 200px pero puede ser menor */
}

.subtitulo {
    background-color: #dbeafe;
    color: #1e40af;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    line-height: 100%;
}

.subtitulo h5 {
    margin: 0;
    font-size: 1em;
    line-height: 100%;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #4b5563;
    line-height: 100%;
}
.group-inputs{
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.group-input{
    width: 49.5%;
}
.group-pago{
    width: 50%;
}
.group-radios{
    display: flex;
    margin-bottom: 30px;
}

.select-css {
  display: block;
  font-size: 16px;
  font-family: 'Verdana', sans-serif;
  font-weight: 300;
  color: #444;
  line-height: 1.3;
  width: 300px;
  max-width: 80%; 
  box-shadow: 0 1px 0 1px rgba(0,0,0,.03);
  border-radius: .3em;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
}


input[type="text"],
input[type="datetime"],
input[type="file"],
input[type="email"],
input[type="date"],
input[type="password"],
input[type="tel"],
input[type="number"] {
    width: 80%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    box-sizing: border-box;
}

input[readonly] {
    background-color: #f3f4f6;
}

input[type="radio"] {
    margin-right: 5px;
}

legend {
    font-weight: bold;
    color: #1e40af;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 100%;
}
.boton1{
    background-color: #eb2588;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    margin-right: 10px;
}
.boton2{
    background-color: #25eb88;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    margin-right: 10px;
    text-decoration: none;
}

.result-container {
      margin-top: 20px;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
    
.result-box {
      width: 150px;
      height: 150px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      font-size: 18px;
      font-weight: bold;
      color: white;
    }
    
input[type="reset"],
input[type="submit"] {
    background-color: #2563eb;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    margin-right: 10px;
}

input[type="reset"] {
    background-color: #9ca3af;
}

input[type="submit"]:hover,
input[type="reset"]:hover {
    opacity: 0.9;
}
.group-botton{
    display: flex;
}

.mc-column {
width: 25%;
padding: 20px 20px 20px;
float: left;
}

.mc-column33 {
width: 33%;
padding: 30px 30px 30px;
float: left;
}

.mc-column50 {
width: 50%;
padding: 30px 30px 30px;
float: left;
}

/* Estilos para los campos modificables */
.contenedor > label:nth-of-type(9) {
    background-color: #d1fae5;
    color: #065f46;
    padding: 10px;
    border-radius: 4px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
}.boton-small {
  text-decoration:none;
  font-weight:100;
  font-size:10px;
  color:#ffffff;
  padding:10px 20px;
  background-color:#005BBB;
}

.inputs p {
    margin-bottom: 8px; /* o un valor menor que el actual */
    line-height: 1.2; /* reduce el interlineado dentro de cada párrafo */
}


/* Responsive design */


@media (max-width: 600px) {
    .group-inputs{
        flex-direction: column;
    }
    .group-input{
        width: 100%;
    }
    .group-pago{
        width: 100%;
    }
}
