/* =============================================================
   estilos-cuenta.css — 登录 / 注册页
   ============================================================= */

.auth { background: #fff; }

.auth__rejilla {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

/* ---------- 左侧品牌区 ---------- */
.auth__lado {
  position: relative;
  overflow: hidden;
  padding: 46px 52px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, #0b1220, #14233d 58%, #1d3a5e);
  color: #fff;
}
.auth__lado::after {
  content: "";
  position: absolute;
  inset: auto -30% -45% -15%;
  height: 560px;
  background: radial-gradient(closest-side, rgba(56, 189, 248, .34), transparent);
  pointer-events: none;
}

.marca--claro { color: #fff; position: relative; z-index: 1; }
.marca--claro svg { color: #38bdf8; }

.auth__mensaje { margin-top: auto; position: relative; z-index: 1; max-width: 430px; }
.auth__mensaje h2 {
  font-size: 1.95rem;
  line-height: 1.18;
  letter-spacing: -.025em;
  font-weight: 800;
}
.auth__mensaje p { margin-top: 15px; color: #b3bfd6; font-size: .955rem; }

.auth__lista { margin-top: 28px; display: grid; gap: 13px; }
.auth__lista li {
  position: relative;
  padding-left: 26px;
  font-size: .9rem;
  color: #d5dded;
  line-height: 1.45;
}
.auth__lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(56, 189, 248, .18);
  border: 1px solid rgba(56, 189, 248, .5);
}

/* ---------- 右侧表单区 ---------- */
.auth__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: #fff;
}
.auth__caja { width: 100%; max-width: 430px; }

.auth__volver {
  display: inline-block;
  font-size: .82rem;
  color: #8592a8;
  margin-bottom: 22px;
}
.auth__volver:hover { color: #0f172a; }

.auth__tabs {
  display: flex;
  gap: 3px;
  background: #eef2f7;
  border-radius: 11px;
  padding: 4px;
  margin-bottom: 26px;
}
.auth__tabs button {
  flex: 1;
  border: none;
  background: transparent;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
}
.auth__tabs button.activo {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .14);
}

.auth__caja h1 {
  font-size: 1.65rem;
  letter-spacing: -.03em;
  font-weight: 800;
  line-height: 1.2;
}
.auth__sub { margin-top: 8px; color: #52607a; font-size: .92rem; line-height: 1.5; }

/* ---------- 三种方式 ---------- */
.auth__metodos { display: grid; gap: 10px; margin-top: 24px; }

.metodo {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d5dce8;
  border-radius: 11px;
  background: #fff;
  font-size: .92rem;
  font-weight: 650;
  color: #0f172a;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.metodo:hover { border-color: #a9b8cf; background: #fbfdff; box-shadow: 0 2px 8px rgba(15, 23, 42, .05); }

.metodo__icono {
  width: 24px;
  height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-weight: 900;
  font-size: .95rem;
}
.metodo__icono--google { background: #fff; border: 1px solid #e3e8f0; color: #4285f4; }
.metodo__icono--wa { background: #25d366; color: #fff; border-radius: 7px; }
.metodo__icono--wa svg { width: 15px; height: 15px; color: #06331a; }

.auth__divisor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 6px;
  color: #8592a8;
  font-size: .78rem;
}
.auth__divisor::before,
.auth__divisor::after { content: ""; flex: 1; height: 1px; background: #e3e8f0; }

/* ---------- 提示条 ---------- */
.aviso--demo {
  margin-top: 16px;
  background: #eaf7fe;
  border: 1px solid #c7e9fb;
  color: #075985;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: .845rem;
  line-height: 1.55;
}

.auth__bloque { margin-top: 16px; }

/* ---------- 表单 ---------- */
.auth__caja .campo { margin-top: 16px; display: grid; gap: 6px; }
.auth__caja .campo label { font-size: .84rem; font-weight: 700; }
.auth__caja .campo input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d5dce8;
  border-radius: 10px;
  font: inherit;
  font-size: .92rem;
  background: #fff;
  color: #0f172a;
}
.auth__caja .campo input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .16);
}

.auth__fila {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
.auth__fila a { font-size: .82rem; color: #0ea5e9; font-weight: 650; }

.auth__check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 16px;
  font-size: .84rem;
  color: #52607a;
  line-height: 1.5;
  cursor: pointer;
}
.auth__check input { width: 16px; height: 16px; margin-top: 2px; flex: none; }

.auth__pie {
  margin-top: 20px;
  text-align: center;
  font-size: .87rem;
  color: #52607a;
}
.auth__pie a { color: #0ea5e9; font-weight: 700; }

.auth__nota {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #e3e8f0;
  font-size: .76rem;
  color: #8592a8;
  line-height: 1.55;
}

/* ---------- 手机端 ---------- */
@media (max-width: 900px) {
  .auth__rejilla { grid-template-columns: 1fr; }
  .auth__lado { display: none; }
  .auth__panel { padding: 34px 20px 52px; align-items: flex-start; }
}
