/* ===================================================================
   Lexfia — tampilan publik ala firma hukum profesional.
   Dimuat SETELAH style.css (base.html). Navy + emas, judul serif
   (Playfair Display), foto dari Unsplash (lihat cms/img/CREDITS.txt).
   Dark mode mengikuti atribut data-color-mode="dark" di <html>.
   =================================================================== */

:root {
  --lx-navy: #0b1f3a;
  --lx-navy-deep: #061527;
  --lx-navy-2: #16335c;
  --lx-gold: #c8a24a;
  --lx-gold-light: #e0c377;
  --lx-gold-soft: rgba(200, 162, 74, 0.14);
  --lx-ink: #1a2433;
  --lx-muted: #5f6b7d;
  --lx-line: #e4e1d8;
  --lx-ivory: #f8f6f1;
  --lx-surface: #ffffff;
  --lx-serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

[data-color-mode="dark"] {
  --lx-ink: #e7ebf3;
  --lx-muted: #93a0b4;
  --lx-line: #232f42;
  --lx-ivory: #0e1420;
  --lx-surface: #131a27;
}

body { background: #f3f2ee; color: var(--lx-ink); }
[data-color-mode="dark"] body { background: #0a0e17; }

.lx-serif,
.lx-h1, .lx-h2, .lx-h3 { font-family: var(--lx-serif); letter-spacing: -0.01em; }

/* ── Navbar ─────────────────────────────────────────────────────── */
.site-nav { padding-top: .7rem; padding-bottom: .7rem; border-bottom: 1px solid var(--lx-line); box-shadow: none !important; }
.site-nav .nav-link { font-weight: 500; color: var(--lx-ink); position: relative; padding-left: .75rem !important; padding-right: .75rem !important; }
.site-nav .nav-link i { color: var(--lx-gold); }
.site-nav .nav-link::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 2px;
  background: var(--lx-gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .btn { border-radius: .5rem; font-weight: 600; }

/* Tombol emas solid (light mode juga) */
.btn-gold { background: var(--lx-gold); border-color: var(--lx-gold); color: var(--lx-navy-deep); font-weight: 600; }
.btn-gold:hover, .btn-gold:focus { background: var(--lx-gold-light); border-color: var(--lx-gold-light); color: var(--lx-navy-deep); }
.btn-outline-gold { border: 1px solid var(--lx-gold); color: var(--lx-gold-light); background: transparent; font-weight: 600; }
.btn-outline-gold:hover { background: var(--lx-gold); color: var(--lx-navy-deep); }
.btn-lg.lx-btn { padding: .85rem 1.6rem; border-radius: .5rem; font-size: 1rem; }

/* ── Eyebrow / judul section ─────────────────────────────────────── */
.lx-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; font-size: .75rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--lx-gold);
}
.lx-eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.lx-section { padding: 6rem 0; background: var(--lx-surface); }
.lx-bg-surface { background: var(--lx-surface); }
.lx-section-ivory { background: var(--lx-ivory); }
.lx-h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); font-weight: 700; line-height: 1.2; color: var(--lx-navy); }
[data-color-mode="dark"] .lx-h2 { color: #f4efe2; }
.lx-lead { color: var(--lx-muted); font-size: 1.05rem; line-height: 1.75; }
.lx-section-head { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.lx-section-head .lx-eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }

/* ── Hero ───────────────────────────────────────────────────────── */
.lx-hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--lx-navy-deep) url("../img/hero-library.jpg") center / cover no-repeat;
}
.lx-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 21, 39, .97) 0%, rgba(6, 21, 39, .9) 45%, rgba(11, 31, 58, .72) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(200, 162, 74, .18), transparent 55%);
}
.lx-hero > .container { position: relative; z-index: 1; }
.lx-hero-inner { padding: 6rem 0 8.5rem; }
.lx-hero .lx-h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 700; line-height: 1.12; color: #fff; margin: 1.25rem 0 1.25rem;
}
.lx-hero .lx-h1 em { font-style: italic; color: var(--lx-gold-light); }
.lx-hero-sub { color: rgba(255, 255, 255, .72); font-size: 1.1rem; line-height: 1.75; max-width: 560px; }

.lx-search {
  background: #fff; border-radius: .9rem; padding: .5rem; display: flex; gap: .25rem; flex-wrap: wrap;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35); max-width: 680px; margin-top: 2.25rem;
}
.lx-search-field { flex: 1 1 200px; display: flex; flex-direction: column; padding: .45rem .9rem; border-radius: .6rem; }
.lx-search-field + .lx-search-field { border-left: 1px solid #ece8de; }
.lx-search-field label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a6a22; margin-bottom: .1rem; }
.lx-search-field .form-select { border: 0; padding: 0 1.5rem 0 0; box-shadow: none; background-position: right 0 center; color: #1a2433; font-weight: 500; background-color: transparent; }
.lx-search .btn { flex: 0 0 auto; padding: 0 1.6rem; border-radius: .6rem; min-height: 56px; font-weight: 600; }
.lx-search .btn-primary { background: var(--lx-navy); border-color: var(--lx-navy); }
@media (max-width: 575.98px) {
  .lx-search-field + .lx-search-field { border-left: 0; border-top: 1px solid #ece8de; }
  .lx-search .btn { width: 100%; }
}
[data-color-mode="dark"] .lx-search { background: #131a27; }
[data-color-mode="dark"] .lx-search-field + .lx-search-field { border-color: #232f42; }
[data-color-mode="dark"] .lx-search-field .form-select { background-color: transparent; color: #e7ebf3; }
[data-color-mode="dark"] .lx-search-field label { color: var(--lx-gold-light); }
[data-color-mode="dark"] .lx-search .btn-primary { background: var(--lx-gold); border-color: var(--lx-gold); color: #10161f; }

.lx-chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.25rem; }
.lx-chip-row span { color: rgba(255, 255, 255, .55); font-size: .85rem; }
.lx-chip {
  color: #fff !important; text-decoration: none; font-size: .8rem; padding: .35rem .85rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); transition: all .15s;
}
.lx-chip:hover { border-color: var(--lx-gold); color: var(--lx-gold-light) !important; }

.lx-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; color: rgba(255, 255, 255, .7); font-size: .88rem; }
.lx-trust i { color: var(--lx-gold); font-size: 1.1rem; vertical-align: -2px; margin-right: .35rem; }

.lx-hero-figure { position: relative; max-width: 520px; margin-left: auto; }
.lx-hero-figure::before {
  content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1px solid rgba(200, 162, 74, .55); border-radius: 1rem;
}
.lx-hero-figure img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 1rem; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.lx-hero-badge {
  position: absolute; left: -2rem; bottom: 2.5rem; background: #fff; color: var(--lx-navy); border-radius: .9rem;
  padding: 1rem 1.2rem; display: flex; gap: .85rem; align-items: center; box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
}
.lx-hero-badge .num { font-family: var(--lx-serif); font-size: 1.75rem; font-weight: 700; line-height: 1; }
.lx-hero-badge small { color: #5f6b7d; display: block; font-size: .78rem; }
.lx-hero-badge .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--lx-gold-soft); color: #8a6a22; display: grid; place-items: center; font-size: 1.4rem; }
[data-color-mode="dark"] .lx-hero-badge { background: #131a27; color: #f4efe2; }
[data-color-mode="dark"] .lx-hero-badge small { color: #93a0b4; }

/* Strip statistik yang menumpang batas bawah hero */
.lx-stats-wrap { position: relative; z-index: 2; margin-top: -4.5rem; }
.lx-stats-band { background: linear-gradient(180deg, transparent 0, transparent 4.5rem, var(--lx-surface) 4.5rem); }
.lx-stats {
  background: var(--lx-surface); border-radius: 1rem; box-shadow: 0 25px 60px rgba(11, 31, 58, .14);
  display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--lx-line);
}
.lx-stat { padding: 1.75rem 1.5rem; display: flex; gap: 1rem; align-items: center; }
.lx-stat + .lx-stat { border-left: 1px solid var(--lx-line); }
.lx-stat .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; background: var(--lx-gold-soft); color: #9c7a2c; flex-shrink: 0; }
.lx-stat .num { font-family: var(--lx-serif); font-size: 1.9rem; font-weight: 700; color: var(--lx-navy); line-height: 1.1; }
.lx-stat .lbl { color: var(--lx-muted); font-size: .85rem; }
[data-color-mode="dark"] .lx-stat .num { color: #f4efe2; }
[data-color-mode="dark"] .lx-stat .ic { color: var(--lx-gold-light); }
@media (max-width: 991.98px) {
  .lx-stats { grid-template-columns: repeat(2, 1fr); }
  .lx-stat:nth-child(3) { border-left: 0; }
  .lx-stat:nth-child(n+3) { border-top: 1px solid var(--lx-line); }
}
@media (max-width: 575.98px) {
  .lx-stat { padding: 1.1rem .9rem; gap: .65rem; }
  .lx-stat .ic { width: 40px; height: 40px; font-size: 1.1rem; }
  .lx-stat .num { font-size: 1.4rem; }
}

/* ── Tentang / Mengapa Lexfia ───────────────────────────────────── */
.lx-about-media { position: relative; padding: 0 0 2.5rem 2.5rem; }
.lx-about-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 75%; background: var(--lx-navy); border-radius: 1rem; }
.lx-about-media img { position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 1rem; box-shadow: 0 30px 60px rgba(11, 31, 58, .2); }
.lx-about-media .lx-seal {
  position: absolute; right: -1rem; top: -1rem; width: 120px; height: 120px; border-radius: 50%; background: var(--lx-gold);
  color: var(--lx-navy-deep); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 15px 35px rgba(200, 162, 74, .45); padding: .75rem;
}
.lx-seal .num { font-family: var(--lx-serif); font-size: 2rem; font-weight: 700; line-height: 1; }
.lx-seal small { font-size: .62rem; font-weight: 700; letter-spacing: .04em; line-height: 1.25; margin-top: .25rem; }
@media (max-width: 575.98px) { .lx-about-media .lx-seal { width: 96px; height: 96px; right: .25rem; } .lx-seal .num { font-size: 1.5rem; } }

.lx-feature { display: flex; gap: 1rem; align-items: flex-start; }
.lx-feature .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--lx-gold-soft); display: grid; place-items: center; font-size: 1.35rem; flex-shrink: 0; }
.lx-feature h3 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; color: var(--lx-ink); }
.lx-feature p { color: var(--lx-muted); font-size: .9rem; margin: 0; line-height: 1.6; }

/* ── Bidang profesi (kartu bergambar) ───────────────────────────── */
.lx-practice {
  position: relative; display: block; border-radius: 1rem; overflow: hidden; aspect-ratio: 3 / 4; color: #fff !important;
  text-decoration: none; isolation: isolate; box-shadow: 0 20px 40px rgba(11, 31, 58, .15);
}
.lx-practice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: -2; }
.lx-practice::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 21, 39, .1) 20%, rgba(6, 21, 39, .92) 100%); transition: background .3s; }
.lx-practice:hover img { transform: scale(1.07); }
.lx-practice:hover::before { background: linear-gradient(180deg, rgba(11, 31, 58, .35) 0%, rgba(6, 21, 39, .95) 100%); }
.lx-practice-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; }
.lx-practice-num { font-family: var(--lx-serif); color: var(--lx-gold-light); font-size: .95rem; font-style: italic; }
.lx-practice h3 { font-family: var(--lx-serif); color: #fff; font-size: 1.6rem; font-weight: 700; margin: .25rem 0 .35rem; }
.lx-practice .meta { color: rgba(255, 255, 255, .75); font-size: .85rem; }
.lx-practice .go { display: inline-flex; align-items: center; gap: .35rem; color: var(--lx-gold-light); font-weight: 600; font-size: .85rem; margin-top: .85rem; }
.lx-practice .go i { transition: transform .2s; }
.lx-practice:hover .go i { transform: translateX(4px); }

/* ── Cara kerja (navy) ──────────────────────────────────────────── */
.lx-steps { background: var(--lx-navy); color: #fff; position: relative; overflow: hidden; }
.lx-steps::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(200, 162, 74, .2); box-shadow: 0 0 0 60px rgba(200, 162, 74, .03), 0 0 0 120px rgba(200, 162, 74, .02);
}
.lx-steps .lx-h2 { color: #fff; }
.lx-step { position: relative; padding: 2.25rem 2rem; border: 1px solid rgba(255, 255, 255, .1); border-radius: 1rem; background: rgba(255, 255, 255, .03); height: 100%; transition: border-color .2s, transform .2s; }
.lx-step:hover { border-color: rgba(200, 162, 74, .6); transform: translateY(-4px); }
.lx-step .n { font-family: var(--lx-serif); font-size: 3.25rem; line-height: 1; font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--lx-gold); }
.lx-step .ic { position: absolute; right: 1.75rem; top: 2.25rem; font-size: 1.8rem; color: var(--lx-gold); }
.lx-step h3 { color: #fff; font-family: var(--lx-serif); font-size: 1.35rem; margin: 1.25rem 0 .5rem; }
.lx-step p { color: rgba(255, 255, 255, .65); margin: 0; line-height: 1.65; }
[data-color-mode="dark"] .lx-steps { background: #0d1626; }

/* ── Peta & tabel ringkasan ─────────────────────────────────────── */
.lx-map-search { max-width: 460px; margin: 0 auto 1.5rem; }
.lx-map-search .form-control { border-radius: .6rem 0 0 .6rem; padding: .7rem 1rem; }
.lx-map-search .btn { border-radius: 0 .6rem .6rem 0; padding: 0 1.3rem; }
.lx-panel { background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 1rem; overflow: hidden; height: 100%; }
.lx-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--lx-line); }
.lx-panel-head h3 { font-family: var(--lx-serif); font-size: 1.15rem; margin: 0; color: var(--lx-ink); }
.lx-panel-head a { font-size: .82rem; font-weight: 600; text-decoration: none; color: #9c7a2c; }
.lx-rank { list-style: none; margin: 0; padding: .4rem 0; }
.lx-rank li { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; padding: .6rem 1.4rem; font-size: .92rem; }
.lx-rank .bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--lx-gold-soft); overflow: hidden; }
.lx-rank .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--lx-gold), var(--lx-gold-light)); border-radius: 4px; }
.lx-rank b { color: var(--lx-navy); }
[data-color-mode="dark"] .lx-rank b { color: var(--lx-gold-light); }
[data-color-mode="dark"] .lx-panel-head a { color: var(--lx-gold-light); }

/* ── AI teaser ──────────────────────────────────────────────────── */
.lx-ai {
  border-radius: 1.25rem; overflow: hidden; position: relative; color: #fff;
  background: var(--lx-navy-deep) url("../img/books.jpg") center / cover;
}
.lx-ai::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 21, 39, .97) 0%, rgba(6, 21, 39, .85) 55%, rgba(6, 21, 39, .4) 100%); }
.lx-ai > * { position: relative; }
.lx-ai .lx-h2 { color: #fff; }
.lx-ai-points { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.lx-ai-points li { display: flex; gap: .6rem; margin-bottom: .65rem; color: rgba(255, 255, 255, .82); }
.lx-ai-points i { color: var(--lx-gold); font-size: 1.2rem; }
.lx-ai-mock { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); border-radius: 1rem; padding: 1.25rem; }
.lx-ai-mock .b { border-radius: .8rem; padding: .7rem .95rem; font-size: .88rem; margin-bottom: .6rem; max-width: 88%; line-height: 1.55; }
.lx-ai-mock .u { background: var(--lx-gold); color: var(--lx-navy-deep); margin-left: auto; }
.lx-ai-mock .a { background: rgba(255, 255, 255, .95); color: #1a2433; }
.lx-ai-mock .src { font-size: .75rem; color: #8a6a22; border-top: 1px solid #eee; margin-top: .45rem; padding-top: .4rem; }

/* ── Blog ───────────────────────────────────────────────────────── */
.lx-post { display: block; text-decoration: none; color: inherit !important; height: 100%; }
.lx-post-img { border-radius: .9rem; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 1.1rem; background: var(--lx-ivory); }
.lx-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lx-post:hover .lx-post-img img { transform: scale(1.05); }
.lx-post h3 { font-family: var(--lx-serif); font-size: 1.25rem; color: var(--lx-ink); line-height: 1.35; }
.lx-post:hover h3 { color: #9c7a2c; }
.lx-post p { color: var(--lx-muted); font-size: .9rem; }
.lx-post .date { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lx-gold); font-weight: 700; }

/* ── CTA bergambar ──────────────────────────────────────────────── */
.lx-cta { position: relative; color: #fff; background: var(--lx-navy-deep) url("../img/courthouse.jpg") center 30% / cover; overflow: hidden; }
.lx-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 21, 39, .95), rgba(11, 31, 58, .8)); }
.lx-cta > .container { position: relative; }
.lx-cta .lx-h2 { color: #fff; }

/* ── Footer ─────────────────────────────────────────────────────── */
.lx-footer { background: var(--lx-navy-deep); color: rgba(255, 255, 255, .62); padding: 4.5rem 0 0; font-size: .9rem; }
.lx-footer h4 { color: #fff; font-family: var(--lx-serif); font-size: 1.05rem; margin-bottom: 1.1rem; }
.lx-footer ul { list-style: none; padding: 0; margin: 0; }
.lx-footer li { margin-bottom: .55rem; }
.lx-footer a { color: rgba(255, 255, 255, .68) !important; text-decoration: none; }
.lx-footer a:hover { color: var(--lx-gold-light) !important; }
.lx-footer .brand img { height: 40px; filter: brightness(0) invert(1); opacity: .95; }
.lx-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 3rem; padding: 1.4rem 0; font-size: .8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }
.lx-footer-bottom .disc { max-width: 620px; color: rgba(255, 255, 255, .45); }

/* ── Halaman auth (login / pilih akun) ──────────────────────────── */
.lx-auth { display: grid; grid-template-columns: 1.05fr 1fr; min-height: calc(100vh - 72px); background: var(--lx-surface); }
.lx-auth-aside {
  position: relative; color: #fff; padding: 3.5rem; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--lx-navy-deep) var(--lx-auth-img, url("../img/courthouse.jpg")) center / cover; overflow: hidden;
}
.lx-auth-aside::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(6, 21, 39, .93) 0%, rgba(11, 31, 58, .82) 55%, rgba(6, 21, 39, .95) 100%); }
.lx-auth-aside > * { position: relative; }
.lx-auth-aside .lx-quote { font-family: var(--lx-serif); font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.3; font-weight: 600; max-width: 520px; }
.lx-auth-aside .lx-quote::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: .6; color: var(--lx-gold); margin-bottom: .75rem; }
.lx-auth-aside ul { list-style: none; padding: 0; margin: 2rem 0 0; }
.lx-auth-aside li { display: flex; gap: .7rem; align-items: center; margin-bottom: .9rem; color: rgba(255, 255, 255, .82); }
.lx-auth-aside li i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(200, 162, 74, .18); color: var(--lx-gold-light); flex-shrink: 0; }
.lx-auth-aside .foot { display: flex; gap: 2.5rem; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 1.5rem; }
.lx-auth-aside .foot .num { font-family: var(--lx-serif); font-size: 1.6rem; color: var(--lx-gold-light); font-weight: 700; line-height: 1.1; }
.lx-auth-aside .foot small { color: rgba(255, 255, 255, .6); }
.lx-auth-main { display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; background: var(--lx-ivory); }
.lx-auth-card { width: 100%; max-width: 440px; }
.lx-auth-card.wide { max-width: 620px; }
.lx-auth-card .lx-h2 { font-size: 2.1rem; margin: .75rem 0 .4rem; }
.lx-auth-card .sub { color: var(--lx-muted); margin-bottom: 2rem; }

.lx-role-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: .7rem; padding: 4px; margin-bottom: 1.75rem; }
.lx-role-tabs a { text-align: center; padding: .6rem .5rem; border-radius: .5rem; font-size: .86rem; font-weight: 600; color: var(--lx-muted) !important; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: .4rem; }
.lx-role-tabs a.active { background: var(--lx-navy); color: #fff !important; box-shadow: 0 6px 14px rgba(11, 31, 58, .2); }
[data-color-mode="dark"] .lx-role-tabs a.active { background: var(--lx-gold); color: #10161f !important; }

.lx-field { margin-bottom: 1.15rem; }
.lx-field .form-label { font-size: .82rem; font-weight: 600; color: var(--lx-ink); margin-bottom: .4rem; text-transform: none; letter-spacing: 0; }
.lx-input { position: relative; }
.lx-input > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #9aa3b2; font-size: 1.15rem; pointer-events: none; z-index: 3; }
.lx-input .form-control { padding: .8rem 1rem .8rem 2.75rem; border-radius: .6rem; border-color: #d9d5ca; background: var(--lx-surface); font-size: .95rem; }
.lx-input .form-control:focus { border-color: var(--lx-gold); box-shadow: 0 0 0 .2rem rgba(200, 162, 74, .2); }
.lx-input .lx-eye { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); border: 0; background: none; color: #9aa3b2; font-size: 1.15rem; padding: .35rem .5rem; z-index: 3; }
.lx-input .lx-eye:hover { color: var(--lx-gold); }
.lx-input.has-eye .form-control { padding-right: 2.75rem; }
.lx-field .errorlist { list-style: none; padding: 0; margin: .35rem 0 0; color: #d0453b; font-size: .8rem; }
.lx-submit { padding: .85rem; border-radius: .6rem; font-weight: 600; font-size: 1rem; background: var(--lx-navy); border-color: var(--lx-navy); }
.lx-submit:hover { background: var(--lx-navy-2); border-color: var(--lx-navy-2); }
.lx-divider { display: flex; align-items: center; gap: .9rem; color: var(--lx-muted); font-size: .8rem; margin: 1.5rem 0; }
.lx-divider::before, .lx-divider::after { content: ""; flex: 1; height: 1px; background: var(--lx-line); }
.lx-google { padding: .75rem; border-radius: .6rem; background: var(--lx-surface); border: 1px solid #d9d5ca; color: var(--lx-ink) !important; font-weight: 600; }
.lx-google:hover { border-color: var(--lx-gold); background: var(--lx-surface); }
.lx-auth-links { margin-top: 1.75rem; font-size: .88rem; color: var(--lx-muted); text-align: center; }
.lx-auth-links a { color: #9c7a2c; font-weight: 600; text-decoration: none; }
.lx-secure { display: flex; align-items: center; justify-content: center; gap: .4rem; color: var(--lx-muted); font-size: .75rem; margin-top: 2rem; }
.lx-secure i { color: #3c9a64; }
[data-color-mode="dark"] .lx-input .form-control, [data-color-mode="dark"] .lx-google { border-color: #384358; }
[data-color-mode="dark"] .lx-auth-links a { color: var(--lx-gold-light); }
[data-color-mode="dark"] .lx-submit { background: var(--lx-gold); border-color: var(--lx-gold); color: #10161f; }

.lx-role-card {
  display: flex; gap: 1.1rem; align-items: center; padding: 1.4rem 1.5rem; border-radius: .9rem; background: var(--lx-surface);
  border: 1px solid var(--lx-line); text-decoration: none; color: var(--lx-ink) !important; transition: all .2s; margin-bottom: 1rem;
}
.lx-role-card:hover { border-color: var(--lx-gold); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(11, 31, 58, .1); }
.lx-role-card .ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; background: var(--lx-navy); color: var(--lx-gold-light); flex-shrink: 0; }
.lx-role-card.gold .ic { background: var(--lx-gold); color: var(--lx-navy-deep); }
.lx-role-card h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .2rem; color: var(--lx-ink); }
.lx-role-card p { margin: 0; color: var(--lx-muted); font-size: .88rem; }
.lx-role-card .arr { margin-left: auto; font-size: 1.4rem; color: var(--lx-gold); transition: transform .2s; }
.lx-role-card:hover .arr { transform: translateX(4px); }

@media (max-width: 991.98px) {
  .lx-auth { grid-template-columns: 1fr; min-height: 0; }
  .lx-auth-aside { padding: 2.25rem 1.5rem; min-height: 0; }
  .lx-auth-aside ul, .lx-auth-aside .foot { display: none; }
  .lx-auth-aside .lx-quote { font-size: 1.4rem; }
  .lx-auth-main { padding: 2.5rem 1rem 3rem; }
  .lx-section { padding: 4rem 0; }
  .lx-hero-inner { padding: 4rem 0 7rem; }
}

/* Animasi muncul halus saat discroll */
.lx-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.lx-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lx-reveal { opacity: 1; transform: none; transition: none; } }

/* Playfair bawaannya pakai angka old-style (naik-turun) — paksa angka lurus. */
.lx-serif, .lx-h1, .lx-h2, .lx-h3, .num, .n, .lx-practice-num { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.site-nav.navbar-light .navbar-nav .nav-link { color: #2b3648 !important; }
.site-nav.navbar-light .navbar-nav .nav-link:hover, .site-nav.navbar-light .navbar-nav .nav-link.active { color: var(--lx-navy) !important; }
[data-color-mode="dark"] .site-nav.navbar-light .navbar-nav .nav-link { color: #c3cbda !important; }
[data-color-mode="dark"] .site-nav.navbar-light .navbar-nav .nav-link:hover, [data-color-mode="dark"] .site-nav.navbar-light .navbar-nav .nav-link.active { color: #f3d98a !important; }

/* Strip statistik 3 kolom (tanpa rating) */
.lx-stats.lx-stats-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991.98px) {
  .lx-stats.lx-stats-3 { grid-template-columns: repeat(3, 1fr); }
  .lx-stats.lx-stats-3 .lx-stat:nth-child(3) { border-left: 1px solid var(--lx-line); }
  .lx-stats.lx-stats-3 .lx-stat:nth-child(n+3) { border-top: 0; }
  .lx-stats.lx-stats-3 .lx-stat { flex-direction: column; text-align: center; gap: .5rem; }
}
@media (max-width: 575.98px) {
  .lx-stats.lx-stats-3 .lx-stat { padding: 1rem .5rem; }
  .lx-stats.lx-stats-3 .lx-stat .lbl { font-size: .72rem; line-height: 1.25; }
}

/* ===================================================================
   Area akun klien — dashboard, profil, edit profil (portal/_user_account)
   =================================================================== */
.ua-page { padding: 2.5rem 0 4rem; background: var(--lx-ivory); min-height: 70vh; }

.ua-card, .ua-side, .ua-stat, .ua-cover {
  background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(11, 31, 58, .05);
}
.ua-card { padding: 1.4rem 1.5rem; }
.ua-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; gap: 1rem; }
.ua-card-head h2 { font-family: var(--lx-serif); font-size: 1.15rem; font-weight: 700; margin: 0; color: var(--lx-ink); }
.ua-card-head a { font-size: .85rem; font-weight: 600; color: var(--lx-gold); text-decoration: none; white-space: nowrap; }
.ua-muted { color: var(--lx-muted); font-size: .9rem; }

/* Sidebar: identitas + navigasi */
.ua-side { padding: 1.25rem; position: sticky; top: 1.25rem; }
.ua-id { display: flex; align-items: center; gap: .85rem; padding-bottom: 1.1rem; margin-bottom: .75rem; border-bottom: 1px solid var(--lx-line); }
.ua-id-text { min-width: 0; }
.ua-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: var(--lx-navy); color: var(--lx-gold-light); display: grid; place-items: center;
  font-family: var(--lx-serif); font-weight: 700; font-size: 1.35rem;
}
.ua-avatar img, .ua-cover-avatar img, .ua-row-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ua-avatar-lg { width: 84px; height: 84px; font-size: 2rem; }
.ua-name { font-weight: 700; color: var(--lx-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ua-meta { font-size: .8rem; color: var(--lx-muted); }
.ua-nav { display: flex; flex-direction: column; gap: .15rem; }
.ua-nav a {
  display: flex; align-items: center; gap: .7rem; padding: .62rem .8rem; border-radius: .6rem;
  color: var(--lx-ink); text-decoration: none; font-weight: 500; font-size: .93rem; transition: background .15s, color .15s;
}
.ua-nav a i { font-size: 1.15rem; color: var(--lx-muted); }
.ua-nav a:hover { background: var(--lx-gold-soft); }
.ua-nav a.active { background: var(--lx-navy); color: #fff; }
.ua-nav a.active i { color: var(--lx-gold-light); }
.ua-nav .ua-nav-logout { margin-top: .5rem; border-top: 1px solid var(--lx-line); border-radius: 0 0 .6rem .6rem; padding-top: .85rem; color: #b5442f; }
.ua-nav .ua-nav-logout i { color: #b5442f; }
[data-color-mode="dark"] .ua-nav a.active { background: var(--lx-gold); color: var(--lx-navy-deep); }
[data-color-mode="dark"] .ua-nav a.active i { color: var(--lx-navy-deep); }

@media (max-width: 991.98px) {
  .ua-page { padding-top: 1.25rem; }
  .ua-side { position: static; padding: 1rem; }
  .ua-nav { flex-direction: row; overflow-x: auto; gap: .35rem; scrollbar-width: none; }
  .ua-nav::-webkit-scrollbar { display: none; }
  .ua-nav a { white-space: nowrap; padding: .5rem .8rem; border: 1px solid var(--lx-line); }
  .ua-nav .ua-nav-logout { margin-top: 0; border-top: 1px solid var(--lx-line); border-radius: .6rem; padding-top: .5rem; }
}

/* Header halaman */
.ua-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.ua-eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lx-gold); }
.ua-title { font-family: var(--lx-serif); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--lx-ink); margin: .15rem 0 .25rem; }
.ua-sub { color: var(--lx-muted); margin: 0; }

.ua-alert, .ua-hint {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .85rem 1.1rem; border-radius: .8rem;
  margin-bottom: 1.25rem; font-size: .92rem;
}
.ua-alert { background: #fff6e0; border: 1px solid #f0d58f; color: #7a5a12; }
.ua-alert > i, .ua-hint > i { font-size: 1.3rem; }
.ua-hint { background: var(--lx-surface); border: 1px dashed var(--lx-gold); color: var(--lx-ink); }
.ua-hint > i { color: var(--lx-gold); }
.ua-hint a { font-weight: 600; color: var(--lx-gold); text-decoration: none; white-space: nowrap; }
[data-color-mode="dark"] .ua-alert { background: rgba(200, 162, 74, .12); border-color: rgba(200, 162, 74, .35); color: var(--lx-gold-light); }

/* Statistik */
.ua-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.ua-stat { padding: 1.1rem 1.2rem; display: flex; align-items: center; gap: .9rem; text-decoration: none; color: inherit; }
.ua-stat .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--lx-gold-soft); color: #9c7a2c; flex-shrink: 0; }
.ua-stat .num { font-family: var(--lx-serif); font-weight: 700; font-size: 1.55rem; line-height: 1.1; color: var(--lx-ink); }
.ua-stat .lbl { font-size: .8rem; color: var(--lx-muted); }
.ua-stat-gold { background: linear-gradient(135deg, var(--lx-navy) 0%, var(--lx-navy-2) 100%); border-color: transparent; }
.ua-stat-gold .num { color: #fff; }
.ua-stat-gold .lbl { color: rgba(255, 255, 255, .7); }
.ua-stat-gold .ic { background: rgba(224, 195, 119, .18); color: var(--lx-gold-light); }
a.ua-stat-gold:hover { transform: translateY(-2px); transition: transform .15s; }
[data-color-mode="dark"] .ua-stat .ic { color: var(--lx-gold-light); }
@media (max-width: 1199.98px) { .ua-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .ua-stat { padding: .9rem; gap: .65rem; } .ua-stat .num { font-size: 1.3rem; } }

/* Daftar (percakapan, talent, transaksi) */
.ua-list { list-style: none; margin: 0; padding: 0; }
.ua-list > li + li { border-top: 1px solid var(--lx-line); }
.ua-row { display: flex; align-items: center; gap: .85rem; padding: .75rem .25rem; text-decoration: none; color: inherit; }
a.ua-row:hover .t { color: var(--lx-gold); }
.ua-row-avatar {
  width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: grid; place-items: center;
  background: var(--lx-gold-soft); color: #8a6a22; font-weight: 700;
}
.ua-row-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ua-row-main .t { font-weight: 600; color: var(--lx-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .15s; }
.ua-row-main .s { font-size: .8rem; color: var(--lx-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ua-row-end { font-size: .78rem; color: var(--lx-muted); white-space: nowrap; flex-shrink: 0; }
i.ua-row-end { font-size: 1.2rem; }
.ua-tx-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 1.1rem; }
.ua-tx-ic.in { background: rgba(46, 150, 90, .12); color: #2e965a; }
.ua-tx-ic.out { background: rgba(181, 68, 47, .1); color: #b5442f; }
.ua-amount { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ua-amount.in { color: #2e965a; }
.ua-amount.out { color: var(--lx-ink); }

.ua-empty { text-align: center; padding: 2rem 1rem; color: var(--lx-muted); }
.ua-empty i { font-size: 2.4rem; color: var(--lx-gold); display: block; margin-bottom: .5rem; }
.ua-empty p { max-width: 340px; margin: 0 auto 1rem; font-size: .92rem; }
.ua-empty-line { color: var(--lx-muted); font-size: .9rem; margin: 0; }

/* Aksi cepat */
.ua-actions { display: flex; flex-direction: column; gap: .5rem; }
.ua-actions a {
  display: flex; align-items: center; gap: .85rem; padding: .75rem .85rem; border-radius: .75rem;
  border: 1px solid var(--lx-line); text-decoration: none; color: var(--lx-ink); transition: border-color .15s, background .15s;
}
.ua-actions a:hover { border-color: var(--lx-gold); background: var(--lx-gold-soft); }
.ua-actions .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--lx-navy); color: var(--lx-gold-light); display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0; }
.ua-actions b { display: block; font-size: .92rem; }
.ua-actions small { display: block; color: var(--lx-muted); font-size: .78rem; }
.ua-actions .go { margin-left: auto; color: var(--lx-muted); font-size: 1.2rem; }

/* Profil: kartu sampul */
.ua-cover {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  padding: 1.75rem; margin-bottom: 1.5rem; border: 0;
  background: linear-gradient(120deg, var(--lx-navy-deep) 0%, var(--lx-navy) 55%, var(--lx-navy-2) 100%);
}
.ua-cover::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 30px solid rgba(200, 162, 74, .12); pointer-events: none;
}
.ua-cover-avatar {
  width: 92px; height: 92px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: grid; place-items: center;
  background: var(--lx-gold); color: var(--lx-navy-deep); font-family: var(--lx-serif); font-size: 2.4rem; font-weight: 700;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .12);
}
.ua-cover-main { flex: 1; min-width: 200px; position: relative; z-index: 1; }
.ua-cover .ua-title { color: #fff; }
.ua-cover-btn { position: relative; z-index: 1; }
.ua-badges { display: flex; flex-wrap: wrap; gap: .45rem; }
.ua-badge {
  display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .7rem; border-radius: 999px;
  font-size: .78rem; font-weight: 500; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85);
}
.ua-badge.ok { background: rgba(46, 150, 90, .22); color: #9be3b8; }
.ua-badge.warn { background: rgba(224, 195, 119, .2); color: var(--lx-gold-light); }

.ua-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.5rem; margin: 0; }
.ua-fields > div { min-width: 0; }
.ua-fields .wide { grid-column: 1 / -1; }
.ua-fields dt { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--lx-muted); margin-bottom: .2rem; }
.ua-fields dd { margin: 0; color: var(--lx-ink); font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 575.98px) { .ua-fields { grid-template-columns: 1fr; } .ua-cover { padding: 1.25rem; } .ua-cover-btn { width: 100%; } }

.ua-wallet {
  border-radius: 1rem; padding: 1.4rem 1.5rem; color: #fff;
  background: linear-gradient(135deg, #9c7a2c 0%, var(--lx-gold) 60%, var(--lx-gold-light) 100%);
  box-shadow: 0 15px 35px rgba(200, 162, 74, .3);
}
.ua-wallet .lbl { font-size: .85rem; font-weight: 600; opacity: .9; display: flex; align-items: center; gap: .4rem; }
.ua-wallet .num { font-family: var(--lx-serif); font-size: 2rem; font-weight: 700; margin: .35rem 0 1rem; color: var(--lx-navy-deep); }
.ua-wallet .num small { font-family: inherit; font-size: .9rem; font-weight: 600; }
.ua-wallet .btn-gold { background: var(--lx-navy); border-color: var(--lx-navy); color: #fff; }

/* Form edit */
.ua-form .form-label { font-weight: 600; font-size: .88rem; color: var(--lx-ink); }
.ua-photo-row { display: flex; align-items: center; gap: 1.25rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--lx-line); }
.ua-form-actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--lx-line); }
@media (max-width: 575.98px) { .ua-photo-row { flex-direction: column; align-items: flex-start; } .ua-form-actions .btn { flex: 1; } }
.ua-alert > span, .ua-hint > span { flex: 1 1 200px; }
@media (max-width: 575.98px) { .ua-alert, .ua-hint { flex-wrap: nowrap; align-items: flex-start; flex-direction: column; } .ua-alert > i, .ua-hint > i { display: none; } .ua-alert > span, .ua-hint > span { flex: none; } .ua-alert .ms-auto, .ua-hint .ms-auto { margin-left: 0 !important; } }
