/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #0b1020;
  color: #e8ecff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 30px 15px;
}

/* Contenedor principal */
.container {
  width: 100%;
  max-width: 520px;
  background: #111833;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

/* Título */
h1 {
  font-size: 26px;
  margin-bottom: 6px;
}

p {
  opacity: 0.8;
  margin-bottom: 18px;
  line-height: 1.4;
}

/* Formulario */
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 4px;
}

input, select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  color: #e8ecff;
  outline: none;
  transition: 0.2s;
}

input:focus, select:focus {
  border-color: #6ea8ff;
  box-shadow: 0 0 0 3px rgba(110,168,255,0.2);
}

/* Botón */
button {
  padding: 12px 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #6ea8ff, #9b7bff);
  color: #0b1020;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.1s, opacity 0.2s;
}

button:hover {
  opacity: 0.92;
}

button:active {
  transform: scale(0.98);
}

/* Respuesta del server */
#respuesta {
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 14px;
  line-height: 1.3;
}

/* Links o navegación */
.nav {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  color: #6ea8ff;
  text-decoration: none;
  font-size: 14px;
}

.nav a:hover {
  text-decoration: underline;
}

/* Pequeña adaptación en pantallas chicas */
@media (max-width: 480px) {
  .container {
    padding: 18px;
  }

  h1 {
    font-size: 22px;
  }
}
