/* Login de Ubiquest (página propia servida en wp-login.php): hero a la izquierda + tarjeta con
   pestañas Cómo funciona/Acceder a la derecha. Gama de color basada en el azul #0390fc. */

:root {
  /* Navy de fondo (se mantienen los nombres de variable por compatibilidad del CSS) */
  --forest-950: #06182E;   /* fondo de página */
  --forest-900: #0C2742;   /* paneles */
  --forest-800: #123457;   /* pista del control segmentado */
  --brand-bright: #0390fc; /* azul Ubiquest (acento: botón, enlaces, iconos, foco) */
  --mint-100: #D6ECFF;     /* tarjetas en azul claro */
  --peach-100: #FCE6D8;    /* acento cálido (sin cambios) */
  --ink: #1A1D24;
  --muted: #6B7280;
  --line: #E6E9EE;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body.artadia-login {
  margin: 0;
  background: var(--forest-950);
  background-image: radial-gradient(1200px 600px at 15% -10%, rgba(3,144,252,.12), transparent 60%);
  color: #fff;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal; font-style: normal; line-height: 1;
  display: inline-block; white-space: nowrap; direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.wrap {
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 920px) {
  .wrap { grid-template-columns: 1fr; gap: 28px; align-items: start; }
}

/* Hero */
.hero { display: flex; flex-direction: column; }
.hero .logo { height: 32px; width: auto; align-self: flex-start; }
.hero-main { margin-top: 56px; }
.hero-main h1 {
  font-size: 56px; line-height: 1.1; font-weight: 800; margin: 0; letter-spacing: -1px; color: #fff;
}
.hero-main h1 span { color: var(--brand-bright); }
.hero-main .dot { width: 12px; height: 12px; border-radius: 999px; background: var(--brand-bright); margin: 22px 0; }
.hero-main p { max-width: 460px; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.8); margin: 0; }
.features { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.features .material-symbols-outlined { font-size: 30px; color: var(--brand-bright); }
.features .ft { margin-top: 8px; font-weight: 600; color: #fff; }
.features .fd { margin-top: 4px; font-size: 14px; color: rgba(255,255,255,.7); }
@media (max-width: 920px) {
  .hero-main { margin-top: 28px; } .hero-main h1 { font-size: 40px; } .features { margin-top: 28px; }
}

/* Panel */
.panel-col { display: flex; align-items: center; }
.panel {
  width: 100%;
  background: rgba(12, 39, 66, .82);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 25px 60px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
}

/* Segmentado Conócenos / Acceder */
.seg { display: flex; background: var(--forest-800); border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.seg-btn {
  flex: 1 1 0%; border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7); background: transparent;
  transition: all .15s ease;
}
.seg-btn.active { background: #fff; color: var(--forest-950); }

/* Vistas apiladas: la tarjeta no cambia de tamaño al alternar */
.views { display: grid; }
.view { grid-area: 1 / 1; }
.view--hidden { visibility: hidden; pointer-events: none; }

/* Conócenos */
.card { border-radius: 18px; padding: 20px; color: var(--forest-950); margin-bottom: 16px; }
.card:last-child { margin-bottom: 0; }
.card.mint { background: var(--mint-100); }
.card.peach { background: var(--peach-100); }
.card .ct { font-weight: 700; }
.card .cd { margin-top: 4px; font-size: 14px; color: rgba(6,24,46,.8); }

/* Acceder (formulario) */
.form .ubikare { display: block; height: 30px; width: auto; margin: 0 auto 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; color: rgba(255,255,255,.75); }
.field input {
  width: 100%; background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px;
}
.field input:focus { outline: none; border-color: var(--brand-bright); box-shadow: 0 0 0 3px rgba(3,144,252,.25); }
.row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; font-size: 14px; }
.row .remember { color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 8px; }
.row .invite { color: var(--brand-bright); text-decoration: none; }
.row .invite:hover { text-decoration: underline; }
.btn {
  width: 100%; border: 0; border-radius: 12px; padding: 13px; cursor: pointer;
  background: var(--brand-bright); color: #fff; font: inherit; font-size: 15px; font-weight: 700;
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(.95); }
.note { margin: 16px 0 0; text-align: center; font-size: 12px; color: rgba(255,255,255,.5); }
.err {
  margin-bottom: 16px; padding: 12px; border-radius: 10px; font-size: 14px;
  background: rgba(244,63,94,.15); border: 1px solid rgba(244,63,94,.5); color: #ffe4e6;
}
