.pantalla-login {
  justify-content: center;
  align-items: center;
  padding: 32px 0;
}

.pantalla-bienvenida {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
}

.bienvenida-centro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.bienvenida-logo {
  width: 140px;
  height: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 0 24px rgba(190, 138, 68, 0.4));
}

.bienvenida-titulo {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.3;
  color: var(--color-text);
  text-shadow: 0 0 16px rgba(190, 138, 68, 0.35);
  max-width: 320px;
}

.bienvenida-texto {
  margin-top: 14px;
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 300px;
  line-height: 1.5;
}

.boton-bienvenida {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  max-width: 260px;
  text-decoration: none;
}

.boton-secundario {
  width: 100%;
  padding: 13px 14px;
  margin-top: 14px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.boton-secundario:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-soft);
}

.nota-instalacion-ios {
  margin-top: 16px;
  font-size: 12px;
  color: var(--color-text-faint);
  max-width: 260px;
  line-height: 1.5;
}

.login-tarjeta {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 36px 28px;
  background: linear-gradient(180deg, rgba(40, 17, 62, 0.55), rgba(12, 10, 18, 0.85));
  border: 1px solid rgba(190, 138, 68, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Marco ornamental interior, mismo patrón que .events-card/.login-card
   en noxis.pe (doble línea dorada). */
.login-tarjeta::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 14px;
  border: 1px solid rgba(190, 138, 68, 0.18);
  pointer-events: none;
  z-index: 0;
}

.login-logo-form {
  width: 64px;
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 14px rgba(190, 138, 68, 0.4));
}

.login-emblema {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-primary), var(--color-bg-elevated));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-gold);
}

.login-emblema .icon {
  width: 34px;
  height: 34px;
  color: var(--color-gold);
  filter: drop-shadow(0 0 8px rgba(190, 138, 68, 0.5));
}

.login-titulo {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-text);
  letter-spacing: 0.03em;
  text-shadow: 0 0 16px rgba(190, 138, 68, 0.35);
  margin-bottom: 2px;
}

.login-subtitulo {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.campo {
  margin-bottom: 16px;
}

.campo label {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.campo input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.campo input:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(190, 138, 68, 0.6);
  box-shadow: 0 0 0 3px rgba(190, 138, 68, 0.15);
}

.boton-primario {
  width: 100%;
  padding: 13px 14px;
  margin-top: 8px;
  background: linear-gradient(180deg, rgba(74, 34, 112, 0.65), rgba(40, 17, 62, 0.95));
  border: 1px solid var(--color-gold);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 16px rgba(190, 138, 68, 0.08);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.boton-primario:hover {
  border-color: var(--color-gold-soft);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 20px rgba(190, 138, 68, 0.35);
}

.boton-primario:active {
  transform: scale(0.98);
}

.boton-primario:disabled {
  opacity: 0.6;
  cursor: default;
}

.login-divisor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  color: var(--color-text-faint);
  font-size: 12px;
}
.login-divisor::before,
.login-divisor::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.boton-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-weight: 500;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.boton-google:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(190, 138, 68, 0.5);
}
.boton-google:disabled {
  opacity: 0.6;
  cursor: default;
}
.google-icono {
  flex-shrink: 0;
}

.login-error {
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: var(--color-danger);
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-align: center;
}

.login-nota {
  margin-top: 22px;
  text-align: center;
  font-size: 11px;
  color: var(--color-text-faint);
}

.link-dorado {
  color: var(--color-gold);
  font-weight: 600;
  text-decoration: none;
}
.link-dorado:hover,
.link-dorado:focus {
  text-decoration: underline;
}

.campo select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 15px;
  outline: none;
  font-family: inherit;
}
.campo select:focus {
  border-color: rgba(190, 138, 68, 0.6);
  box-shadow: 0 0 0 3px rgba(190, 138, 68, 0.15);
}
