/* ============ TuClienteFácil — Panel de cliente ============ */

/* ---------- Login ---------- */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 40px 20px; position: relative;
}
.auth-wrap::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 20% 10%, var(--hero-glow), transparent 60%),
    radial-gradient(500px 350px at 85% 90%, var(--hero-glow2), transparent 60%);
}
.auth-card {
  position: relative; z-index: 1;
  width: 100%; max-width: 420px;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow); padding: 40px 36px;
}
.auth-logo { display: flex; justify-content: center; margin-bottom: 22px; }
.auth-logo img { width: 56px; height: 56px; border-radius: 16px; }
.auth-card h1 { font-size: 24px; text-align: center; color: var(--navy); letter-spacing: -.02em; }
.auth-sub { text-align: center; color: var(--muted); font-size: 14.5px; margin: 8px 0 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 13px 16px; font-family: var(--font); font-size: 15px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: #fff; }
.auth-row { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; margin: 4px 0 22px; }
.auth-row label { display: flex; align-items: center; gap: 7px; color: var(--muted); cursor: pointer; }
.auth-row a { color: var(--accent-dark); font-weight: 700; }
.auth-row a:hover { text-decoration: underline; }
.auth-card .btn { width: 100%; justify-content: center; height: 52px; font-size: 15.5px; }
.auth-div { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; color: var(--muted); font-size: 13px; }
.auth-div::before, .auth-div::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-foot { text-align: center; font-size: 14px; color: var(--muted); }
.auth-foot a { color: var(--accent-dark); font-weight: 700; }
.auth-foot a:hover { text-decoration: underline; }
.auth-back { position: absolute; top: 22px; left: 24px; z-index: 2; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); }
.auth-back:hover { color: var(--accent-dark); }
.auth-lang { position: absolute; top: 22px; right: 24px; z-index: 2; }

/* ---------- Auth split-screen (panel de marca, patrón twi.bet) ---------- */
.auth-split { display: block; min-height: 100vh; }
.auth-form-col {
  display: flex; flex-direction: column; align-items: center;
  padding: 2rem 1.5rem; min-height: 100vh; position: relative;
}
.auth-form-col::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 20% 10%, var(--hero-glow), transparent 60%),
    radial-gradient(500px 350px at 85% 90%, var(--hero-glow2), transparent 60%);
}
.auth-form-inner { width: 100%; max-width: 420px; margin: auto 0; position: relative; z-index: 1; }
@media (min-width: 1024px) {
  .auth-split { display: grid; grid-template-columns: 1fr 1fr; }
  .auth-form-col { min-height: auto; }
  .auth-mobile-only { display: none !important; }
  .auth-back, .auth-back:hover { color: rgba(255,255,255,.85); }
}
.lp { display: none; }
@media (min-width: 1024px) {
  .lp {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 3rem;
    position: relative; overflow: hidden;
  }
}
.lp::before {
  content: ''; position: fixed; top: 0; left: 0;
  width: 50vw; height: 100vh; z-index: 0; pointer-events: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 45%, var(--accent-deep) 100%);
}
.lp-orb {
  position: absolute; width: 26rem; height: 26rem; border-radius: 50%;
  filter: blur(52px); pointer-events: none; z-index: 0;
}
.lp-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.75rem; text-align: center;
  max-height: 100%; overflow-y: auto;
  padding-bottom: 2.5rem;
}
.lp-logo-card {
  background: rgba(255,255,255,.95); border-radius: 1rem;
  padding: 1.1rem 1.75rem; box-shadow: 0 10px 25px rgba(0,0,0,.15);
}
.lp-logo-card img { width: 64px; height: 64px; display: block; margin: 0 auto 8px; border-radius: 14px; }
.lp-logo-card span { font-weight: 800; font-size: 19px; color: var(--navy); letter-spacing: -.02em; }
.lp-logo-card span b { color: var(--accent); }
.lp-tag { max-width: 24rem; margin: 0; font-size: 17px; font-weight: 600; color: rgba(255,255,255,.85); line-height: 1.55; }
.lp-chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; }
.lp-chip {
  border-radius: 9999px; background: rgba(255,255,255,.10);
  padding: .375rem 1rem; font-size: .75rem; font-weight: 600;
  color: rgba(255,255,255,.9);
}
.lp-sep { width: 14rem; height: 1px; background: rgba(255,255,255,.20); }
.lp-google {
  display: flex; align-items: center; justify-content: center;
  gap: .75rem; width: 100%; max-width: 20rem; padding: .875rem 1.25rem;
  border-radius: .75rem; background: #fff; color: #374151;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.15); transition: all .15s ease;
}
.lp-google:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(0,0,0,.22); }
.lp-links { display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .875rem; color: rgba(255,255,255,.75); }
.lp-links a { color: #fff; font-weight: 700; text-decoration: none; }
.lp-links a:hover { text-decoration: underline; }
.lp-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; font-size: .875rem; color: rgba(255,255,255,.78); text-align: left; }
.lp-points li { display: flex; align-items: center; gap: .6rem; }
.lp-points svg { width: 16px; height: 16px; flex: none; }
.lp-footer {
  position: absolute; bottom: 2rem; left: 0; right: 0;
  text-align: center; font-size: .75rem; color: rgba(255,255,255,.5); z-index: 1;
}
@media (min-width: 1024px) and (max-height: 800px) {
  .lp-inner { gap: 1.25rem; }
  .lp { padding: 2rem; }
}


/* Base para paginas con Tailwind (el reset/elementos de style.css
   queda limitado a :not(.dash):not(.tw) para no pisar @layer utilities) */
body.dash, body.tw {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.tw { background: var(--cream); }
