body {
  font-family: Arial, sans-serif;
  margin: 0; padding: 0; background: #f5f5f5;
  overflow-x: hidden;
}
header {
  background: #005f99; color: white; padding: 10px 20px;
}
nav {
  background: #004466; color: white; padding: 10px 20px;
  display: flex;
  gap: 15px;
}
nav button {
  background: #007acc;
  border: none;
  color: white;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
}
nav button:hover {
  background: #005f99;
}
#intro-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;              /* 👈 clave para Android */

  background: rgba(0, 0, 0, 0.4);

  display: flex;
  justify-content: center;
  align-items: flex-start;     /* 👈 ya no centra vertical */
  
  overflow-y: auto;            /* 👈 habilita scroll */
  padding: 20px 10px;          /* espacio para que se vea el botón */

  z-index: 9999;
}


.intro-box {
  width: 520px;      /* antes 400px */
  max-width: 92%;

  background: #fff;
  padding: 30px;     /* un poco más de aire */
  border-radius: 12px;

  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);

  font-family: Arial, Helvetica, sans-serif;
}


.intro-box img {
  width: clamp(70px, 25vw, 120px);
  height: auto;
  margin-bottom: 15px;
}


.intro-box p {
  color: #444;
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.intro-box button {
  background: #2c7be5;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}

.intro-box button:hover {
  background: #1a68d1;
}


main {
  padding: 40px 20px;
  max-width: 600px;
  margin: 20px auto;
  background: white;
  border-radius: 6px;
  box-shadow: 0 0 10px #ccc;
}


label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}
input, select {
  width: 100%;
  padding: 7px;
  margin-top: 5px;
  box-sizing: border-box;
}
button.primary {
  margin-top: 20px;
  background: #005f99;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 16px;
}
button.primary:hover {
  background: #004466;
}
.hidden {
  display: none;
}
.turno-list {
  margin-top: 15px;
}
.turno-item {
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
}

/*Celulares */
@media (max-width: 480px) {

  #intro-modal {
    position: fixed;
    inset: 0;
    display: block;
    overflow-y: auto;
    padding: 10px 10px 30px; /* menos arriba, más abajo */
  }

  .intro-box {
    margin: 0 auto;
    transform: translateY(-10px);
  }

}



















