/* ============================================================================
 * Exclivia — login.css  (login split-screen premium negro/oro)
 * Look fijo oscuro (no depende de día/noche): scoped a .exc-login-page.
 * ========================================================================== */

.exc-login-page {
  --gold:       #d6a23d;
  --gold-light: #ffd875;
  --gold-dark:  #8a5c17;
  --lg-line:    rgba(214,162,61,.42);
  --lg-text:    #ffffff;
  --lg-muted:   #c5c0b7;
}

/* En login ocultamos el footer de app y forzamos fondo oscuro de página */
.exc-login-body {
  background:
    radial-gradient(circle at 50% 8%, rgba(214,162,61,.10), transparent 36%),
    radial-gradient(circle at 82% 82%, rgba(214,162,61,.07), transparent 34%),
    #030405 !important;
}
.exc-login-body .exc-footer { display: none; }

.exc-login-page {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(14px, 3vw, 44px);
  font-family: 'Inter', system-ui, sans-serif; color: var(--lg-text);
}

/* ── Shell (2 columnas + divisor) ───────────────────────────────────────── */
.exc-login-shell {
  width: min(1240px, 100%);
  display: grid; grid-template-columns: 1.02fr 46px .98fr;
  position: relative; overflow: hidden;
  border: 1px solid var(--lg-line); border-radius: 24px;
  background: linear-gradient(120deg, rgba(255,255,255,.035), transparent 28%), linear-gradient(180deg, #08090b, #050607);
  box-shadow: 0 35px 90px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.03);
}

/* ── Panel de marca (izquierda) ─────────────────────────────────────────── */
.exc-brand-side { position: relative; min-height: 720px; padding: 54px 54px 40px; overflow: hidden; }
.exc-brand-photo { position: absolute; inset: 0; z-index: 1; }
.exc-brand-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% center;
  transform: scale(1.03); filter: brightness(.82) contrast(1.04);
}
.exc-brand-fade {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 46% 40%, transparent 0 26%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.86) 100%),
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.25) 52%, rgba(0,0,0,.7) 100%);
}

.exc-brand-logo { position: relative; z-index: 3; text-align: center; width: max-content; }
.exc-lg-crown { display: block; margin: 0 auto 6px; filter: drop-shadow(0 0 14px rgba(214,162,61,.5)); }
.exc-lg-text { display: block; font-family: 'Cinzel', serif; font-weight: 600; font-size: clamp(2rem, 3.4vw, 3.2rem); letter-spacing: .18em; line-height: 1; }
.exc-lg-text span { color: var(--gold); }
.exc-lg-tag { display: block; margin-top: 8px; font-size: clamp(.7rem, 1.1vw, .95rem); letter-spacing: .5em; color: #efe7d4; padding-left: .5em; }

.exc-brand-benefits {
  position: absolute; z-index: 3; left: 54px; right: 44px; bottom: 96px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(214,162,61,.45); padding-bottom: 24px;
}
.exc-bnf { text-align: center; padding: 0 14px; border-right: 1px solid rgba(214,162,61,.3); }
.exc-bnf:last-child { border-right: 0; }
.exc-bnf i { display: block; color: var(--gold-light); font-size: 2rem; margin-bottom: 8px; text-shadow: 0 0 18px rgba(214,162,61,.5); }
.exc-bnf strong { display: block; font-family: 'Cinzel', serif; font-size: 1.05rem; }
.exc-bnf small { display: block; font-size: .95rem; color: #fff; }
.exc-brand-claim {
  position: absolute; z-index: 3; left: 54px; right: 44px; bottom: 40px; margin: 0;
  color: var(--gold-light); letter-spacing: .1em; font-size: .9rem; font-weight: 700; text-transform: uppercase;
}

/* ── Divisor dorado con rombo (línea centrada + rombo encima) ───────────── */
.exc-gold-divider { position: relative; z-index: 4; }
/* Línea dorada vertical, exactamente en el centro de la columna */
.exc-gold-divider::before {
  content: ""; position: absolute; left: 50%; top: 6%; bottom: 6%; width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--gold-light) 16%, var(--gold) 50%, var(--gold-light) 84%, transparent);
  box-shadow: 0 0 20px rgba(255,216,117,.85);
}
/* Rombo centrado sobre la línea (su fondo tapa la línea en el centro) */
.exc-gold-diamond {
  position: absolute; top: 50%; left: 50%; width: 84px; height: 84px; z-index: 2;
  transform: translate(-50%, -50%) rotate(45deg);
  display: grid; place-items: center;
  border: 2.5px solid var(--gold-light); border-radius: 10px;
  background: #100f0c; box-shadow: 0 0 30px rgba(214,162,61,.45);
}
.exc-gold-diamond i { transform: rotate(-45deg); color: var(--gold-light); font-size: 1.7rem; }

/* ── Panel del formulario (derecha) ─────────────────────────────────────── */
.exc-form-side { display: flex; align-items: center; justify-content: center; padding: clamp(34px, 4vw, 58px); }
.exc-form-card { width: 100%; max-width: 460px; text-align: center; }

.exc-lg-eyebrow { color: var(--gold-light); font-size: 1.05rem; font-weight: 700; margin: 0; }
.exc-lg-rule { width: 300px; max-width: 80%; margin: 14px auto 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); position: relative; }
.exc-lg-rule span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--gold-light); background: #08090b; padding: 0 12px; font-size: .8rem; }
.exc-lg-h1 { margin: 0; font-family: 'Cinzel', serif; font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.12; }
.exc-lg-h1 span { color: var(--gold-light); display: block; }
.exc-lg-subtitle { max-width: 420px; margin: 16px auto 26px; color: #cfc9c0; font-size: 1.02rem; line-height: 1.5; }

.exc-login-page form { text-align: left; }
.exc-lg-label { display: block; color: var(--gold-light); font-family: 'Cinzel', serif; font-weight: 600; font-size: .95rem; margin: 16px 0 8px; }
.exc-lg-input {
  display: flex; align-items: center; gap: 13px; height: 60px; padding: 0 18px;
  border: 1px solid rgba(214,162,61,.65); border-radius: 12px;
  background: rgba(255,255,255,.045); box-shadow: inset 0 0 16px rgba(0,0,0,.36);
  transition: border-color .15s, box-shadow .15s;
}
.exc-lg-input:focus-within { border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(214,162,61,.18); }
.exc-lg-input > i { color: #a9a49b; font-size: 1.25rem; }
.exc-lg-input input { flex: 1; width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 1.05rem; }
.exc-lg-input input::placeholder { color: #8a857c; }
.exc-lg-eye { border: 0; background: transparent; color: #bdb8af; font-size: 1.2rem; cursor: pointer; padding: 4px; }
.exc-lg-eye:hover { color: var(--gold-light); }

.exc-lg-row { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 22px; gap: 10px; flex-wrap: wrap; }
.exc-lg-row a { color: var(--gold-light); text-decoration: none; font-size: .9rem; }
.exc-lg-row a:hover { text-decoration: underline; }
.exc-lg-check { display: flex; align-items: center; gap: 10px; color: #fff; font-size: .92rem; font-weight: 500; cursor: pointer; margin: 0; }
.exc-lg-check input { display: none; }
.exc-lg-check span { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--lg-line); border-radius: 6px; background: rgba(255,255,255,.05); transition: background .15s; }
.exc-lg-check input:checked + span { background: linear-gradient(180deg, var(--gold-light), var(--gold)); border-color: transparent; }
.exc-lg-check input:checked + span::before { content: "\2713"; color: #100b04; font-weight: 900; font-size: .85rem; }

.exc-lg-btn {
  width: 100%; height: 62px; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(180deg, #ffd875, #c48721); color: #100b04;
  font-family: 'Cinzel', serif; font-size: 1.3rem; font-weight: 700;
  box-shadow: 0 16px 32px rgba(214,162,61,.24); transition: filter .12s, transform .12s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.exc-lg-btn:hover:not(:disabled) { filter: brightness(1.05); transform: translateY(-1px); }
.exc-lg-btn:disabled { opacity: .75; cursor: default; }

.exc-lg-security { margin: 22px auto 24px; color: #c7c1b8; font-size: .92rem; line-height: 1.45; text-align: center; }
.exc-lg-security i { color: var(--gold-light); }

.exc-lg-sep { display: flex; align-items: center; gap: 14px; color: #beb8af; font-size: .9rem; margin: 4px 0 14px; }
.exc-lg-sep span { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(214,162,61,.3)); }
.exc-lg-sep span:last-child { background: linear-gradient(90deg, rgba(214,162,61,.3), transparent); }
.exc-lg-sep em { font-style: normal; }
.exc-lg-create { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-light); font-size: 1.02rem; font-weight: 700; text-decoration: none; }
.exc-lg-create:hover { text-decoration: underline; color: var(--gold-light); }
.exc-lg-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; color: #c8c3bc; text-decoration: none; font-size: 1rem; font-weight: 600; }
.exc-lg-back:hover { color: #fff; }

.exc-login-page .alert.alert-danger { background: rgba(220,53,69,.14); border: 1px solid rgba(220,53,69,.4); color: #ffb4bd; border-radius: 10px; text-align: center; }

/* ── Responsive: apila y oculta decoración ──────────────────────────────── */
@media (max-width: 980px) {
  .exc-login-shell { grid-template-columns: 1fr; }
  .exc-brand-side { min-height: 260px; padding: 30px; }
  .exc-brand-benefits, .exc-brand-claim, .exc-gold-divider { display: none; }
  .exc-brand-logo { margin: 0 auto; }
  .exc-form-side { padding: 34px 22px 40px; }
}
@media (max-width: 420px) {
  .exc-lg-h1 { font-size: 1.7rem; }
  .exc-lg-input { height: 54px; }
  .exc-lg-btn { height: 56px; font-size: 1.15rem; }
}
