body {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    padding: -10px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('fondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3; /* aquí controlas qué tan traslúcido se ve */
    z-index: -1;
  }
  
  h1 {
    color: #1c4a7d;
    margin-bottom: -5px;
  }

  h2 {
    color: #1c4a7d;
  }

  h3 {
    color: #1c4a7d;
    font-size: 24px;
  }
  
  form {
    background: linear-gradient(155deg, rgba(125, 152, 240, 0.8), rgba(255, 255, 255, 0.89));
    padding: 15px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    opacity: 0.85;
    backdrop-filter: blur(5px);
  }

  
  label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
  }
  
  input, select {
    width: 100%;
    padding: 10px 14px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
  }
  
  button {
    margin-top: 25px;
    width: 100%;
    background-color: #225793;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  button:hover {
    background-color: #102943;
  }
  
  #mensaje {
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
  }
  
  .logo-header {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 0px;
  }
  
/* === Tu estilo actual para pantallas grandes === */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  position: relative;
  height: 100px;
}

.logo-img {
  max-height: 80px;
  width: auto;
}

.divider-line {
  width: 1px;
  height: 100px;
  background: black;
  transform: rotate(15deg);
}

/* === Ajustes SOLO para pantallas pequeñas === */
@media screen and (max-width: 600px) {
  .logo-container {
    gap: 20px;
  }

  .logo-img {
    max-height: 70px;
    max-width: 100px;
  }

  .divider-line {
    height: 60px;
  }
}

/* pinta de rojo la opción Presencial cuando esté deshabilitada */
#forma option[value="Presencial"]:disabled {
  color: red;
}
