/* ═══════════════════════════════════════════════════════════
   SMMPanelz — CUSTOM-1 THEME
   "Zero Bootstrap Look" — 100% Custom Premium Light Theme
   Primary: #0983FE (Logo Blue)
   ═══════════════════════════════════════════════════════════ */

/* ─── 1. CSS Variables ─── */
:root {
  --primary: #0983FE;
  --primary-hover: #0370E8;
  --primary-active: #0260CC;
  --primary-light: #E8F4FD;
  --primary-rgb: 9, 131, 254;
  --primary-subtle: rgba(var(--primary-rgb), 0.08);

  --secondary: #64748B;
  --accent: #8B5CF6;
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --info: #0EA5E9;

  --body: #F0F2F5;
  --surface: #FFFFFF;
  --surface-alt: #F8F9FB;
  --border: #E2E5EA;
  --border-light: #EDEFF2;

  --text: #1A1D23;
  --text-secondary: #5A606C;
  --text-muted: #9399A6;

  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 50px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);

  --font: 'Poppins', system-ui, -apple-system, sans-serif;
}

/* ─── 2. Base Reset ─── */
* { box-sizing: border-box; }

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--body);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover { color: var(--primary-hover); }

::selection { background: var(--primary); color: #fff; }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* ─── 3. Loading ─── */
#loading { background: var(--body) !important; }

/* ─── 4. LOGGED-IN SIDEBAR (left side, creative) ─── */
/* Mobile top bar */
.loggedin-topbar-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 54px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
}
.loggedin-topbar-hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.loggedin-topbar-hamburger span {
  display: block;
  width: 20px; height: 2.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.2s;
}
.loggedin-topbar-mobile-brand {
  flex: 1;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.loggedin-topbar-mobile-brand img {
  max-height: 34px;
  width: auto;
}
.loggedin-topbar-mobile-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.loggedin-topbar-mobile-balance {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

/* Sidebar backdrop */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 998;
}
.sidebar-backdrop.open { display: block; }

/* Sidebar */
.loggedin-sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 260px;
  background: var(--surface);
  z-index: 999;
  box-shadow: 2px 0 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.loggedin-sidebar-inner {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Close button (mobile) */
.loggedin-sidebar-close {
  display: none;
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  z-index: 1;
}
.loggedin-sidebar-close:hover { background: #FEE2E2; color: #DC2626; }

/* Brand */
.loggedin-sidebar-brand {
  padding: 28px 22px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.loggedin-sidebar-brand a {
  text-decoration: none;
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
}
.loggedin-sidebar-brand img { max-height: 48px; width: auto; }
.loggedin-sidebar-logo-placeholder {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.3);
}
.loggedin-sidebar-logo-placeholder span { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: 0.5px; }
.loggedin-sidebar-name { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }

/* User info + Currency */
.loggedin-sidebar-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  gap: 8px;
}
.loggedin-sidebar-user-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.loggedin-sidebar-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.loggedin-sidebar-avatar span { font-size: 14px; font-weight: 600; color: #fff; }
.loggedin-sidebar-userinfo {
  display: flex; flex-direction: column;
  min-width: 0;
}
.loggedin-sidebar-username {
  font-size: 13px; font-weight: 600;
  color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.loggedin-sidebar-balance {
  font-size: 12px; font-weight: 500;
  color: var(--primary);
}
.loggedin-sidebar-user-currency {
  flex-shrink: 0;
}
.loggedin-sidebar-user-currency .loggedin-sidebar-curr-selector { position: relative; }
.loggedin-sidebar-user-currency .loggedin-sidebar-curr-current {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px; font-weight: 600;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}
.loggedin-sidebar-user-currency .loggedin-sidebar-curr-current::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s;
}
.loggedin-sidebar-user-currency .loggedin-sidebar-curr-selector.open .loggedin-sidebar-curr-current::after {
  transform: rotate(-135deg);
  margin-top: 1px;
}
.loggedin-sidebar-user-currency .loggedin-sidebar-curr-list {
  display: none;
  position: absolute; top: 100%; right: 0; left: auto;
  min-width: 80px;
  margin-top: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  list-style: none; padding: 3px; z-index: 20;
}
.loggedin-sidebar-user-currency .loggedin-sidebar-curr-selector.open .loggedin-sidebar-curr-list { display: block; }
.loggedin-sidebar-user-currency .loggedin-sidebar-curr-list li a {
  display: block;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 4px;
}
.loggedin-sidebar-user-currency .loggedin-sidebar-curr-list li a:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}

/* Section label */
.loggedin-sidebar-section-label {
  display: block;
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 6px;
  padding: 0 22px;
}

/* Navigation */
.loggedin-sidebar-nav {
  padding: 16px 22px 8px;
  flex: 1;
}
.loggedin-sidebar-nav ul {
  list-style: none; padding: 0; margin: 0;
}
.loggedin-sidebar-nav ul li a {
  display: flex; align-items: center;
  gap: 12px;
  padding: 9px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.15s;
}
.loggedin-sidebar-nav ul li a:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}
.loggedin-sidebar-nav ul li a i {
  width: 20px; text-align: center; font-size: 14px;
}

/* Sub menu */
.loggedin-has-children > a .li-arrow {
  margin-left: auto;
  transition: transform 0.2s;
}
.loggedin-has-children.open > a .li-arrow { transform: rotate(180deg); }
.loggedin-sub-menu {
  display: none;
  list-style: none;
  padding: 0 0 4px 24px !important;
  margin: 0;
}
.loggedin-has-children.open .loggedin-sub-menu { display: block; }

/* Language dropdown + Actions (above nav) */
.loggedin-sidebar-actions {
  padding: 10px 18px 4px;
  border-bottom: 1px solid var(--border-light);
}
.loggedin-sidebar-lang-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.loggedin-sidebar-lang-dropdown {
  position: relative;
}
.loggedin-sidebar-lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.loggedin-sidebar-lang-trigger:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.loggedin-sidebar-lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 120px;
  margin-top: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 3px;
  z-index: 20;
}
.loggedin-sidebar-lang-dropdown.open .loggedin-sidebar-lang-menu {
  display: block;
}
.loggedin-sidebar-lang-menu li a {
  display: block;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 4px;
}
.loggedin-sidebar-lang-menu li a:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}
.loggedin-sidebar-lang-menu li.active a {
  background: var(--primary);
  color: #fff;
}
.loggedin-sidebar-action-row {
  display: flex;
  align-items: center;
  gap: 3px;
}
.loggedin-sidebar-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  color: var(--text-secondary);
  background: transparent;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s;
}
.loggedin-sidebar-action-btn:hover { background: var(--primary-subtle); color: var(--primary); }
.loggedin-sidebar-action-btn-danger:hover { background: #FEE2E2; color: #DC2626; }

/* Sidebar padding for main content */
body.logged-in-sidebar {
  padding-left: 260px;
}

/* ─── 5. GUEST TOP NAVBAR ─── */
.guest-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}
.guest-topbar-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 24px;
  max-width: 100%;
}

/* Left brand */
.guest-topbar-left { display: flex; align-items: center; flex-shrink: 0; }
.guest-topbar-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.guest-topbar-brand img { max-height: 42px; width: auto; }
.guest-topbar-brand-text {
  font-weight: 800; font-size: 20px;
  color: var(--text); letter-spacing: -0.5px;
}

/* Center nav */
.guest-topbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.guest-topbar-nav > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.15s;
}
.guest-topbar-nav > li > a:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}

/* Dropdowns */
.guest-topbar-dropdown { position: relative; }
.guest-topbar-dropdown-trigger {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  background: none; border: none;
  font-family: var(--font);
  transition: all 0.15s;
}
.guest-topbar-dropdown-trigger:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}
.guest-topbar-dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  margin-top: 6px;
  min-width: 160px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s;
  z-index: 1001;
}
.guest-topbar-dropdown.open .guest-topbar-dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.guest-topbar-dropdown-menu li a {
  display: block;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.1s;
}
.guest-topbar-dropdown-menu li a:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}
.guest-topbar-dropdown-menu-right { left: auto; right: 0; }
.guest-topbar-dropdown-menu li.active a {
  background: var(--primary-subtle);
  color: var(--primary);
  font-weight: 600;
}

/* Right section */
.guest-topbar-right {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0; margin-left: auto;
}
.guest-topbar-btn {
  padding: 7px 18px;
  font-size: 13px; font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.guest-topbar-btn-primary {
  background: var(--primary);
  color: #fff;
}
.guest-topbar-btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}
.guest-topbar-btn-outline {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.guest-topbar-btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Guest topbar padding for body */
body:not(.logged-in-sidebar) {
  padding-top: 60px;
}


/* ─── Landing Page Responsive ─── */
@media (max-width: 1024px) {
  .lp-content-inner { gap: 40px; }
  .lp-login-wrap { width: 340px; }
  .lp-bubble { display: none; }
}
@media (max-width: 991px) {
  .lp-heading { font-size: 30px; }
  .lp-content { padding: 40px 0; min-height: auto; }
  .lp-content-inner { flex-direction: column; gap: 36px; padding: 0 20px; }
  .lp-hero { text-align: center; }
  .lp-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .lp-stats-row { justify-content: center; }
  .lp-actions { justify-content: center; }
  .lp-platforms { justify-content: center; }
  .lp-login-wrap { width: 100%; max-width: 380px; margin: 0 auto; }
  .lp-card { padding: 24px 20px; }
  .lp-section { padding: 50px 0; }
  .lp-section-title { font-size: 26px; }
  .lp-counter-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lp-counter-num { font-size: 28px; }
  .lp-steps { flex-direction: column; align-items: center; gap: 16px; }
  .lp-step { max-width: 280px; }
  .lp-step-arrow { transform: rotate(90deg); padding: 0; }
  .lp-cta-box { padding: 40px 24px; }
  .lp-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .lp-footer { padding: 40px 0 0; }
  .lp-footer-inner { padding: 0 20px; }
  .lp-footer-bottom { padding: 16px 0; font-size: 12px; }
}

/* ─── LANDING: 768px ─── */
@media (max-width: 768px) {
  .lp-heading { font-size: 28px; }
  .lp-announce { padding: 8px 0; }
  .lp-announce-inner { padding: 0 12px; }
  .lp-content { padding: 30px 0; }
  .lp-content-inner { gap: 28px; padding: 0 16px; }
  .lp-hero { text-align: center; }
  .lp-sub { font-size: 14px; }
  .lp-stats-row { gap: 8px 12px; flex-wrap: wrap; }
  .lp-stat { font-size: 12px; }
  .lp-actions { flex-direction: column; gap: 10px; }
  .lp-actions a { width: 100%; justify-content: center; }
  .lp-platforms { gap: 6px; flex-wrap: wrap; justify-content: center; }
  .lp-pill { font-size: 11px; padding: 4px 10px; }
  .lp-login-wrap { width: 100%; max-width: 360px; }
  .lp-card { padding: 24px 18px; }
  .lp-section { padding: 40px 0; }
  .lp-section-title { font-size: 24px; }
  .lp-section-desc { font-size: 14px; }
  .lp-feat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .lp-counter-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lp-counter-num { font-size: 26px; }
  .lp-steps { flex-direction: column; align-items: center; gap: 12px; }
  .lp-step { max-width: 100%; text-align: center; }
  .lp-step-arrow { transform: rotate(90deg); padding: 0; }
  .lp-cta-box { padding: 36px 20px; }
  .lp-footer { padding: 36px 0 0; }
  .lp-footer-inner { padding: 0 18px; }
  .lp-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .lp-footer-bottom { padding: 14px 0; font-size: 11px; }
  .lp-bubble { display: none; }
}
@media (max-width: 480px) {
  .lp-heading { font-size: 24px; }
  .lp-announce-inner { padding: 0 10px; }
  .lp-announce-label { font-size: 10px; padding: 3px 8px; }
  .lp-content-inner { gap: 24px; padding: 0 14px; }
  .lp-sub { font-size: 13px; }
  .lp-stats-row { gap: 4px 10px; }
  .lp-stat { font-size: 11px; }
  .lp-actions a { width: 100%; justify-content: center; font-size: 13px; }
  .lp-platforms { gap: 4px; }
  .lp-pill { font-size: 10px; padding: 3px 8px; }
  .lp-login-wrap { width: 100%; max-width: 100%; }
  .lp-card { padding: 20px 16px; border-radius: 20px; }
  .lp-card-title { font-size: 18px; }
  .lp-section { padding: 30px 0; }
  .lp-section-title { font-size: 20px; }
  .lp-section-desc { font-size: 13px; }
  .lp-feat-grid { grid-template-columns: 1fr; gap: 12px; }
  .lp-feat-card { padding: 18px; }
  .lp-counter-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .lp-counter-item { padding: 16px; }
  .lp-counter-num { font-size: 22px; }
  .lp-counter-label { font-size: 11px; }
  .lp-steps { gap: 8px; }
  .lp-step { padding: 16px; }
  .lp-step-num { width: 36px; height: 36px; font-size: 16px; }
  .lp-step h4 { font-size: 14px; }
  .lp-step p { font-size: 12px; }
  .lp-cta-box { padding: 28px 16px; border-radius: 20px; }
  .lp-cta-box .lp-section-title { font-size: 20px; }
  .lp-footer { padding: 30px 0 16px; }
  .lp-footer-inner { padding: 0 16px; }
  .lp-footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .lp-footer-col h4 { font-size: 14px; margin-bottom: 10px; }
  .lp-footer-col p, .lp-footer-col li { font-size: 12px; }
  .lp-footer-col ul li { padding: 3px 0; }
  .lp-footer-bottom { padding: 12px 0; font-size: 11px; }
  .lp-badge { font-size: 11px; padding: 4px 12px; }
  .lp-svg-blob { display: none; }
  .lp-svg-dot { display: none; }
  .lp-svg-shape { display: none; }
}

/* Responsive */
@media (max-width: 991px) {
  .loggedin-sidebar {
    transform: translateX(-100%);
  }
  .loggedin-sidebar.open { transform: translateX(0); }
  .loggedin-topbar-mobile { display: flex !important; }
  .loggedin-sidebar-close { display: flex; top: 8px; right: 8px; width: 28px; height: 28px; }
  body.logged-in-sidebar { padding-left: 0; padding-top: 54px; }
  .loggedin-sidebar-inner {
    -webkit-overflow-scrolling: touch;
  }
  .loggedin-sidebar-brand { padding: 8px 16px 10px; }
  .loggedin-sidebar-brand img { max-height: 36px; }
  .loggedin-sidebar-logo-placeholder { width: 40px; height: 40px; }
  .loggedin-sidebar-logo-placeholder span { font-size: 17px; }
  .loggedin-sidebar-name { font-size: 15px; }
  .loggedin-sidebar-actions { padding: 6px 14px 2px; }
  .loggedin-sidebar-user { padding: 10px 14px; }
  .loggedin-sidebar-nav { padding: 10px 14px 4px; }
  .guest-topbar-nav { display: none; }
  .guest-topbar-hamburger { display: flex !important; margin-right: 0; }
  .guest-topbar-mobile-lang { display: flex; }
  .guest-topbar-auth-btns { display: none; }
  .guest-topbar-btn { padding: 6px 10px; font-size: 12px; }
  .guest-topbar-right { gap: 6px; }
}

@media (min-width: 992px) {
  .sidebar-backdrop { display: none !important; }
  .loggedin-topbar-mobile { display: none !important; }
  .guest-topbar-hamburger { display: none !important; }
  .guest-mobile-menu { display: none !important; }
  .guest-topbar-mobile-lang { display: none !important; }
  .guest-topbar-auth-btns { display: inline-flex; }
}

/* ─── 6. GUEST MOBILE MENU ─── */
.guest-topbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 8px;
}
.guest-topbar-hamburger span {
  display: block;
  width: 20px; height: 2.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.2s;
}
.guest-topbar-hamburger:hover span { background: var(--primary); }

.guest-mobile-menu {
  position: fixed;
  top: 60px; left: 0; right: 0;
  bottom: auto;
  background: var(--surface);
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-top: 1px solid var(--border);
}
.guest-mobile-menu.open {
  max-height: 85vh;
  overflow-y: auto;
}

.guest-mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-light);
}
.guest-mobile-menu-title {
  font-size: 15px; font-weight: 600; color: var(--text);
}
.guest-mobile-menu-close {
  background: none; border: none;
  font-size: 24px; color: var(--text-muted);
  cursor: pointer; padding: 4px; line-height: 1;
}

.guest-mobile-menu-links {
  flex: 1; overflow-y: auto;
  list-style: none; padding: 8px; margin: 0;
}
.guest-mobile-menu-links li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  font-size: 13.5px; font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.1s;
}
.guest-mobile-menu-links li a:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}
.guest-mobile-label {
  display: block;
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted);
  padding: 8px 12px 4px;
}
.guest-mobile-lang a {
  display: inline-flex !important;
  margin: 2px;
  font-size: 13px !important;
}
.guest-mobile-lang a.active {
  background: var(--primary-subtle);
  color: var(--primary);
  font-weight: 600;
}

.guest-mobile-has-children > a svg {
  margin-left: auto;
  transition: transform 0.2s;
}
.guest-mobile-has-children.open > a svg { transform: rotate(180deg); }
.guest-mobile-sub {
  display: none;
  list-style: none; padding: 0 0 4px 20px !important; margin: 0;
}
.guest-mobile-has-children.open .guest-mobile-sub { display: block; }

.guest-mobile-menu-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border-light);
  display: flex; gap: 8px;
}
.guest-mobile-btn {
  flex: 1; padding: 9px 12px; text-align: center;
  font-size: 13px; font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none; transition: all 0.1s;
}
.guest-mobile-btn-primary {
  background: var(--primary); color: #fff;
}
.guest-mobile-btn-primary:hover { background: var(--primary-hover); color: #fff; }
.guest-mobile-btn-outline {
  background: var(--surface); color: var(--text-secondary);
  border: 1px solid var(--border);
}
.guest-mobile-btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ─── 5. CARDS / PANELS — Zero Bootstrap Look ─── */
.panel,
.card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow) !important;
  margin-bottom: 20px;
}
.panel:hover,
.card:hover {
  box-shadow: var(--shadow-md);
}

.panel-heading,
.card-header {
  background: transparent !important;
  border-bottom: 1px solid var(--border-light) !important;
  padding: 16px 22px !important;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
}
.panel-body,
.card-body {
  padding: 22px !important;
}
.panel-footer,
.card-footer {
  background: var(--surface-alt) !important;
  border-top: 1px solid var(--border-light) !important;
  padding: 14px 22px !important;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
}

/* Well */
.well {
  background: var(--surface-alt) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: none !important;
}

/* ─── 6. STAT CARDS ─── */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.stat-card .stat-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #fff;
  margin-bottom: 14px;
}
.stat-card .stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.stat-card .stat-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

/* ─── 7. TABLES — Fully Custom ─── */
.table {
  width: 100%;
  margin-bottom: 0;
  color: var(--text);
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}
.table > thead > tr > th {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border: none;
  white-space: nowrap;
}
.table > thead > tr:first-child > th:first-child {
  border-radius: var(--radius) 0 0 0;
}
.table > thead > tr:first-child > th:last-child {
  border-radius: 0 var(--radius) 0 0;
}
.table > tbody > tr > td {
  padding: 12px 16px;
  border: none;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  vertical-align: middle;
  background: #fff;
}
.table > tbody > tr:last-child > td {
  border-bottom: none;
}
.table > tbody > tr:hover > td {
  background: rgba(var(--primary-rgb), 0.03);
}
.table > tbody > tr:nth-child(even) > td {
  background: rgba(255,255,255,0.5);
}
.table > tbody > tr:nth-child(even):hover > td {
  background: rgba(var(--primary-rgb), 0.03);
}

.table-bordered {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > td {
  border: none;
  border-bottom: 1px solid var(--border-light);
}
.table-bordered > thead > tr > th {
  border-bottom: none;
}
.table-bordered > tbody > tr:last-child > td {
  border-bottom: none;
}

/* ─── 8. BUTTONS — Zero Bootstrap ─── */
.btn {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.15s;
  line-height: 1.5;
  text-shadow: none !important;
  box-shadow: none !important;
  background-image: none !important;
}
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.btn-primary {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}
.btn-primary:hover {
  background: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.3) !important;
}
.btn-primary:active {
  background: var(--primary-active) !important;
  transform: translateY(0);
}

.btn-success { background: var(--success) !important; border-color: var(--success) !important; color: #fff !important; }
.btn-success:hover { background: #059669 !important; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(16,185,129,0.3) !important; }
.btn-danger { background: var(--danger) !important; border-color: var(--danger) !important; color: #fff !important; }
.btn-danger:hover { background: #DC2626 !important; transform: translateY(-1px); }
.btn-warning { background: var(--warning) !important; border-color: var(--warning) !important; color: #fff !important; }
.btn-warning:hover { background: #D97706 !important; }
.btn-info { background: var(--info) !important; border-color: var(--info) !important; color: #fff !important; }
.btn-info:hover { background: #0284C7 !important; }

.btn-default, .btn-secondary {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  color: var(--text-secondary) !important;
}
.btn-default:hover, .btn-secondary:hover {
  background: var(--surface-alt) !important;
  border-color: #CBD5E1 !important;
  color: var(--text) !important;
}

.btn-link {
  color: var(--primary) !important;
  background: transparent !important;
  border-color: transparent !important;
}
.btn-link:hover { color: var(--primary-hover) !important; }

.btn-sm { padding: 5px 14px; font-size: 12px; }
.btn-xs { padding: 3px 10px; font-size: 11px; }
.btn-lg { padding: 11px 28px; font-size: 15px; }

.btn-group .btn:first-child:not(:last-child) {
  border-radius: var(--radius) 0 0 var(--radius);
}
.btn-group .btn:last-child:not(:first-child) {
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ─── 9. FORMS ─── */
.form-control {
  border-radius: var(--radius) !important;
  border: 1.5px solid var(--border) !important;
  background: var(--surface) !important;
  color: var(--text) !important;
  font-size: 13.5px !important;
  padding: 9px 14px !important;
  height: auto !important;
  min-height: 40px;
  box-shadow: none !important;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: var(--font);
}
.form-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15) !important;
  outline: none;
}
.form-control::placeholder {
  color: var(--text-muted);
}
.form-control[disabled],
.form-control[readonly] {
  background: var(--surface-alt) !important;
  opacity: 0.7;
}

/* Bootstrap form-group for AJAX-loaded content */
.form-group {
  margin-bottom: 16px;
}

.control-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 35px;
}

label {
  font-weight: 500;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 4px;
}

.input-group-addon {
  background: var(--surface-alt) !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text-secondary);
  border-radius: var(--radius);
  min-width: 40px;
  text-align: center;
}
.input-group .form-control:first-child {
  border-radius: var(--radius) 0 0 var(--radius) !important;
}
.input-group .input-group-addon:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Checkboxes */
.checkbox, .radio {
  padding-left: 0;
}
.checkbox label, .radio label {
  padding-left: 26px;
  position: relative;
  font-weight: 400;
  color: var(--text-secondary);
  cursor: pointer;
}
.checkbox input[type="checkbox"],
.radio input[type="radio"] {
  margin-left: -26px;
  accent-color: var(--primary);
}

/* ─── 10. BADGES — Platform Colors ─── */
.badge {
  font-weight: 500;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: var(--primary-subtle);
  color: var(--primary);
}
.badge-primary { background: var(--primary); color: #fff; }
.badge-success { background: #D1FAE5; color: #059669; }
.badge-danger { background: #FEE2E2; color: #DC2626; }
.badge-warning { background: #FEF3C7; color: #D97706; }
.badge-info { background: #E0F2FE; color: #0284C7; }

.label {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
}
.label-primary { background: var(--primary); }
.label-success { background: var(--success); }
.label-danger { background: var(--danger); }
.label-warning { background: var(--warning); }
.label-info { background: var(--info); }

/* Platform badges */
.platform-instagram { background: linear-gradient(135deg, #f09433, #bc1888); color: #fff; }
.platform-youtube { background: #FF0000; color: #fff; }
.platform-tiktok { background: #010101; color: #fff; }
.platform-telegram { background: #0088CC; color: #fff; }
.platform-facebook { background: #1877F2; color: #fff; }
.platform-twitter { background: #1DA1F2; color: #fff; }
.platform-whatsapp { background: #25D366; color: #fff; }
.platform-soundcloud { background: #FF3300; color: #fff; }
.platform-spotify { background: #1DB954; color: #fff; }
.platform-snapchat { background: #FFFC00; color: #000; }
.platform-pinterest { background: #E60023; color: #fff; }
.platform-linkedin { background: #0A66C2; color: #fff; }
.platform-twitch { background: #9146FF; color: #fff; }
.platform-discord { background: #5865F2; color: #fff; }

/* ─── 11. ALERTS ─── */
.alert {
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 13px 18px;
  font-size: 13.5px;
  text-shadow: none !important;
}
.alert-success { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.alert-info { background: #EFF6FF; border-color: #BFDBFE; color: #1E40AF; }
.alert-warning { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.alert-danger { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }

/* ─── 12. MODALS ─── */
.modal-content {
  border-radius: var(--radius-xl) !important;
  border: none !important;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2) !important;
  background: var(--surface) !important;
}
.modal-header {
  border-bottom: 1px solid var(--border-light) !important;
  padding: 20px 24px !important;
}
.modal-header .close {
  font-size: 22px;
  opacity: 0.5;
  color: var(--text);
  margin-top: -2px;
}
.modal-header .close:hover { opacity: 1; }
.modal-title { font-weight: 600; font-size: 16px; }
.modal-body { padding: 24px !important; }
.modal-footer {
  border-top: 1px solid var(--border-light) !important;
  padding: 16px 24px !important;
}
.modal-backdrop { background: rgba(15,23,42,0.5); }
.modal-backdrop.in { opacity: 0.5 !important; }

/* ─── 13. PAGINATION ─── */
.pagination {
  margin: 10px 0;
  display: flex;
  gap: 3px;
}
.pagination > li { display: inline-block; }
.pagination > li > a,
.pagination > li > span {
  border: 1px solid var(--border) !important;
  color: var(--text-secondary) !important;
  background: var(--surface) !important;
  padding: 7px 13px;
  font-size: 13px;
  border-radius: var(--radius-sm) !important;
  transition: all 0.15s;
  display: block;
}
.pagination > li > a:hover {
  background: var(--primary-subtle) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}
.pagination > .active > a,
.pagination > .active > a:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}
.pagination > .disabled > a { opacity: 0.5; pointer-events: none; }

/* ─── 14. PROGRESS ─── */
.progress {
  border-radius: var(--radius-full);
  height: 8px;
  background: var(--primary-subtle);
  box-shadow: none !important;
  margin-bottom: 15px;
}
.progress-bar {
  background: var(--primary);
  border-radius: var(--radius-full);
  box-shadow: none !important;
}
.progress-bar-success { background: var(--success); }
.progress-bar-danger { background: var(--danger); }
.progress-bar-warning { background: var(--warning); }

/* ─── 15. NAV TABS ─── */
.nav-tabs {
  border-bottom: 1px solid var(--border);
}
.nav-tabs > li > a {
  color: var(--text-secondary);
  border: none !important;
  border-bottom: 2px solid transparent !important;
  font-weight: 500;
  padding: 10px 18px;
  margin-bottom: -1px;
  transition: all 0.15s;
  background: transparent !important;
  border-radius: 0 !important;
}
.nav-tabs > li > a:hover {
  border-bottom-color: var(--text-muted) !important;
  color: var(--text);
  background: transparent !important;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover {
  border: none !important;
  border-bottom: 2px solid var(--primary) !important;
  color: var(--primary) !important;
  font-weight: 600;
  background: transparent !important;
}

.nav-pills > li > a {
  color: var(--text-secondary);
  border-radius: var(--radius) !important;
  padding: 8px 18px;
  font-weight: 500;
  transition: all 0.15s;
}
.nav-pills > li > a:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover {
  background: var(--primary) !important;
  color: #fff !important;
}

/* ─── 16. LIST GROUP ─── */
.list-group-item {
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 12px 18px;
  margin-bottom: -1px;
  background: var(--surface);
}
.list-group-item.active {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff;
}
.list-group-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.list-group-item:last-child { border-radius: 0 0 var(--radius) var(--radius); }
a.list-group-item:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}

/* ─── 17. TOOLTIP ─── */
.tooltip-inner {
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 12px;
  background: var(--text);
}

/* ─── 18. RESPONSIVE ─── */
@media (max-width: 767px) {
  .navbar-default .navbar-nav > li > a { padding: 10px 16px; }
  .panel-body, .card-body { padding: 16px !important; }
  .stat-card { padding: 14px 16px; }
  .table-responsive { border: none; margin-bottom: 0; }
  .modal-dialog { margin: 10px !important; }
}

/* ─── 19. ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.3s ease forwards; }

/* ─── 20. UTILITY ─── */
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-info { color: var(--info) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-accent { color: var(--accent) !important; }

.bg-primary { background: var(--primary-subtle) !important; }
.bg-success { background: #D1FAE5 !important; }
.bg-danger { background: #FEE2E2 !important; }
.bg-warning { background: #FEF3C7 !important; }
.bg-info { background: #DBEAFE !important; }

.rounded { border-radius: var(--radius) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

.shadow { box-shadow: var(--shadow) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }

/* ─── 21. PLUGINS OVERRIDE ─── */
/* Select2 */
.select2-container--default .select2-selection--single {
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  height: auto !important;
  padding: 6px 12px !important;
}
.select2-container--default .select2-selection--single:focus {
  border-color: var(--primary) !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--primary) !important;
}
.select2-dropdown {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* Bootstrap Select */
.bootstrap-select .btn {
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--surface) !important;
  color: var(--text-secondary) !important;
}
.bootstrap-select .dropdown-menu li a:hover {
  background: var(--primary-subtle) !important;
  color: var(--primary) !important;
}

/* SweetAlert2 */
.swal2-popup {
  border-radius: var(--radius-xl) !important;
  font-family: var(--font) !important;
}
.swal2-confirm {
  background: var(--primary) !important;
  border-radius: var(--radius) !important;
}
.swal2-cancel { border-radius: var(--radius) !important; }

/* ════════════════════════════════════════════════════════
   PREMIUM LAUNCHPAD — Animated SVG Landing
   ════════════════════════════════════════════════════════ */

/* ─── Cursive font class ─── */
.lp-cursive {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.15em;
}
.lp-cursive-primary { color: var(--primary); }

/* Wrapper */
.lp-wrap {
  position: relative;
  background: #F7F8FC;
  display: flex; flex-direction: column;
  overflow: hidden;
}

/* ─── Animated SVG Background ─── */
.lp-bg-svg {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.lp-svg-blob {
  animation: lpBlobFloat 25s ease-in-out infinite;
  transform-origin: center;
}
.lp-blob-1 { animation-delay: 0s; }
.lp-blob-2 { animation-delay: -6s; }
.lp-blob-3 { animation-delay: -12s; }
.lp-blob-4 { animation-delay: -18s; }
@keyframes lpBlobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  25% { transform: translate(40px,-30px) scale(1.1); }
  50% { transform: translate(-20px,40px) scale(0.95); }
  75% { transform: translate(30px,20px) scale(1.05); }
}
.lp-svg-dot { animation: lpDotPulse 8s ease-in-out infinite; }
.lp-svg-dot:nth-child(2) { animation-delay: -1s; }
.lp-svg-dot:nth-child(3) { animation-delay: -2s; }
.lp-svg-dot:nth-child(4) { animation-delay: -3s; }
.lp-svg-dot:nth-child(5) { animation-delay: -4s; }
.lp-svg-dot:nth-child(6) { animation-delay: -5s; }
.lp-svg-dot:nth-child(7) { animation-delay: -6s; }
.lp-svg-dot:nth-child(8) { animation-delay: -7s; }
@keyframes lpDotPulse {
  0%,100% { opacity: 0.15; r: 2; }
  50% { opacity: 0.4; r: 4; }
}
.lp-svg-shape { animation: lpShapeRotate 20s linear infinite; }
@keyframes lpShapeRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ─── Announcement Marquee (fixed badge) ─── */
.lp-announce {
  position: relative; z-index: 3;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  padding: 6px 0;
}
.lp-announce-inner {
  position: relative;
  display: flex; align-items: center;
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
}
.lp-announce-label {
  position: relative; z-index: 2;
  flex-shrink: 0;
  background: rgba(255,255,255,0.2);
  padding: 2px 10px; border-radius: 4px;
  font-size: 10px; font-weight: 700;
  color: #fff; letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.lp-announce-track-wrap {
  overflow: hidden;
  padding-left: 16px;
  flex: 1;
}
.lp-announce-track {
  display: flex; gap: 24px;
  animation: lpMarquee 30s linear infinite;
  white-space: nowrap;
  font-size: 12px; color: rgba(255,255,255,0.9);
  font-weight: 500;
  width: fit-content;
}
@keyframes lpMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── SECTION: Shared ─── */
.lp-section {
  position: relative; z-index: 2;
  padding: 70px 0;
}
.lp-section-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px;
}
.lp-section-tag {
  display: inline-flex;
  padding: 4px 12px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 100px;
  font-size: 10px; font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.lp-section-title {
  font-size: 32px; font-weight: 800;
  color: #111; margin: 0 0 10px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.lp-section-desc {
  font-size: 14px; color: #777;
  margin: 0 0 36px; max-width: 500px;
  line-height: 1.6;
}

/* ─── Hero + Login ─── */
.lp-content {
  display: flex; align-items: center;
  min-height: calc(100vh - 60px - 32px);
  position: relative; z-index: 2;
  padding: 14px 0 60px;
}
.lp-content-inner {
  display: flex; align-items: center; gap: 80px;
  max-width: 1150px; margin: 0 auto;
  padding: 0 24px; width: 100%;
}

/* LEFT: Hero */
.lp-hero { flex: 1; animation: lpFadeUp 0.9s ease-out; }
.lp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 100px;
  font-size: 11px; font-weight: 600;
  color: var(--primary); margin-bottom: 24px;
  letter-spacing: 0.3px;
}
.lp-badge-dot {
  width: 6px; height: 6px;
  background: var(--primary); border-radius: 50%;
  animation: lpBadgePulse 2s infinite;
}
@keyframes lpBadgePulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.3; transform: scale(0.5); } }
.lp-heading {
  font-size: 44px; font-weight: 800;
  line-height: 1.1; color: #111;
  margin: 0 0 16px; letter-spacing: -0.5px;
}
.lp-grad-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-active), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-sub {
  font-size: 15px; line-height: 1.8;
  color: #666; margin: 0 0 28px;
  max-width: 460px;
}
.lp-sub strong { color: #333; }
.lp-stats-row { display: flex; gap: 8px 28px; flex-wrap: wrap; margin-bottom: 32px; }
.lp-stat { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #555; }
.lp-stat svg { flex-shrink: 0; }
.lp-stat strong { color: #111; font-weight: 700; }
.lp-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.lp-platforms { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-pill {
  padding: 4px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 600;
  color: var(--pill);
  background: color-mix(in srgb, var(--pill) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--pill) 18%, transparent);
}

/* ─── Buttons ─── */
.lp-btn-primary, .lp-btn-outline, .lp-btn-google, .lp-btn-block {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; font-size: 13px; font-weight: 600;
  border-radius: 10px; text-decoration: none;
  cursor: pointer; transition: all 0.25s;
  border: none; font-family: inherit;
}
.lp-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3);
}
.lp-btn-primary:hover {
  box-shadow: 0 6px 28px rgba(var(--primary-rgb), 0.45);
  transform: translateY(-2px); color: #fff;
}
.lp-btn-outline {
  background: rgba(255,255,255,0.7);
  color: #444; border: 1.5px solid rgba(0,0,0,0.06);
}
.lp-btn-outline:hover {
  background: #fff; color: #111;
  border-color: rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.lp-btn-block { width: 100%; justify-content: center; padding: 13px 24px; }
.lp-btn-google {
  width: 100%; justify-content: center;
  padding: 11px 24px; font-weight: 500;
  background: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(0,0,0,0.06);
  color: #555;
}
.lp-btn-google:hover { background: #fff; color: #333; border-color: rgba(0,0,0,0.1); }

/* RIGHT: Login Card */
.lp-login-wrap { flex-shrink: 0; width: 380px; animation: lpFadeUp 0.9s ease-out 0.15s both; }
.lp-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 24px; padding: 32px 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.04), 0 0 0 1px rgba(255,255,255,0.6) inset;
  position: relative;
}
.lp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-active), var(--primary-light));
  border-radius: 24px 24px 0 0;
}
.lp-card-head { text-align: center; margin-bottom: 28px; }
.lp-card-lock { margin-bottom: 8px; }
.lp-card-title { font-size: 20px; font-weight: 700; color: #111; margin: 0 0 4px; }
.lp-card-sub { font-size: 13px; color: #999; margin: 0; }
.lp-form { display: flex; flex-direction: column; gap: 18px; }
.lp-field { display: flex; flex-direction: column; gap: 6px; }
.lp-label { font-size: 12px; font-weight: 600; color: #555; letter-spacing: 0.3px; }
.lp-input-box { position: relative; display: flex; align-items: center; }
.lp-icn { position: absolute; left: 13px; color: #bbb; pointer-events: none; transition: color 0.2s; }
.lp-input-box:focus-within .lp-icn { color: var(--primary); }
.lp-input {
  width: 100%; padding: 11px 13px 11px 38px;
  font-size: 13px; font-family: inherit;
  background: rgba(245,247,250,0.6);
  border: 1.5px solid rgba(0,0,0,0.06);
  border-radius: 12px; color: #222;
  outline: none; transition: all 0.25s;
}
.lp-input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.08); }
.lp-input::placeholder { color: #ccc; }
.lp-forgot { position: absolute; right: 12px; font-size: 11px; color: var(--primary); text-decoration: none; font-weight: 500; z-index: 1; opacity: 0.7; transition: opacity 0.2s; }
.lp-forgot:hover { opacity: 1; }
.lp-row { display: flex; align-items: center; }
.lp-check { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #888; cursor: pointer; position: relative; }
.lp-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.lp-check-box { width: 16px; height: 16px; border: 1.5px solid #D0D0D0; border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; background: #fff; }
.lp-check input:checked + .lp-check-box { background: var(--primary); border-color: var(--primary); }
.lp-check input:checked + .lp-check-box::after { content: ''; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: -1px; }
.lp-alert { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; font-size: 12px; margin-bottom: 18px; }
.lp-alert-danger { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; }
.lp-alert-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #15803D; }
.lp-divider { position: relative; text-align: center; margin: 24px 0 18px; }
.lp-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(0,0,0,0.06); }
.lp-divider span { position: relative; background: transparent; padding: 0 14px; font-size: 10px; color: #bbb; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.lp-foot { text-align: center; margin-top: 20px; font-size: 12px; color: #aaa; }
.lp-foot a { color: var(--primary); font-weight: 600; text-decoration: none; }
.lp-foot a:hover { text-decoration: underline; }

/* ─── Floating Trust Bubbles ─── */
.lp-bubble {
  position: fixed; z-index: 3;
  padding: 6px 14px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border-radius: 100px;
  font-size: 11px; color: #555; font-weight: 500;
  animation: lpBubble 22s ease-in-out infinite;
  pointer-events: none;
  white-space: nowrap;
}
.lp-bubble-1 { top: 18%; left: 3%; animation-delay: 0s; }
.lp-bubble-2 { top: 58%; right: 1%; animation-delay: -7s; }
.lp-bubble-3 { top: 80%; left: 5%; animation-delay: -14s; }
@keyframes lpBubble { 0%,100% { transform: translate(0,0); } 25% { transform: translate(15px,-12px); } 50% { transform: translate(-10px,15px); } 75% { transform: translate(12px,5px); } }

/* ─── SECTION 2: Features Grid ─── */
.lp-section-feat { background: rgba(255,255,255,0.5); }
.lp-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.lp-feat-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s;
}
.lp-feat-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  transform: translateY(-2px);
}
.lp-feat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.lp-feat-card h4 { font-size: 16px; font-weight: 700; color: #111; margin: 0 0 8px; }
.lp-feat-card p { font-size: 13px; color: #777; margin: 0; line-height: 1.6; }

/* ─── SECTION 3: Stats Counters ─── */
.lp-section-stats {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  padding: 50px 0;
}
.lp-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.lp-counter-item { padding: 20px; }
.lp-counter-num {
  display: block;
  font-size: 36px; font-weight: 800;
  color: #fff; line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.lp-counter-label {
  font-size: 13px; color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ─── SECTION 4: How It Works ─── */
.lp-section-how { background: #fff; }
.lp-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.lp-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}
.lp-step-num {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  font-size: 18px; font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.lp-step h4 { font-size: 15px; font-weight: 700; color: #111; margin: 0 0 8px; }
.lp-step p { font-size: 12px; color: #777; margin: 0; line-height: 1.5; }
.lp-step-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 14px;
  color: var(--primary);
}

/* ─── SECTION 5: CTA ─── */
.lp-section-cta { padding: 60px 0; }
.lp-cta-box {
  background: linear-gradient(135deg, #1A1A2E, #16213E);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lp-cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-active), var(--primary-light));
}

/* ─── CUSTOM FOOTER ─── */
.lp-footer {
  position: relative; z-index: 2;
  background: #0F111A;
  padding: 50px 0 0;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 1.7;
}
.lp-footer-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px;
}
.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-footer-col h4 {
  font-size: 15px; font-weight: 700;
  color: #fff; margin: 0 0 16px;
}
.lp-footer-col p { margin: 0; color: rgba(255,255,255,0.5); }
.lp-footer-col ul {
  list-style: none; padding: 0; margin: 0;
}
.lp-footer-col ul li {
  padding: 4px 0;
  color: rgba(255,255,255,0.5);
}
.lp-footer-col ul li a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.lp-footer-col ul li a:hover { color: var(--primary); }
.lp-footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.lp-footer-bottom p { margin: 0; }

/* ─── Signup Page ─── */
.lp-signup-page {
  padding: 40px 20px 60px;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--body);
}
.lp-signup-wrap {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.lp-signup-wrap .lp-card {
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
}
.lp-card-solid {
  background: #fff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.lp-card-solid::before {
  border-radius: 24px 24px 0 0;
}
.lp-signup-page .lp-content-well {
  max-width: 420px;
  margin: 0 auto 20px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

/* ─── API Page ─── */
.lp-api-page {
  padding: 50px 0 80px;
  min-height: calc(100vh - 60px);
  background: var(--body);
}
.lp-api-page .lp-section-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.lp-api-page .lp-content-well {
  max-width: 960px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 13px;
}
.lp-api-header {
  text-align: center;
  margin-bottom: 40px;
}
.lp-api-header .lp-section-tag {
  margin-bottom: 12px;
}
.lp-api-header .lp-section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}
.lp-api-header .lp-section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.lp-api-page .lp-content-well {
  max-width: 860px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 13px;
}

/* API Info Card (no gradient line) */
.lp-api-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.lp-api-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.lp-api-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.lp-api-method:last-child { border-bottom: none; }
.lp-api-method-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.lp-api-method-value {
  font-size: 13px;
  font-weight: 500;
}

/* Code Tags */
.lp-code-tag {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 5px;
  letter-spacing: 0.2px;
}
.lp-code-post {
  background: rgba(16,185,129,0.1);
  color: #059669;
}
.lp-code-url {
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 12px;
  word-break: break-all;
}
.lp-code-json {
  background: rgba(139,92,246,0.1);
  color: #7C3AED;
}
.lp-api-key-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
}
.lp-api-key-link:hover {
  text-decoration: underline;
  color: var(--primary-hover);
}

/* API URL value row (with copy button) */
.lp-api-url-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

/* Copy button (API URL + response code) */
.lp-api-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.lp-api-copy:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-subtle);
}
.lp-api-copy.lp-copied {
  color: #059669;
  border-color: rgba(16,185,129,0.4);
  background: rgba(16,185,129,0.1);
}
.lp-api-copy-response {
  margin-left: auto;
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
}
.lp-api-copy-response:hover {
  color: #fff;
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.25);
}
.lp-api-copy-response.lp-copied {
  color: #34D399;
  background: rgba(52,211,153,0.12);
  border-color: rgba(52,211,153,0.4);
}

/* API Endpoint Cards */
.lp-api-endpoint-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.lp-api-endpoint-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.lp-api-endpoint-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.lp-api-endpoint-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  padding: 0;
  flex: 1;
}
.lp-api-endpoint-action {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(16,185,129,0.1);
  color: #059669;
  white-space: nowrap;
}

/* API Table */
.lp-api-table {
  margin-bottom: 20px !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
}
.lp-api-table th:first-child { width: 35%; }
.lp-api-param {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 12px;
  background: var(--surface-alt);
  color: var(--danger);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* API Response Block */
.lp-api-response {
  background: #1A1D23;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.lp-api-response-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lp-api-pre {
  margin: 0;
  padding: 18px 20px;
  background: transparent;
  color: #E2E8F0;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
.lp-api-pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

/* API Footer Card */
.lp-api-footer-card {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.lp-api-footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lp-api-footer-inner div {
  flex: 1;
}
.lp-api-footer-inner strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
}
.lp-api-footer-inner p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── Shared Content Well ─── */
.lp-content-well {
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}


/* ─── Services Page ─── */
.lp-services-page {
  padding: 40px 0 60px;
  min-height: calc(100vh - 60px);
  background: var(--body);
}
.lp-services-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.lp-services-header {
  text-align: center;
  margin-bottom: 28px;
}
.lp-services-header .lp-section-tag {
  margin-bottom: 10px;
}
.lp-services-header .lp-section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

/* Toolbar */
.lp-services-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
}
.lp-services-toolbar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-services-toolbar-row:first-child {
  justify-content: space-between;
}
.lp-services-toolbar-row:last-child .lp-services-search {
  flex: 1;
}
.lp-services-filter-wrap { flex-shrink: 0; }
.lp-services-dropdown { position: relative; }

.lp-services-filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--primary-light);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: var(--radius);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.lp-services-filter-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.lp-services-filter-btn svg:last-child { transition: transform 0.2s; }
.lp-services-dropdown.open .lp-services-filter-btn svg:last-child { transform: rotate(180deg); }

.lp-services-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  max-height: 320px;
  overflow-y: auto;
  margin-top: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 4px;
  z-index: 50;
}
.lp-services-dropdown-menu.open { display: block; }
.lp-services-dropdown-menu li a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.1s;
}
.lp-services-dropdown-menu li a:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}

/* Search */
.lp-services-search { position: relative; flex: 1; }
.lp-services-search-icn {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.lp-services-search-input {
  width: 100%;
  padding: 9px 14px 9px 40px;
  font-size: 13px;
  font-family: inherit;
  background: var(--surface-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  outline: none;
  transition: all 0.2s;
}
.lp-services-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.08);
  background: #fff;
}
.lp-services-search-input::placeholder { color: var(--text-muted); }

/* Currency */
.lp-services-currency { flex-shrink: 0; }
.lp-services-curr-dropdown { position: relative; }

.lp-services-curr-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--primary-light);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: var(--radius);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.lp-services-curr-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.lp-services-curr-btn svg:last-child { transition: transform 0.2s; }
.lp-services-curr-dropdown.open .lp-services-curr-btn svg:last-child { transform: rotate(180deg); }

.lp-services-curr-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 80px;
  margin-top: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 4px;
  z-index: 50;
}
.lp-services-curr-dropdown.open .lp-services-curr-menu { display: block; }
.lp-services-curr-menu li a {
  display: block;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.1s;
}
.lp-services-curr-menu li a:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}

/* Wider service name column */
.lp-services-table-wrap .table > tbody > tr > td:nth-child(2),
.lp-services-table-wrap .table > thead > tr > th:nth-child(2) {
  min-width: 180px;
  max-width: 300px;
}
.lp-services-table-wrap .service-name {
  white-space: normal !important;
  word-wrap: break-word;
}

/* Table wrapper */
.lp-services-table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.lp-services-table-wrap .table { margin-bottom: 0; }
.lp-services-table-wrap .table > thead > tr > th:first-child,
.lp-services-table-wrap .table > thead > tr > th:last-child { border-radius: 0; }

/* Category row */
.lp-cat-row > td {
  background: var(--primary-light) !important;
  padding: 10px 16px !important;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.12) !important;
}
.lp-cat-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}
.lp-cat-label i { font-size: 16px; width: 20px; text-align: center; }
.lp-cat-count {
  font-size: 11px;
  font-weight: 500;
  color: rgba(var(--primary-rgb), 0.6);
  background: rgba(var(--primary-rgb), 0.1);
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: auto;
}
.lp-service-price { font-weight: 700; color: var(--success) !important; }

.lp-service-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  background: var(--primary-subtle);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  border-radius: var(--radius);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.lp-service-view-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ─── Services Page Responsive ─── */
@media (max-width: 768px) {
  .lp-services-page { padding: 24px 0 40px; }
  .lp-services-toolbar-row { flex-wrap: wrap; gap: 8px; }
  .lp-services-toolbar-row:first-child { flex-direction: row; }
  .lp-services-search { width: 100%; }
  .lp-services-filter-wrap { flex: 1; }
  .lp-services-filter-btn { width: 100%; justify-content: center; }
  .lp-services-currency { flex-shrink: 0; }
  .lp-services-header .lp-section-title { font-size: 22px; }
  .lp-services-table-wrap { overflow-x: auto; }
  .lp-services-table-wrap .table { min-width: 700px; }
  .lp-cat-label { font-size: 13px; }
  .table > thead > tr > th,
  .table > tbody > tr > td { padding: 8px 10px; font-size: 12px; }
}
@media (max-width: 480px) {
  .lp-services-page { padding: 16px 0 30px; }
  .lp-services-inner { padding: 0 12px; }
  .lp-services-toolbar { padding: 10px 12px; gap: 8px; }
  .lp-services-toolbar-row:first-child { gap: 6px; }
  .lp-services-filter-btn { padding: 6px 10px; font-size: 12px; }
  .lp-services-curr-btn { padding: 6px 10px; font-size: 12px; }
  .lp-services-search-input { padding: 7px 12px 7px 34px; font-size: 12px; }
  .lp-services-search-icn { left: 11px; width: 13px; height: 13px; }
  .lp-services-table-wrap .table { min-width: 600px; }
  .lp-service-view-btn { padding: 4px 8px; font-size: 11px; }
  .lp-cat-label { font-size: 12px; }
  .lp-cat-count { font-size: 10px; padding: 1px 8px; }
  .table > thead > tr > th,
  .table > tbody > tr > td { padding: 6px 8px; font-size: 11px; }
}/* Description Modal */
#serviceDescModal .modal-dialog {
  max-width: 520px;
  margin: 5px auto !important;
}
#serviceDescModal .modal-content {
  max-height: calc(100vh - 10px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
}
#serviceDescModal .modal-header {
  flex-shrink: 0;
  border-bottom: 1px solid var(--border-light) !important;
}
#serviceDescModal .modal-body {
  padding: 16px 24px 20px !important;
  flex: 1;
  overflow: visible;
  min-height: 0;
}
#serviceDescModal .modal-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--border-light) !important;
}
.lp-modal-service-id {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lp-modal-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  padding: 16px 18px;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  word-break: break-word;
  overflow-wrap: break-word;
  max-height: 55vh;
  overflow-y: auto;
}
.lp-modal-desc p { margin: 0 0 8px; }
.lp-modal-desc p:last-child { margin: 0; }
.lp-modal-desc ul, .lp-modal-desc ol { margin: 4px 0; padding-left: 20px; }
.lp-modal-desc li { margin-bottom: 4px; }
.lp-modal-desc::-webkit-scrollbar {
  width: 5px;
}
.lp-modal-desc::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.lp-modal-desc::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 10px;
}
.lp-modal-desc::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}
@media (max-width: 480px) {
  #serviceDescModal .modal-dialog { margin: 5px auto !important; max-width: calc(100% - 10px); }
  #serviceDescModal .modal-content { max-height: calc(100vh - 10px); border-radius: 12px; }
  #serviceDescModal .modal-body { padding: 12px 16px 16px !important; }
  .lp-modal-desc { max-height: 50vh; padding: 12px 14px; }
}
/* Responsive */

  .lp-services-search { width: 100%; }
  .lp-services-currency { width: 100%; }
  .lp-services-curr-btn { width: 100%; justify-content: center; }
  .lp-services-header .lp-section-title { font-size: 22px; }
  .lp-services-table-wrap { border-radius: var(--radius); }
  .lp-services-table-wrap .table { min-width: 650px; }
  .lp-cat-label { font-size: 13px; }
  #serviceDescModal .modal-dialog { margin: 10px; max-width: calc(100% - 20px); }
}
/* API/Signup responsive */
  .lp-api-header .lp-section-title { font-size: 26px; }
  .lp-api-footer-inner { flex-direction: column; text-align: center; }
  .lp-signup-wrap .lp-card { padding: 24px 20px; }
}

.datepicker {
  border-radius: var(--radius) !important;
  border: 1px solid var(--border) !important;
}
.datepicker table tr td.active.active {
  background: var(--primary) !important;
}

/* ═══════════════════════════════════════════════════════════
   SIDEBAR REDESIGN v2 — Premium User Card + Support Boxes
   ═══════════════════════════════════════════════════════════ */

/* ─── SIDEBAR USER CARD ─── */
.sidebar-user-card {
  margin: 12px 14px;
  background: linear-gradient(145deg, #F8FAFF, #EEF2FF);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  border-radius: 14px;
  padding: 16px 16px 14px;
  position: relative;
  min-height: 95px;
  flex-shrink: 0;
  transition: all 0.25s;
}
.sidebar-user-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-active), var(--primary-light));
  border-radius: 14px 14px 0 0;
}
.sidebar-user-card::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sidebar-user-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-user-avatar {
  position: relative;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(var(--primary-rgb), 0.25);
}
.sidebar-user-avatar span {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.sidebar-user-status {
  position: absolute;
  bottom: -2px; right: -2px;
  width: 12px; height: 12px;
  background: #10B981;
  border: 2px solid #F8FAFF;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.sidebar-user-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.sidebar-user-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-user-balance {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sidebar-user-balance::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.5;
}

.sidebar-user-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.sidebar-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  color: var(--text-muted);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s;
}
.sidebar-action-icon:hover {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
}
.sidebar-action-icon-danger:hover {
  background: #FEE2E2;
  color: #DC2626;
}

/* ─── User Extras Row (Lang + Currency) ─── */
.sidebar-user-extras {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(var(--primary-rgb), 0.08);
}
.sidebar-user-extras-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Dropdowns inside user card */
.sidebar-dropdown {
  position: relative;
}
.sidebar-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  font-family: var(--font);
  backdrop-filter: blur(4px);
}
.sidebar-dropdown-trigger:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  color: var(--primary);
  background: #fff;
}
.sidebar-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100px;
  margin-top: 4px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  list-style: none;
  padding: 4px;
  z-index: 30;
}
.sidebar-dropdown.open .sidebar-dropdown-menu {
  display: block;
}
.sidebar-dropdown-menu li a {
  display: block;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 4px;
}
.sidebar-dropdown-menu li a:hover {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
}
.sidebar-dropdown-menu li.active a {
  background: var(--primary);
  color: #fff;
}

/* ─── SUPPORT BOXES ─── */
.sidebar-support-boxes {
  padding: 0 14px;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.sidebar-support-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.sidebar-support-item::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s;
  border-radius: 10px;
}
.sidebar-support-item:hover::before {
  opacity: 1;
}
.sidebar-support-item:hover {
  transform: translateY(-1px);
}

/* Telegram box */
.sidebar-support-tg {
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.08), rgba(0, 136, 204, 0.02));
  border: 1px solid rgba(0, 136, 204, 0.15);
}
.sidebar-support-tg::before {
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.12), rgba(0, 136, 204, 0.03));
}
.sidebar-support-tg .sidebar-support-icon {
  color: #0088CC;
}
.sidebar-support-tg:hover {
  border-color: rgba(0, 136, 204, 0.3);
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.12);
}

/* WhatsApp box */
.sidebar-support-wa {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(37, 211, 102, 0.02));
  border: 1px solid rgba(37, 211, 102, 0.15);
}
.sidebar-support-wa::before {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(37, 211, 102, 0.03));
}
.sidebar-support-wa .sidebar-support-icon {
  color: #25D366;
}
.sidebar-support-wa:hover {
  border-color: rgba(37, 211, 102, 0.3);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.12);
}

/* Dynamic brand color (used by theme_settings.sidebar_items; falls back to #0088CC) */
.sidebar-support-item[style*="--brand-color"] {
  --brand-color: #0088CC;
  background: #f8fafc;
  border: 1px solid var(--border);
}
.sidebar-support-item[style*="--brand-color"]:not(.sidebar-support-tg):not(.sidebar-support-wa) {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-color) 8%, transparent), color-mix(in srgb, var(--brand-color) 2%, transparent));
  border: 1px solid color-mix(in srgb, var(--brand-color) 18%, transparent);
}
.sidebar-support-item[style*="--brand-color"]:not(.sidebar-support-tg):not(.sidebar-support-wa):hover {
  border-color: color-mix(in srgb, var(--brand-color) 38%, transparent);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--brand-color) 14%, transparent);
}
.sidebar-support-item[style*="--brand-color"]:not(.sidebar-support-tg):not(.sidebar-support-wa) .sidebar-support-icon {
  color: var(--brand-color);
}

.sidebar-support-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.7);
  border-radius: 8px;
  backdrop-filter: blur(4px);
  transition: transform 0.25s;
  position: relative;
  z-index: 1;
}
.sidebar-support-icon i {
  font-size: 15px;
  line-height: 1;
}
.sidebar-support-icon svg {
  width: 18px;
  height: 18px;
}
.sidebar-support-item:hover .sidebar-support-icon {
  transform: scale(1.08);
}

.sidebar-support-text {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.sidebar-support-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.sidebar-support-sub {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  margin-top: 1px;
}
.sidebar-support-badge {
  font-size: 10px;
  flex-shrink: 0;
  animation: supportPulse 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes supportPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ─── Responsive: mobile sidebar ─── */
@media (max-width: 991px) {
  .sidebar-user-card {
    margin: 6px 10px;
    padding: 14px 12px 10px;
    border-radius: 12px;
    min-height: 85px;
  }
  .sidebar-user-card::before { border-radius: 12px 12px 0 0; }
  .sidebar-user-avatar {
    width: 34px; height: 34px;
    border-radius: 10px;
  }
  .sidebar-user-avatar span { font-size: 13px; }
  .sidebar-user-status { width: 10px; height: 10px; }
  .sidebar-user-name { font-size: 12px; }
  .sidebar-user-balance { font-size: 10px; }
  .sidebar-action-icon { width: 26px; height: 26px; }
  .sidebar-user-extras { margin-top: 6px; padding-top: 6px; }
  .sidebar-dropdown-trigger { font-size: 10px; padding: 3px 8px; }
  .sidebar-support-boxes { padding: 0 10px; gap: 5px; }
  .sidebar-support-item { padding: 7px 10px; border-radius: 8px; }
  .sidebar-support-icon { width: 28px; height: 28px; }
  .sidebar-support-icon svg { width: 15px; height: 15px; }
  .sidebar-support-label { font-size: 11px; }
  .sidebar-support-sub { font-size: 9px; }
}

/* ═══════════════════════════════════════════════════════════
   ORDERS, REFILL & DRIPFEED — Premium Modern Tables
   ═══════════════════════════════════════════════════════════ */

/* ─── Page Header ─── */
.lp-page-header {
  padding: 24px 28px 0;
}
.lp-page-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}
.lp-page-header p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ─── Stats Summary Row ─── */
.lp-orders-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  padding: 20px 28px;
}
.lp-orders-stat {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.lp-orders-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}
.lp-orders-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}
.lp-orders-stat-value.success { color: var(--success); }
.lp-orders-stat-value.warning { color: var(--warning); }
.lp-orders-stat-value.danger { color: var(--danger); }
.lp-orders-stat-value.info { color: var(--info); }

/* ─── Modern Tabs (replaces nav-pills) ─── */
.lp-orders-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 28px 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0;
}
.lp-orders-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border-radius: var(--radius-full);
  text-decoration: none !important;
  transition: all 0.2s;
  white-space: nowrap;
}
.lp-orders-tabs a:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}
.lp-orders-tabs a.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.25);
}
.lp-orders-tabs a .lp-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(0,0,0,0.06);
  color: inherit;
}
.lp-orders-tabs a.active .lp-tab-count {
  background: rgba(255,255,255,0.2);
}

/* ─── Search Bar ─── */
.lp-orders-search-wrap {
  padding: 14px 28px 0;
}
.lp-orders-filterbar {
  padding: 0;
}
.lp-orders-filterbar .lp-orders-search {
  margin: 12px 28px 0;
  max-width: 400px;
}
.lp-orders-filterbar .lp-orders-tabs {
  padding-top: 16px;
}
.lp-orders-search {
  display: flex;
  gap: 8px;
  max-width: 360px;
}
.lp-orders-search input {
  flex: 1;
  height: 38px;
  padding: 0 14px;
  font-size: 13px;
  font-family: var(--font);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.lp-orders-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}
.lp-orders-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.lp-orders-search button:hover { background: var(--primary-hover); }

/* ─── Table Card ─── */
.lp-orders-card {
  margin: 16px 28px 28px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.lp-orders-card .table {
  margin: 0;
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}
.lp-orders-card .table thead th {
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.lp-orders-card .table tbody td {
  padding: 14px;
  font-size: 13px;
  color: var(--text);
  vertical-align: middle;
  border-bottom: 1px solid var(--border-light);
}
.lp-orders-card .table tbody tr:last-child td {
  border-bottom: none;
}
.lp-orders-card .table tbody tr:hover {
  background: var(--primary-subtle);
}

/* ─── Order ID ─── */
.lp-order-id {
  font-weight: 600;
  color: var(--primary);
}
.lp-order-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none !important;
  font-size: 12px;
  word-break: break-all;
  overflow-wrap: break-word;
  hyphens: auto;
}
.lp-order-link:hover { color: var(--primary); }
.lp-order-link svg { flex-shrink: 0; }

/* ─── Status Badges ─── */
.lp-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.lp-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.lp-status.completed { background: #ECFDF5; color: #065F46; }
.lp-status.completed .lp-status-dot { background: var(--success); }
.lp-status.inprogress { background: #EFF6FF; color: #1E40AF; }
.lp-status.inprogress .lp-status-dot { background: var(--primary); }
.lp-status.pending { background: #FFFBEB; color: #92400E; }
.lp-status.pending .lp-status-dot { background: var(--warning); }
.lp-status.partial { background: #FEF2F2; color: #991B1B; }
.lp-status.partial .lp-status-dot { background: var(--danger); }
.lp-status.processing { background: #F5F3FF; color: #5B21B6; }
.lp-status.processing .lp-status-dot { background: var(--accent); }
.lp-status.canceled { background: #F3F4F6; color: #4B5563; }
.lp-status.canceled .lp-status-dot { background: var(--text-muted); }
.lp-status.refilling { background: #FDF2F8; color: #9D174D; }
.lp-status.refilling .lp-status-dot { background: var(--warning); }

/* ─── Charge Amount ─── */
.lp-order-charge {
  font-weight: 600;
  color: var(--text);
}

/* ─── Remains / Quantity ─── */
.lp-order-remains {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ─── Actions Column ─── */
.lp-actions-head {
  text-align: center;
}
.lp-order-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.lp-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none !important;
  white-space: nowrap;
}
.lp-action-btn-refill {
  background: #EFF6FF;
  color: var(--primary);
}
.lp-action-btn-refill:hover {
  background: #DBEAFE;
  transform: translateY(-1px);
}
.lp-action-btn-refill:disabled,
.lp-action-btn-refill.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.lp-action-btn-cancel {
  background: #FEF2F2;
  color: var(--danger);
}
.lp-action-btn-cancel:hover {
  background: #FEE2E2;
  transform: translateY(-1px);
}
.lp-action-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ─── Refill page ─── */
.lp-refill-task-id {
  font-weight: 600;
  color: var(--text-secondary);
}

/* ─── Pagination ─── */
.lp-pagination-wrap {
  padding: 16px 0;
  display: flex;
  justify-content: center;
}
.lp-pagination {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lp-pagination li {
  display: inline-flex;
}
.lp-pagination li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  text-decoration: none !important;
  transition: all 0.15s;
}
.lp-pagination li a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.lp-pagination li.active a {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.2);
}
.lp-pagination li.disabled a {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ─── Dripfeed specific ─── */
.lp-drip-runs {
  font-size: 12px;
  color: var(--text-secondary);
}
.lp-drip-runs a {
  color: var(--primary);
  text-decoration: none !important;
  font-weight: 500;
}

/* ─── Empty state ─── */
.lp-orders-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}
.lp-orders-empty svg { margin-bottom: 12px; opacity: 0.4; }
.lp-orders-empty p { font-size: 14px; margin: 0; }

/* ─── Responsive ─── */
@media (max-width: 767px) {
  .lp-page-header { padding: 16px 14px 0; }
  .lp-orders-stats { padding: 14px; gap: 8px; grid-template-columns: repeat(2, 1fr); }
  .lp-orders-stat { padding: 12px 14px; }
  .lp-orders-stat-value { font-size: 18px; }
  .lp-orders-tabs { padding: 0 14px 12px; gap: 3px; }
  .lp-orders-tabs a { font-size: 11px; padding: 6px 12px; }
  .lp-orders-search-wrap { padding: 10px 14px 0; }
  .lp-orders-search { max-width: 100%; }
  .lp-orders-card { margin: 12px 14px 20px; border-radius: var(--radius-lg); }
  .lp-orders-card .table thead th { font-size: 10px; padding: 8px 8px; }
  .lp-orders-card .table tbody td { font-size: 12px; padding: 10px 8px; }
  .lp-order-link { max-width: 120px; font-size: 11px; }
  .lp-action-btn { font-size: 10px; padding: 4px 8px; }
}

/* ═══════════════════════════════════════════════════════════
   ADD FUNDS — Premium Payment Page
   ═══════════════════════════════════════════════════════════ */

/* ─── Balance Hero Card ─── */
.lp-balance-hero {
  margin: 16px 28px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #6366F1 100%);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.3);
  position: relative;
  overflow: hidden;
}
.lp-balance-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}
.lp-balance-hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: 10%;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.lp-balance-hero-left {
  position: relative;
  z-index: 1;
}
.lp-balance-hero-label {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.lp-balance-hero-amount {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.lp-balance-hero-amount small {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.7;
}
.lp-balance-hero-right {
  position: relative;
  z-index: 1;
  text-align: right;
}
.lp-balance-hero-spent {
  font-size: 13px;
  opacity: 0.85;
}
.lp-balance-hero-spent strong {
  font-size: 16px;
}

/* ─── Add Funds Card ─── */
.lp-addfunds-wrap {
  margin: 0 28px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.lp-addfunds-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lp-addfunds-card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-addfunds-card-header svg {
  color: var(--primary);
  flex-shrink: 0;
}
.lp-addfunds-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.lp-addfunds-card-body {
  padding: 22px;
}

/* ─── Payment Method Pills ─── */
.lp-pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.lp-pay-method {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font);
}
.lp-pay-method:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
}
.lp-pay-method.selected {
  border-color: var(--primary);
  background: var(--primary-subtle);
  color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

/* ─── Amount Input ─── */
.lp-amount-input-group {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.lp-amount-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}
.lp-amount-prefix {
  padding: 0 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-alt);
  line-height: 44px;
  border-right: 1px solid var(--border-light);
}
.lp-amount-input-group input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  outline: none;
  color: var(--text);
  background: transparent;
}

/* ─── Coupon Input ─── */
.lp-coupon-wrap {
  display: flex;
  gap: 8px;
}
.lp-coupon-wrap input {
  flex: 1;
  height: 38px;
  padding: 0 14px;
  font-size: 13px;
  font-family: var(--font);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  color: var(--text);
  transition: border-color 0.2s;
}
.lp-coupon-wrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}
.lp-coupon-btn {
  height: 38px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.lp-coupon-btn:hover { background: #7C3AED; }

/* ─── Submit Button ─── */
.lp-submit-btn {
  width: 100%;
  height: 48px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.25);
}
.lp-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
}

/* ─── Transaction History ─── */
.lp-transactions-card {
  margin: 0 28px 28px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.lp-transactions-card .table {
  margin: 0;
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}
.lp-transactions-card .table thead th {
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.lp-transactions-card .table tbody td {
  padding: 14px;
  font-size: 13px;
  color: var(--text);
  vertical-align: middle;
  border-bottom: 1px solid var(--border-light);
}
.lp-transactions-card .table tbody tr:last-child td { border-bottom: none; }
.lp-transactions-card .table tbody tr:hover { background: var(--primary-subtle); }

.lp-tx-amount {
  font-weight: 600;
  color: var(--success);
}

/* ─── Alerts ─── */
.lp-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.5;
}
.lp-alert-danger {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}
.lp-alert-success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}
.lp-alert-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.5;
  padding: 0 4px;
  color: inherit;
  flex-shrink: 0;
}
.lp-alert-close:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   AFFILIATES / REFERRAL — Premium Dashboard
   ═══════════════════════════════════════════════════════════ */

.lp-ref-link-card {
  margin: 16px 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lp-ref-link-body {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.lp-ref-link-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}
.lp-ref-link-url {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-secondary);
  word-break: break-all;
  flex: 1;
  min-width: 200px;
}
.lp-ref-link-url code {
  font-size: 12px;
  color: var(--primary);
  flex: 1;
}
.lp-ref-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.lp-ref-copy-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* ─── Referral Stats Grid ─── */
.lp-ref-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 28px 20px;
}
.lp-ref-stat {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.lp-ref-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.lp-ref-stat-value.green { color: var(--success); }
.lp-ref-stat-value.blue { color: var(--primary); }
.lp-ref-stat-value.purple { color: var(--accent); }
.lp-ref-stat-value.orange { color: var(--warning); }
.lp-ref-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ─── Referral Payout Table ─── */
.lp-ref-payout-card {
  margin: 0 28px 28px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.lp-ref-payout-card .table {
  margin: 0;
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
}
.lp-ref-payout-card .table thead th {
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.lp-ref-payout-card .table tbody td {
  padding: 14px;
  font-size: 13px;
  color: var(--text);
  vertical-align: middle;
  border-bottom: 1px solid var(--border-light);
}
.lp-ref-payout-card .table tbody tr:last-child td { border-bottom: none; }
.lp-ref-payout-card .table tbody tr:hover { background: var(--primary-subtle); }
.lp-ref-paid-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  border-radius: var(--radius);
  background: var(--success);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none !important;
}
.lp-ref-paid-btn:hover {
  background: #059669;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════
   UPDATES — Service Update Timeline
   ═══════════════════════════════════════════════════════════ */

.lp-updates-card {
  margin: 16px 28px 28px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lp-update-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s;
}
.lp-update-item:last-child { border-bottom: none; }
.lp-update-item:hover { background: var(--primary-subtle); }

.lp-update-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.lp-update-icon.danger { background: var(--danger); }
.lp-update-icon.success { background: var(--success); }
.lp-update-icon.warning { background: var(--warning); }
.lp-update-icon.info { background: var(--info); }
.lp-update-icon.primary { background: var(--primary); }
.lp-update-icon.default { background: var(--text-muted); }

.lp-update-content {
  flex: 1;
  min-width: 0;
}
.lp-update-service {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.lp-update-service small {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 11px;
}
.lp-update-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-top: 6px;
}
.lp-update-badge.danger { background: #FEF2F2; color: #991B1B; }
.lp-update-badge.success { background: #ECFDF5; color: #065F46; }
.lp-update-badge.warning { background: #FFFBEB; color: #92400E; }
.lp-update-badge.info { background: #EFF6FF; color: #1E40AF; }
.lp-update-badge.primary { background: #F5F3FF; color: #5B21B6; }
.lp-update-badge.default { background: #F3F4F6; color: #4B5563; }

.lp-update-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─── Responsive for new pages ─── */
@media (max-width: 767px) {
  .lp-balance-hero {
    margin: 12px 14px 16px;
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }
  .lp-balance-hero-amount { font-size: 26px; }
  .lp-balance-hero-right { text-align: center; }
  .lp-addfunds-wrap {
    margin: 0 14px 20px;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .lp-transactions-card { margin: 0 14px 20px; }
  .lp-transactions-card .table thead th { font-size: 10px; padding: 8px; }
  .lp-transactions-card .table tbody td { font-size: 12px; padding: 10px 8px; }
  .lp-ref-link-body { flex-direction: column; align-items: stretch; }
  .lp-ref-link-url { min-width: auto; }
  .lp-ref-stats { margin: 0 14px 16px; gap: 8px; grid-template-columns: repeat(2, 1fr); }
  .lp-ref-stat { padding: 14px; }
  .lp-ref-stat-value { font-size: 20px; }
  .lp-ref-payout-card { margin: 0 14px 20px; }
  .lp-updates-card { margin: 12px 14px 20px; }
  .lp-update-item { padding: 14px 16px; flex-direction: column; gap: 10px; }
}

/* ═══════════════════════════════════════════════════════════
   MASS ORDER — "Mass Commander"
   ═══════════════════════════════════════════════════════════ */

.lp-mass-stats {
  display: flex;
  gap: 12px;
  margin: 0 28px 16px;
}
.lp-mass-stat {
  flex: 1;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.lp-mass-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-mass-stat-success .lp-mass-stat-icon { background: #ECFDF5; color: var(--success); }
.lp-mass-stat-fail .lp-mass-stat-icon { background: #FEF2F2; color: var(--danger); }
.lp-mass-stat-total .lp-mass-stat-icon { background: var(--primary-light); color: var(--primary); }
.lp-mass-stat-value { font-size: 22px; font-weight: 700; line-height: 1.2; }
.lp-mass-stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }

.lp-mass-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 28px 24px;
}
.lp-mass-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lp-mass-card-primary { grid-column: 1; }
.lp-mass-card-logs { grid-column: 2; }

.lp-mass-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
  background: var(--surface-alt);
}
.lp-mass-card-header-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-mass-card-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}
.lp-mass-card-body { padding: 20px 22px; }

.lp-mass-format-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding: 10px 14px;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

.lp-mass-textarea {
  width: 100%;
  min-height: 240px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  background: var(--surface);
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lp-mass-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}
.lp-mass-textarea::placeholder { color: var(--text-muted); opacity: 0.6; }

.lp-mass-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}
.lp-mass-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary) 0%, #6366F1 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  font-family: var(--font);
}
.lp-mass-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.lp-mass-submit:active { transform: translateY(0); }

.lp-mass-logs-scroll {
  max-height: 480px;
  overflow-y: auto;
  padding: 0;
}
.lp-mass-logs-scroll::-webkit-scrollbar { width: 4px; }
.lp-mass-logs-scroll::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }

.lp-mass-logs-table-wrap { overflow-x: auto; }
.lp-mass-table { margin: 0; }
.lp-mass-table thead th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 12px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}
.lp-mass-table tbody td {
  padding: 10px 12px;
  font-size: 12px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.lp-mass-row-ok { background: #FAFFFB; }
.lp-mass-row-fail { background: #FFFBFB; }
.lp-mass-link {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-mass-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.lp-mass-badge-success { background: #D1FAE5; color: #065F46; }
.lp-mass-badge-danger { background: #FEE2E2; color: #991B1B; }

/* ═══════════════════════════════════════════════════════════
   ACCOUNT — "Profile Dashboard"
   ═══════════════════════════════════════════════════════════ */

.lp-profile-wrap {
  margin: 0 28px 24px;
}
.lp-profile-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #6366F1 100%);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.lp-profile-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}
.lp-profile-hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 30%;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.lp-profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border: 2px solid rgba(255,255,255,0.3);
}
.lp-profile-hero-info { flex: 1; position: relative; z-index: 1; }
.lp-profile-hero-name { font-size: 20px; font-weight: 700; margin: 0 0 2px; color: #fff; }
.lp-profile-hero-username { font-size: 13px; opacity: 0.8; margin-bottom: 8px; }
.lp-profile-hero-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.lp-profile-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  opacity: 0.85;
}
.lp-profile-hero-badge {
  text-align: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.lp-profile-balance {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}
.lp-profile-balance-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.75;
  margin-top: 4px;
}

.lp-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lp-profile-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lp-profile-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-light);
  background: var(--surface-alt);
}
.lp-profile-card-header svg {
  color: var(--primary);
  flex-shrink: 0;
}
.lp-profile-card-header h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}
.lp-profile-card-body { padding: 18px 22px; }
.lp-profile-card-body .form-group {
  margin-bottom: 14px;
}
.lp-profile-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.lp-profile-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font);
}
.lp-profile-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}
.lp-profile-input-mono {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
}

.lp-profile-copy-field {
  display: flex;
  gap: 6px;
}
.lp-profile-copy-field .lp-profile-input {
  flex: 1;
}
.lp-profile-copy-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}
.lp-profile-copy-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
}

.lp-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font);
}
.lp-profile-btn:hover { background: var(--primary-hover); }
.lp-profile-btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.lp-profile-btn-secondary:hover { background: var(--surface-alt); border-color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════
   TICKETS — "Support Center"
   ═══════════════════════════════════════════════════════════ */

.lp-tickets-wrap {
  margin: 0 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-tickets-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lp-tickets-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-light);
  background: var(--surface-alt);
  cursor: pointer;
  user-select: none;
}
.lp-tickets-card-list .lp-tickets-card-header {
  cursor: default;
}
.lp-tickets-card-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-tickets-card-header-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-tickets-card-header h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}
.lp-tickets-chevron {
  transition: transform 0.3s ease;
  color: var(--text-muted);
}
.lp-tickets-card-expanded .lp-tickets-chevron {
  transform: rotate(180deg);
}
.lp-tickets-card-body {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.lp-tickets-card-expanded .lp-tickets-card-body {
  max-height: 600px;
  padding: 20px 22px;
}
.lp-tickets-card-list .lp-tickets-card-body {
  max-height: none;
  padding: 0;
}
.lp-tickets-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.lp-ticket-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.lp-ticket-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font);
}
.lp-ticket-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}
.lp-ticket-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text);
  background: var(--surface);
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font);
}
.lp-ticket-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}
.lp-ticket-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font);
  margin-top: 4px;
}
.lp-ticket-submit:hover { background: var(--primary-hover); }

.lp-tickets-list {
  display: flex;
  flex-direction: column;
}
.lp-ticket-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none !important;
  transition: background 0.15s;
}
.lp-ticket-item:hover { background: var(--surface-alt); }
.lp-ticket-item:last-child { border-bottom: none; }
.lp-ticket-item-unread {
  background: var(--primary-subtle);
  border-left: 3px solid var(--primary);
}
.lp-ticket-item-id {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  min-width: 48px;
}
.lp-ticket-item-content { flex: 1; min-width: 0; }
.lp-ticket-item-subject {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-ticket-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}
.lp-ticket-item-meta svg { vertical-align: -2px; }
.lp-ticket-item-status { flex-shrink: 0; }

.lp-ticket-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
}
.lp-ticket-status-open { background: #D1FAE5; color: #065F46; }
.lp-ticket-status-closed { background: #F3F4F6; color: #6B7280; }
.lp-ticket-status-pending { background: #FEF3C7; color: #92400E; }
.lp-ticket-status-answered { background: #DBEAFE; color: #1E40AF; }
.lp-ticket-status-default { background: var(--surface-alt); color: var(--text-secondary); }

.lp-tickets-empty {
  text-align: center;
  padding: 48px 22px;
  color: var(--text-muted);
}
.lp-tickets-empty svg { opacity: 0.3; margin-bottom: 12px; }
.lp-tickets-empty p { margin: 0; font-size: 13px; }

/* ═══════════════════════════════════════════════════════════
   TICKET VIEW — "Conversation Chat"
   ═══════════════════════════════════════════════════════════ */

.lp-convo-wrap {
  margin: 0 28px 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lp-convo-messages {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 500px;
  overflow-y: auto;
}
.lp-convo-messages::-webkit-scrollbar { width: 4px; }
.lp-convo-messages::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }

.lp-convo-msg {
  display: flex;
  gap: 10px;
  max-width: 85%;
}
.lp-convo-msg-user { align-self: flex-end; flex-direction: row-reverse; }
.lp-convo-msg-admin { align-self: flex-start; }

.lp-convo-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.lp-convo-avatar-user {
  background: var(--primary);
  color: #fff;
}
.lp-convo-avatar-admin {
  background: #EEF2FF;
  color: #4F46E5;
}

.lp-convo-msg-bubble {
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  position: relative;
}
.lp-convo-msg-user .lp-convo-msg-bubble {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.lp-convo-msg-admin .lp-convo-msg-bubble {
  background: var(--surface-alt);
  color: var(--text);
  border: 1px solid var(--border-light);
  border-bottom-left-radius: 4px;
}

.lp-convo-msg-text {
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.lp-convo-msg-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 11px;
}
.lp-convo-msg-user .lp-convo-msg-meta { justify-content: flex-end; }
.lp-convo-msg-user .lp-convo-msg-author { opacity: 0.8; }
.lp-convo-msg-user .lp-convo-msg-time { opacity: 0.6; }
.lp-convo-msg-admin .lp-convo-msg-author { color: var(--text-secondary); }
.lp-convo-msg-admin .lp-convo-msg-time { color: var(--text-muted); }

.lp-convo-reply {
  border-top: 1px solid var(--border);
  padding: 16px 22px;
  background: var(--surface);
}
.lp-convo-reply-field {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.lp-convo-reply-field textarea {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text);
  background: var(--surface);
  resize: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font);
  line-height: 1.5;
}
.lp-convo-reply-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}
.lp-convo-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.lp-convo-send-btn:hover { background: var(--primary-hover); transform: scale(1.05); }
.lp-convo-send-btn:active { transform: scale(0.95); }

/* ─── Responsive ─── */
@media (max-width: 767px) {
  .lp-mass-stats { margin: 0 14px 12px; gap: 8px; flex-direction: column; }
  .lp-mass-wrap { margin: 0 14px 20px; grid-template-columns: 1fr; gap: 12px; }
  .lp-mass-card-primary { grid-column: 1; }
  .lp-mass-card-logs { grid-column: 1; }
  .lp-mass-card-body { padding: 16px; }
  .lp-mass-textarea { min-height: 180px; }

  .lp-profile-wrap { margin: 0 14px 20px; }
  .lp-profile-hero { flex-direction: column; text-align: center; padding: 20px; }
  .lp-profile-hero-meta { justify-content: center; }
  .lp-profile-grid { grid-template-columns: 1fr; gap: 12px; }

  .lp-tickets-wrap { margin: 0 14px 20px; }
  .lp-ticket-item { padding: 12px 16px; flex-wrap: wrap; }
  .lp-ticket-item-id { min-width: 36px; }

  .lp-convo-wrap { margin: 0 14px 20px; }
  .lp-convo-messages { padding: 14px; max-height: 400px; }
  .lp-convo-msg { max-width: 95%; }
  .lp-convo-reply { padding: 12px 14px; }
}

/* ═══════════════════════════════════════════════════════════
   ACCOUNT (TABS) — "Tabbed Dashboard"
   ═══════════════════════════════════════════════════════════ */

.lp-account-tabs-wrap {
  margin: 0 28px 24px;
}
.lp-account-tabs-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 4px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.lp-account-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
  white-space: nowrap;
}
.lp-account-tab:hover {
  color: var(--text);
  background: var(--surface-alt);
}
.lp-account-tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.lp-account-tab.active svg { color: #fff; }
.lp-account-tab svg { flex-shrink: 0; }

.lp-account-tab-content {
  display: none;
  animation: lpFadeIn 0.25s ease;
}
.lp-account-tab-content.active { display: block; }

@keyframes lpFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.lp-account-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 20px 22px;
}
.lp-account-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lp-account-info-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lp-account-info-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.lp-account-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lp-account-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-light);
  background: var(--surface-alt);
}
.lp-account-card-header svg { color: var(--primary); flex-shrink: 0; }
.lp-account-card-header h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}
.lp-account-card-body { padding: 20px 22px; }
.lp-account-card-body .form-group { margin-bottom: 16px; }

.lp-account-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.lp-account-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font);
}
.lp-account-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}
.lp-account-input-mono {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
}

.lp-account-copy-field { display: flex; gap: 6px; }
.lp-account-copy-field .lp-account-input { flex: 1; }
.lp-account-copy-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.15s;
  flex-shrink: 0;
}
.lp-account-copy-btn:hover {
  border-color: var(--primary);
  background: var(--primary-subtle);
}

.lp-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font);
}
.lp-account-btn:hover { background: var(--primary-hover); }
.lp-account-btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.lp-account-btn-outline:hover { background: var(--surface-alt); border-color: var(--text-muted); }

.lp-account-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lp-account-duo .lp-account-card { margin: 0; }

@media (max-width: 767px) {
  .lp-account-tabs-wrap { margin: 0 14px 20px; }
  .lp-account-tabs-nav { gap: 2px; padding: 3px; }
  .lp-account-tab { padding: 10px 10px; font-size: 12px; flex-direction: column; gap: 4px; }
  .lp-account-tab svg { width: 14px; height: 14px; }
  .lp-account-info-grid { grid-template-columns: 1fr; padding: 16px; gap: 14px; }
  .lp-account-duo { grid-template-columns: 1fr; gap: 12px; }
  .lp-account-card-body { padding: 16px; }
}

/* ════════════════════════════════════════════════════════════════
   Site Footer (dynamic columns from theme_settings.footer_items)
   ════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 40px 20px 20px;
  margin-top: 40px;
  font-size: 13px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-col-title {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.footer-col-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col-links li {
  margin-bottom: 8px;
}
.footer-col-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-col-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid var(--border-light);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; gap: 20px; }
}
