:root {
  --azul: #1c58c7;
  --rojo: #d9534f;
  --azulGorro: #1f60ab;
}

.convocatoria {
  max-width: 60%;
  margin: auto;
}

.header,
.subHeader {
  font-size: 2rem;
  margin-bottom: 0.2rem;
  color: #83c454;
  text-align: center;
  font-weight: 700;
}

.fechas,
.subFechas {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  /* color: #83c454; */
  color: var(--azulGorro);
  text-align: center;
  font-weight: 700;
}

.subHeader,
.subFechas {
  display: flex;
  align-items: center;
  height: 100%;
}

.subHeader {
  font-size: 1.3rem !important;
}

.subFechas {
  font-size: 1.1rem !important;
}

.descripcion {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-align: justify !important;
}

.pdf-box {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem auto;
}

.btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease;
  display: inline-block;
}

.btn.azul {
  background-color: var(--azul);
  color: white;
}

.btn.azul:hover {
  background-color: #1546a0;
}

.btn.rojo {
  background-color: var(--rojo);
  color: white;
}

.btn.rojo:hover {
  background-color: #b52b27;
}

.search-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10vh;
}

.search-input {
  width: 320px;
  padding: 14px 18px;
  font-size: 18px;
  border: 2px solid #83c454;
  border-radius: 12px;
  outline: none;
  background-color: #fff;
  text-align: center;
  color: #1f429c;
  box-shadow: 0 2px 6px rgba(31, 66, 156, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  text-transform: uppercase;
}

.search-input::placeholder {
  color: #9aa9d6;
}

.search-input:focus {
  /* border-color: #1f429c; */
  border-color: #79b64d;
  box-shadow: 0 4px 12px rgba(31, 66, 156, 0.25);
}

.search-label {
  margin-top: 10px;
  font-size: 14px;
  color: #1f429c;
  font-weight: 700;
  opacity: 0.8;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.aviso-convocatoria {
  max-width: 600px;
  margin: 50px auto;
  padding: 30px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.aviso-convocatoria h2 {
  font-size: 1.2rem;
  color: #333;
}

@media (max-width: 768px) {
  .convocatoria {
    max-width: 90%;
  }
}
