/* === Estilos base === */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #222;
}

/* === Simulación de teléfono (para index) === */
.phone {
  width: 350px;
  max-width: 95%;
  height: 740px;
  margin: 20px auto;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 36px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  overflow: hidden;
  position: relative;
}

/* Notch superior */
.notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 20px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 20;
}

/* Barra de estado */
.status-bar {
  position: absolute;
  top: 5px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
  z-index: 25;
}

/* Línea inferior */
.home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #ccc;
  border-radius: 2px;
  opacity: 0.9;
}

/* Pantallas */
.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 60px 20px 40px;
  background: #fff;
  text-align: center;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.screen.active {
  display: flex;
}

/* Textos */
h1, h2 {
  margin-bottom: 16px;
  color: #222;
  font-size: 1.3rem;
}

p {
  margin: 6px 0;
  color: #555;
  font-size: 0.95rem;
  max-width: 300px;
}

/* Inputs */
input {
  width: 100%;
  max-width: 300px;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
}

/* Botón */
.button {
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 12px;
  margin-top: 12px;
  background-color: #1E88E5;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.button:hover {
  background-color: #1565C0;
}

.note {
  font-size: 0.8rem;
  color: #777;
  margin-top: 10px;
  max-width: 300px;
}

/* === Caja genérica (para gracias.html) === */
.container {
  background: #fff;
  max-width: 400px;
  width: 90%;
  padding: 30px 20px;
  margin: 40px auto;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  text-align: center;
}

.container img {
  width: 80px;
  margin-bottom: 15px;
}

.container h1 {
  font-size: 1.4rem;
}

.container p, .container ol {
  font-size: 0.95rem;
  color: #444;
}

.container ol {
  text-align: left;
  margin: 15px 0;
  padding-left: 20px;
}


