* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f2f5f1;
}

/* ========================= */
/* Página principal          */
/* ========================= */

.page {

  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  gap: 80px;

  padding: 40px;

  overflow: hidden;
}

/* ========================= */
/* Logo izquierda            */
/* ========================= */

.logo {

  width: 400px;
  min-width: 400px;
  max-height: 400px;
  aspect-ratio: 1 / 1;

  object-fit: cover;

  border-radius: 30px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.20);

  flex-shrink: 0;
}

 .question-page {
    margin-bottom: 32px;
  }

  .vote-option {
    display: block;
    margin: 12px 0;
  }

/* ========================= */
/* Tarjeta login             */
/* ========================= */

.login-card {

  width: 500px;
  height: 500px;

  max-width: 90%;

  padding: 35px;

  border-radius: 24px;

  background: rgba(18, 80, 40, 0.70);

  backdrop-filter: blur(4px);

  box-shadow:
    0 20px 40px rgba(0,0,0,0.25);

  color: white;
}

/* ========================= */
/* Título                    */
/* ========================= */

.login-card h1 {

  margin-top: 0;
  margin-bottom: 30px;

  text-align: center;

  font-size: 30px;
  line-height: 1.3;

  color: #0a3a1b;

  background: rgba(255,255,255,0.78);

  padding: 18px;

  border-radius: 16px;
}

/* ========================= */
/* Formulario                */
/* ========================= */

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 8px;
  font-weight: bold;
}

input {

  margin-bottom: 22px;

  padding: 15px;

  border: none;
  border-radius: 12px;

  font-size: 16px;
}

input:focus {
  outline: 3px solid #0b3d1f;
}

/* ========================= */
/* Botón                     */
/* ========================= */

button {

  padding: 15px;

  border: none;
  border-radius: 12px;

  background: #0b3d1f;

  color: white;

  font-size: 17px;
  font-weight: bold;

  cursor: pointer;

  transition: 0.2s;
}

button:hover {
  background: #062814;
  transform: translateY(-1px);
}

/* ========================= */
/* Resultado                 */
/* ========================= */

.result-page {

  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
}

.result-card {

  width: 400px;
  max-width: 90%;

  padding: 40px;

  border-radius: 20px;

  text-align: center;

  color: white;
}

.success {
  background: #125028;
}

.error {
  background: #7a1d1d;
}

.result-card a {

  display: inline-block;

  margin-top: 20px;

  color: white;

  text-decoration: none;
  font-weight: bold;
}

/* ========================= */
/* Responsive móvil          */
/* ========================= */

@media (max-width: 950px) {

  .page {
    flex-direction: column;
    gap: 40px;
  }

  .logo {
    width: 320px;
    max-width: 80%;
  }

}