/* ==========================================================
   Lawtopia — inner account pages (shared student UI)
   ========================================================== */
body.lawtopia-platform.student-no-header,
body.lawtopia-platform.acc-body {
  background: var(--lt-paper) !important;
  color: var(--lt-ink) !important;
  font-family: var(--lt-font-body) !important;
}

/* Top bar */
body.lawtopia-platform .acc-topbar,
body.lawtopia-platform .acc-header,
body.lawtopia-platform header.acc-bar {
  background: var(--hdr-bg) !important;
  border-bottom: 1px solid var(--lt-rule) !important;
  box-shadow: none !important;
  color: inherit !important;
}
body.lawtopia-platform .acc-brand__name {
  font-family: var(--lt-font-display) !important;
  font-weight: 700 !important;
  color: var(--lt-ink) !important;
}
body.lawtopia-platform .acc-brand__sub {
  font-size: .6rem !important;
  font-weight: 700 !important;
  letter-spacing: .28em !important;
  text-transform: uppercase !important;
  color: var(--lt-orange) !important;
}

/* Sidebar */
body.lawtopia-platform .acc-sidebar {
  background: var(--lt-orange-tint) !important;
  border: 1px solid var(--lt-rule) !important;
  border-radius: var(--lt-radius) !important;
  color: inherit !important;
}
body.lawtopia-platform .acc-sidebar a {
  border-radius: var(--lt-radius) !important;
  color: var(--lt-muted) !important;
}
body.lawtopia-platform .acc-sidebar a.is-active,
body.lawtopia-platform .acc-sidebar a:hover {
  background: var(--lt-orange-tint-2) !important;
  color: var(--lt-orange-deep) !important;
}

/* Surfaces */
body.lawtopia-platform .acc-card,
body.lawtopia-platform .acc-box,
body.lawtopia-platform .acc-section,
body.lawtopia-platform .course-card,
body.lawtopia-platform .lecture-card {
  background: var(--lt-paper) !important;
  border: 1px solid var(--lt-rule) !important;
  border-radius: var(--lt-radius) !important;
  box-shadow: none !important;
}
body.lawtopia-platform .course-card:hover,
body.lawtopia-platform .lecture-card:hover {
  border-color: var(--lt-orange) !important;
}

/* Headings */
body.lawtopia-platform .acc-card h1,
body.lawtopia-platform .acc-card h2,
body.lawtopia-platform .acc-card h3,
body.lawtopia-platform .acc-section h2,
body.lawtopia-platform .acc-title {
  font-family: var(--lt-font-display) !important;
  font-weight: 700 !important;
  color: var(--lt-ink) !important;
}

/* Buttons */
body.lawtopia-platform .acc-btn,
body.lawtopia-platform .btnx.solid {
  background: var(--lt-orange) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--lt-radius) !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
body.lawtopia-platform .acc-btn:hover,
body.lawtopia-platform .btnx.solid:hover { background: var(--lt-orange-deep) !important; }

body.lawtopia-platform .btnx.ghost,
body.lawtopia-platform .acc-btn--ghost {
  background: transparent !important;
  color: var(--lt-ink) !important;
  border: 1px solid var(--lt-rule-warm) !important;
  border-radius: var(--lt-radius) !important;
}
body.lawtopia-platform .btnx.ghost:hover,
body.lawtopia-platform .acc-btn--ghost:hover {
  color: var(--lt-orange) !important;
  border-color: var(--lt-orange) !important;
}

/* Inputs */
body.lawtopia-platform .acc-input,
body.lawtopia-platform .acc-field input,
body.lawtopia-platform .acc-field select,
body.lawtopia-platform .acc-field textarea {
  background: var(--lt-paper) !important;
  color: var(--lt-ink) !important;
  border: 1px solid var(--lt-rule) !important;
  border-radius: var(--lt-radius) !important;
}
body.lawtopia-platform .acc-input:focus,
body.lawtopia-platform .acc-field input:focus,
body.lawtopia-platform .acc-field select:focus {
  outline: none !important;
  border-color: var(--lt-orange) !important;
  box-shadow: 0 0 0 3px rgba(226, 87, 26, .14) !important;
}

/* Pills & badges */
body.lawtopia-platform .acc-pill,
body.lawtopia-platform .wallet-pill {
  background: var(--lt-orange) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}
body.lawtopia-platform .acc-chip,
body.lawtopia-platform .badge {
  background: var(--lt-orange-tint-2) !important;
  color: var(--lt-orange-deep) !important;
  border: 1px solid var(--lt-rule-warm) !important;
  border-radius: 999px !important;
}

/* Progress */
body.lawtopia-platform .acc-progress,
body.lawtopia-platform .progress { background: var(--lt-orange-tint-2) !important; }
body.lawtopia-platform .acc-progress > span,
body.lawtopia-platform .progress > span { background: var(--lt-orange) !important; }

/* Links */
body.lawtopia-platform .acc-link { color: var(--lt-orange) !important; font-weight: 700 !important; }

/* Responsive account surfaces */
@media (max-width: 980px) {
  body.lawtopia-platform .acc-layout,
  body.lawtopia-platform .acc-shell {
    padding-inline: .75rem !important;
  }
  body.lawtopia-platform .acc-sidebar {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.lawtopia-platform .acc-card,
  body.lawtopia-platform .acc-box,
  body.lawtopia-platform .acc-section {
    padding: 1rem !important;
  }
  body.lawtopia-platform .acc-grid,
  body.lawtopia-platform .acc-courses-grid,
  body.lawtopia-platform .wallet-summary {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  body.lawtopia-platform .acc-btn,
  body.lawtopia-platform .btnx.solid,
  body.lawtopia-platform .btnx.ghost {
    width: 100%;
    justify-content: center;
  }
  body.lawtopia-platform .acc-input,
  body.lawtopia-platform .acc-field input,
  body.lawtopia-platform .acc-field select,
  body.lawtopia-platform .acc-field textarea {
    width: 100% !important;
    max-width: 100% !important;
  }
}
