/* Pantalla de acceso (login.html). El reset, los colores y .btn están en base.css. */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  line-height: 1.5;
}

.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.marca img { width: 36px; height: 36px; border-radius: 10px; }

.caja {
  width: 100%;
  max-width: 380px;
  background: var(--blanco);
  border-radius: 16px;
  padding: 26px 22px;
  box-shadow: 0 4px 18px rgba(114, 9, 183, .10);
  border: 1px solid var(--borde);
}
.caja h1 { font-size: 1.25rem; margin-bottom: 4px; }
.caja > p.sub { color: var(--suave); font-size: .9rem; margin-bottom: 20px; }
.caja .btn { width: 100%; padding: 12px; }
.caja .btn:disabled { opacity: .55; cursor: not-allowed; }

label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; }

input {
  width: 100%;
  padding: 11px;
  margin-bottom: 14px;
  border: 1px solid var(--borde-campo);
  border-radius: 10px;
  font-size: .95rem;
  font-family: inherit;
}
input:focus { outline: 2px solid var(--magenta); outline-offset: 1px; border-color: transparent; }

.aviso {
  background: var(--alerta-fondo);
  color: var(--alerta-texto);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: .85rem;
  margin-bottom: 14px;
  display: none;
}
.aviso.visible { display: block; }

/* Bloque de Google: oculto mientras el proveedor esté apagado en Supabase. */
.bloque-google { display: none; }
.bloque-google.visible { display: block; }

.separador {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  color: var(--suave);
  font-size: .8rem;
}
.separador::before,
.separador::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--borde);
}

/* Fondo blanco y borde gris, como pide la guía de marca de Google. */
.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blanco);
  color: #3c4043;
  border: 1px solid #dadce0;
  border-radius: 10px;
  padding: 12px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
.btn-google:hover:not(:disabled) { background: #f8f9fa; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.btn-google:disabled { opacity: .55; cursor: not-allowed; }
.logo-google { width: 18px; height: 18px; flex-shrink: 0; }

.volver { margin-top: 18px; font-size: .85rem; }
.volver a { color: var(--morado); }
