body {
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

.contenedor-centralizado {
  width: 1150px;
  margin: 20px auto;
  /* centra horizontalmente */
  padding: 20px 0;
  /* opcional, para separar arriba y abajo */
}


.seccion {
  margin-bottom: 30px;
}

h1 {
  color: #004080;
  border-bottom: 2px solid #004080;
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-size: 26px !important;
}

h2 {
  color: #004080;
  border-bottom: 2px solid #004080;
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-size: 24px !important;
}

.grupo-campos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.campo {
  display: flex;
  flex-direction: column;
}

/* Etiquetas */
label {
  font-weight: normal !important;
  color: #003366;
  /* color azul oscuro consistente */
  margin-bottom: 8px;
}

label span {
  color: red;
  margin-right: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"] {
  width: 100%;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="file"] {
  border: none;
  padding: 0;
}

/* Adjuntar documentos */
.adjuntar-contenedor {
  display: flex;
  gap: 20px;
  align-items: center;
}

.instrucciones-adjuntar {
  flex: 1;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

.instrucciones-adjuntar ul {
  padding-left: 20px;
  margin-top: 0;
}

.dropzone {
  flex: 2;
  border: 2px dashed #32b3e3 !important;
  border-radius: 10px;
  padding: 30px;
  background: #f9f9f9;
  text-align: center;
  font-family: sans-serif;
  color: #770000;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.dropzone:hover {
  background-color: #eef5ff;
}

.dropzone p {
  margin: 0;
  font-weight: 600;
}

.dropzone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone .dz-message {
  font-size: 16px;
  color: #000000 !important;
}

/* Texto con color azul oscuro para títulos específicos */
.titulo-izquierdad {
  color: #003366;
  font-weight: 600;
  font-size: 1.8rem;
  margin: 0;
  margin-bottom: -5px;
  width: 100%;
  box-sizing: border-box;
}

.alerta {
  background-color: #ffe5e5;
  border-radius: 8px;
  padding: 15px 40px;
  color: #a40000;
  font-weight: bold;
}

.info-box {
  width: 1150px;
  margin: -5px auto;
  background-color: #d9f1fb;
  border-radius: 10px;
  padding: 15px 40px;
  font-size: 16px;
  line-height: 1.6;
  color: #003366;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.info-box ol {
  padding-left: 20px;
  margin: 10px 0;
}

.info-box ol li {
  margin-left: 0;
  text-indent: 0;
}

.info-box b {
  color: #003366;
}

.cuenta {
  margin-top: 15px;
}

.cuenta span {
  font-weight: bold;
  color: #003366;
}

/* Botones */
.btn-enviar {
  background-color: #32b3e3;
  color: rgb(255, 255, 255) !important;
  font-size: 16px;
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}

button:hover {
  background-color: #259fc8;
}

select[name="tipo_sangre"] {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  /* Igual que los inputs */
  border-radius: 10px;
  background-color: white;
  font-size: 1.7rem;
  font-family: inherit;
  color: #073360;
  appearance: none;
  /* Quita estilo nativo para personalizar */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="gray" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px 16px;
  cursor: pointer;
  box-sizing: border-box;
}

/* Opcional: cambia color borde y sombra al foco */
select[name="tipo_sangre"]:focus {
  border-color: #0056b3;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
}

@media (max-width: 992px) {
  select[name="tipo_sangre"]{
    font-size: 1.5rem;
    
  }

  .grupo-campos{
    display: flex;
    flex-direction: column;
  }
  
  .instrucciones-adjuntar {
   flex: 3;
  }

.dropzone {
    flex: unset;
    width: 100%;
  }

  .adjuntar-contenedor {
    flex-direction: column;
    gap: 15px; 
  }
}

