/* =========================
   Default login CSS (legacy)
   ========================= */

/* intro css */
#login_logo { height:70px; }

#intro_top {
  width:100%;
  height:100%;
  z-index:1;
  position:relative;
  background:#292929 url('images/background.jpg');
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
  background-attachment:fixed;
}

#login_wrap { width:100%; height:100%; }

#login_all {
  width:800px;
  max-width:94%;
  border-radius:20px;
  display:block;
  margin:0 auto;
  color:#fff;
}

.login_not_member { text-align:center; padding-top:5px; }

#intro_lang { position:absolute; top:10px; right:20px; width:40px; height:40px; }

/* section css */
.section { width:100%; height:auto; margin:0 auto; }
.section_content { width:100%; max-width:1100px; margin:0 auto; }
.section_inside { margin:0 auto; }

@media screen and (max-width:1120px){
  .section_inside { width:96%; }
}


/* ==========================================
   ChatLegend /main landing page theme (new)
   ========================================== */

:root{
  --bg1:#070816;
  --bg2:#0b1026;
  --card: rgba(255,255,255,.08);
  --stroke: rgba(255,255,255,.14);
  --txt: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --acc:#a855f7;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --r: 20px;
  --pad: 22px;
  --max: 980px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--txt);
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(168,85,247,.35), transparent 60%),
    radial-gradient(900px 600px at 85% 35%, rgba(59,130,246,.22), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

a{ color:inherit; }

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:24px 18px 32px;
}

header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 0 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.logo{
  width:40px;
  height:40px;
  border-radius:12px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), transparent 55%),
    linear-gradient(135deg, rgba(168,85,247,.95), rgba(59,130,246,.85));
  box-shadow: 0 12px 30px rgba(168,85,247,.22);
}

.brand b{ letter-spacing:.2px; }

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
  font-size:14px;
  color:var(--muted);
}

.nav a{
  opacity:.9;
  text-decoration:none;
  padding:8px 10px;
  border-radius:12px;
}

.nav a:hover{
  background:rgba(255,255,255,.06);
  color:var(--txt);
}

.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  align-items:stretch;
  margin-top:10px;
}

@media (max-width: 860px){
  .hero{ grid-template-columns:1fr; }
}

.card{
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:var(--r);
  box-shadow:var(--shadow);
  padding:var(--pad);
  backdrop-filter: blur(10px);
}

h1{
  margin:4px 0 10px;
  font-size:40px;
  line-height:1.05;
}

@media (max-width: 520px){
  h1{ font-size:34px; }
}

.sub{
  color:var(--muted);
  font-size:16px;
  line-height:1.5;
  margin:0 0 18px;
}

.cta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.06);
  color:var(--txt);
  font-weight:700;
  letter-spacing:.2px;
  min-width: 170px;
  transition: transform .08s ease, background .15s ease;
  user-select:none;
}

.btn:hover{
  background:rgba(255,255,255,.10);
  transform: translateY(-1px);
}

.btn.primary{
  border-color: rgba(168,85,247,.55);
  background: linear-gradient(135deg, rgba(168,85,247,.92), rgba(59,130,246,.78));
  box-shadow: 0 16px 40px rgba(168,85,247,.18);
}

.btn.primary:hover{ filter: brightness(1.02); }

.small{
  font-size:13px;
  color:var(--muted);
  margin-top:12px;
}

.kpis{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:10px;
}

.kpi{
  padding:12px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:rgba(0,0,0,.18);
}

.kpi b{ display:block; font-size:18px; }
.kpi span{ color:var(--muted); font-size:13px; }

footer{
  margin-top:auto;
  padding:18px 0 0;
  color:var(--muted);
  font-size:13px;
}

footer .footlinks{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

footer .footlinks a{
  text-decoration:none;
  opacity:.9;
}

footer .footlinks a:hover{
  opacity:1;
  text-decoration:underline;
}
/* =========================
   ChatLegend Landing FIXES
   Scope: only .cl-landing
   ========================= */

.cl-landing{
  min-height:100vh;
  margin:0;
  color:#fff !important;
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(168,85,247,.35), transparent 60%),
    radial-gradient(900px 600px at 85% 35%, rgba(59,130,246,.22), transparent 55%),
    linear-gradient(180deg, #070816, #0b1026) !important;
}

/* Prevent Boom/global styles from washing out text */
.cl-landing *{
  text-shadow: none;
}

.cl-landing .wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 18px 32px;
}

/* Header/Nav readability */
.cl-landing header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 0 18px;
}

.cl-landing .nav a{
  color: rgba(255,255,255,.85) !important;
  opacity: 1 !important;
  text-decoration:none;
  padding:8px 10px;
  border-radius:12px;
}

.cl-landing .nav a:hover{
  background: rgba(255,255,255,.08);
  color:#fff !important;
}

/* Cards should be glassy dark, not light grey */
.cl-landing .card{
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
}

/* Fix title/subtitle contrast */
.cl-landing h1{
  color: rgba(255,255,255,.95) !important;
}

.cl-landing .sub{
  color: rgba(255,255,255,.72) !important;
  opacity: 1 !important;
}

/* Buttons: stop looking disabled */
.cl-landing .btn{
  color: rgba(255,255,255,.92) !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  opacity: 1 !important;

  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 700;
  min-width: 170px;
  cursor: pointer;
  user-select:none;
  transition: transform .08s ease, background .15s ease, filter .15s ease;
}

.cl-landing .btn:hover{
  background: rgba(255,255,255,.12) !important;
  transform: translateY(-1px);
}

/* Primary CTA pops again */
.cl-landing .btn.primary{
  color:#fff !important;
  border-color: rgba(168,85,247,.55) !important;
  background: linear-gradient(135deg, rgba(168,85,247,.92), rgba(59,130,246,.78)) !important;
  box-shadow: 0 16px 40px rgba(168,85,247,.18);
}

/* Quick info tiles */
.cl-landing .kpi{
  background: rgba(0,0,0,.18) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}

/* Footer bar from boomTemplate is forcing heavy black.
   So soften only on landing page. */
.cl-landing #page_footer,
.cl-landing .page_footer,
.cl-landing footer{
  background: rgba(0,0,0,.35) !important;
  border-top: 1px solid rgba(255,255,255,.10);
}
/* Green Font Awesome icons inside bcell_mid */
.bcell_mid .fa,
.bcell_mid .fas,
.bcell_mid .far,
.bcell_mid .fab {
    color: #22c55e !important;   /* clean modern green */
}
/* Modal title styling */
.modal_title {
    color: #a855f7 !important; /* matches your purple theme */
    font-weight: 700;
    letter-spacing: 0.3px;
}
.text_med {
    font-size: 16px;
}

.bold {
    font-weight: 700;
}

.bpad5 {
    padding-bottom: 5px;
}

/* Force black text */
.text_med.bold.bpad5{
    color: #000 !important;
}
p {
    color: #000 !important;
}