/* assets/css/main.css — SMSVerify exact UI clone */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  /* Dark theme (default) */
  --bg-primary:     #0e1117;
  --bg-secondary:   #161b27;
  --bg-tertiary:    #1c2233;
  --bg-card:        #161b27;
  --bg-hover:       #1e2840;
  --border:         #2a3147;
  --border-light:   #343d56;

  --accent:         #4f8ef7;
  --accent-hover:   #3a7bd5;
  --accent-dim:     rgba(79,142,247,0.12);
  --accent-border:  rgba(79,142,247,0.3);

  --green:          #2ecc71;
  --green-dim:      rgba(46,204,113,0.12);
  --red:            #e74c3c;
  --red-dim:        rgba(231,76,60,0.12);
  --yellow:         #f39c12;
  --yellow-dim:     rgba(243,156,18,0.12);

  --text-primary:   #e8ecf4;
  --text-secondary: #8c9ab5;
  --text-muted:     #5a6885;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.6);

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;

  --transition: 0.18s ease;
}

/* Light theme */
body.light-mode {
  --bg-primary:     #f0f4f8;
  --bg-secondary:   #ffffff;
  --bg-tertiary:    #f8fafc;
  --bg-card:        #ffffff;
  --bg-hover:       #eef2ff;
  --border:         #dde3ef;
  --border-light:   #c8d0e0;
  --text-primary:   #1a2035;
  --text-secondary: #5a6885;
  --text-muted:     #8c9ab5;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.14);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: inherit; }

/* ── Topbar ── */
.topbar {
  background: #080c14;
  border-bottom: 1px solid var(--border);
  height: 38px;
  display: flex;
  align-items: center;
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
  width: 100%;
}
.tg-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(29,161,242,0.1); border: 1px solid rgba(29,161,242,0.2);
  border-radius: 50px; padding: 3px 12px; color: #5db8ff;
  font-size: 12px; font-weight: 500; transition: background var(--transition);
}
.tg-pill:hover { background: rgba(29,161,242,0.2); }
.tg-pill svg { width: 13px; height: 13px; fill: #5db8ff; }

.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-right span { color: var(--text-secondary); font-size: 12px; }

/* ── Navbar ── */
.navbar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; height: 60px; gap: 28px;
}
.navbar-logo {
  font-size: 21px; font-weight: 800; letter-spacing: -0.5px;
  color: var(--accent); white-space: nowrap;
}
.navbar-logo span { color: var(--text-primary); }

.navbar-links {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.navbar-links a {
  padding: 6px 12px; border-radius: var(--radius-sm);
  color: var(--text-secondary); font-size: 14px; font-weight: 500;
  transition: color var(--transition), background var(--transition);
}
.navbar-links a:hover, .navbar-links a.active {
  color: var(--text-primary); background: var(--bg-hover);
}

.navbar-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 18px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; cursor: pointer;
  border: none; transition: all var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(79,142,247,0.35); }
.btn-outline {
  background: transparent; color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.btn-ghost {
  background: transparent; color: var(--text-secondary);
}
.btn-ghost:hover { background: var(--bg-hover); color: var(--text-primary); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #c0392b; }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { background: #27ae60; }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-lg { padding: 12px 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.btn-icon { padding: 8px; width: 34px; height: 34px; }

/* ── Language dropdown ── */
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 5px 10px; cursor: pointer;
  color: var(--text-secondary); font-size: 13px;
  transition: border-color var(--transition), color var(--transition);
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── Balance badge ── */
.balance-badge {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-tertiary); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 5px 12px;
  font-size: 13px; font-weight: 600; color: var(--green);
}
.balance-badge svg { width: 13px; height: 13px; fill: var(--green); }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, #0d1423 0%, var(--bg-primary) 100%);
  padding: 56px 24px 40px; text-align: center;
}
.hero-inner { max-width: 1280px; margin: 0 auto; }
.hero h1 { font-size: 34px; font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.hero p { color: var(--text-secondary); font-size: 16px; max-width: 520px; margin: 0 auto; }

.stats-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(79,142,247,0.08); border: 1px solid var(--accent-border);
  border-radius: 50px; padding: 6px 18px; font-size: 13px; color: var(--accent);
  margin-bottom: 22px;
}
.pulse-dot {
  width: 8px; height: 8px; background: var(--green); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46,204,113,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(46,204,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}

/* ── Tab bar ── */
.tab-bar {
  display: flex; border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.tab-item {
  padding: 11px 20px; cursor: pointer;
  color: var(--text-secondary); font-size: 14px; font-weight: 500;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
}
.tab-item.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-item:hover:not(.active) { color: var(--text-primary); }

/* ── Main content wrapper ── */
.page-content { max-width: 1280px; margin: 0 auto; padding: 0 24px 60px; }

/* ── Step heading ── */
.step-heading {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; margin-bottom: 18px;
  color: var(--text-primary);
}
.step-badge {
  width: 28px; height: 28px; background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff; flex-shrink: 0;
}

/* ── Service grid ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 10px;
}
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 15px 13px;
  cursor: pointer; transition: border-color var(--transition), background var(--transition), transform var(--transition);
  position: relative;
}
.service-card:hover {
  border-color: var(--accent); background: var(--bg-hover);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.service-card.active { border-color: var(--accent); background: var(--bg-hover); }
.service-card.active::after {
  content: '✓'; position: absolute; top: 8px; right: 10px;
  width: 18px; height: 18px; background: var(--accent); border-radius: 50%;
  color: #fff; font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.service-icon { font-size: 26px; margin-bottom: 7px; }
.service-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.service-from { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.service-price { font-size: 14px; font-weight: 700; color: var(--accent); }
.service-count { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }

/* ── Country grid ── */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 10px;
}
.country-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 14px;
  cursor: pointer; display: flex; align-items: center; gap: 10px;
  transition: border-color var(--transition), background var(--transition);
}
.country-card:hover { border-color: var(--accent); background: var(--bg-hover); }
.country-card.active { border-color: var(--accent); background: var(--bg-hover); }
.country-flag { font-size: 22px; flex-shrink: 0; }
.country-name { font-size: 13px; font-weight: 500; }

/* ── Show all button ── */
.show-more-btn {
  margin-top: 12px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 10px 20px; color: var(--text-secondary); cursor: pointer;
  font-size: 13px; font-weight: 500;
  transition: border-color var(--transition), color var(--transition);
}
.show-more-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── Operator section ── */
.operator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}
.operator-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 15px;
  cursor: pointer; transition: border-color var(--transition), transform var(--transition);
}
.operator-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.operator-card.active { border-color: var(--accent); background: var(--bg-hover); }
.operator-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.operator-avail { font-size: 12px; color: var(--text-secondary); }
.operator-price { font-size: 15px; font-weight: 700; color: var(--accent); margin-top: 6px; }

.operator-placeholder {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  text-align: center; color: var(--text-secondary);
}
.operator-placeholder .icon { font-size: 48px; opacity: 0.2; margin-bottom: 12px; }

/* ── Features section ── */
.features-section {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 64px 24px;
}
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-title { font-size: 26px; font-weight: 800; text-align: center; margin-bottom: 48px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-tertiary); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover { border-color: var(--accent-border); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px; background: var(--accent-dim);
  border-radius: var(--radius-md); display: flex; align-items: center;
  justify-content: center; font-size: 22px; flex-shrink: 0;
}
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ── Chips ── */
.chip {
  display: inline-flex; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 50px; padding: 8px 18px;
  font-size: 13px; color: var(--text-secondary);
  transition: border-color var(--transition), color var(--transition);
}
.chip:hover { border-color: var(--accent); color: var(--text-primary); }

/* ── How-to steps ── */
.howto-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 640px) { .howto-grid { grid-template-columns: 1fr; } }
.howto-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; text-align: center;
}
.howto-num {
  width: 44px; height: 44px; background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff; margin: 0 auto 18px;
}
.howto-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.howto-card p  { font-size: 13px; color: var(--text-secondary); }

/* ── Forms ── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 13px; font-weight: 500;
  margin-bottom: 7px; color: var(--text-primary);
}
.form-control {
  width: 100%; padding: 10px 14px;
  background: var(--bg-tertiary); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-primary);
  font-size: 14px; transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-control::placeholder { color: var(--text-muted); }
.form-control.is-invalid { border-color: var(--red); }
.form-error { color: var(--red); font-size: 12px; margin-top: 5px; }
.form-hint  { color: var(--text-muted); font-size: 12px; margin-top: 4px; }

select.form-control {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%238c9ab5'%3E%3Cpath d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 36px;
}

/* ── Auth pages ── */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: var(--bg-primary);
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px;
  box-shadow: var(--shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo .logo-text { font-size: 26px; font-weight: 800; color: var(--accent); }
.auth-logo .logo-text span { color: var(--text-primary); }
.auth-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.auth-subtitle { color: var(--text-secondary); font-size: 14px; margin-bottom: 28px; }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted); font-size: 12px; margin: 18px 0;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.auth-footer { text-align: center; margin-top: 22px; color: var(--text-secondary); font-size: 13px; }
.auth-footer a { color: var(--accent); font-weight: 600; }

/* ── Alert messages ── */
.alert {
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 13px; margin-bottom: 18px;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-error   { background: var(--red-dim);    border: 1px solid rgba(231,76,60,0.3);  color: #ff7675; }
.alert-success { background: var(--green-dim);  border: 1px solid rgba(46,204,113,0.3); color: #55efc4; }
.alert-warning { background: var(--yellow-dim); border: 1px solid rgba(243,156,18,0.3); color: #fdcb6e; }
.alert-info    { background: var(--accent-dim); border: 1px solid var(--accent-border); color: #74b9ff; }

/* ── Dashboard layout ── */
.dash-layout { display: flex; min-height: calc(100vh - 98px); }
.dash-sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--bg-secondary); border-right: 1px solid var(--border);
  padding: 24px 0; position: sticky; top: 60px; height: calc(100vh - 60px); overflow-y: auto;
}
.dash-sidebar-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 20px; color: var(--text-secondary);
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: color var(--transition), background var(--transition);
  border-left: 3px solid transparent;
}
.dash-sidebar-item:hover { background: var(--bg-hover); color: var(--text-primary); }
.dash-sidebar-item.active {
  color: var(--accent); background: var(--accent-dim);
  border-left-color: var(--accent);
}
.dash-sidebar-icon { font-size: 16px; width: 20px; text-align: center; }
.dash-sidebar-section {
  padding: 10px 20px 4px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted);
}
.dash-main { flex: 1; padding: 28px; overflow: auto; }

/* ── Stat cards ── */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
}
.stat-card-label { font-size: 12px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.stat-card-value { font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.stat-card-sub   { font-size: 12px; color: var(--text-muted); }
.stat-card.accent { border-color: var(--accent-border); background: var(--accent-dim); }
.stat-card.accent .stat-card-value { color: var(--accent); }
.stat-card.green  { border-color: rgba(46,204,113,0.3); background: var(--green-dim); }
.stat-card.green  .stat-card-value { color: var(--green); }

/* ── Data tables ── */
.table-wrapper {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.table-header {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.table-title { font-size: 15px; font-weight: 700; }
table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 12px 16px; text-align: left;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-secondary);
  background: var(--bg-tertiary); border-bottom: 1px solid var(--border);
}
tbody td {
  padding: 13px 16px; font-size: 13px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg-hover); }

/* ── Status badges ── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 50px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.badge-waiting   { background: var(--yellow-dim); color: var(--yellow); }
.badge-received  { background: var(--green-dim);  color: var(--green); }
.badge-cancelled { background: var(--red-dim);    color: var(--red); }
.badge-refunded  { background: rgba(108,117,125,0.12); color: #8c9ab5; }
.badge-pending   { background: var(--accent-dim); color: var(--accent); }
.badge-active    { background: var(--green-dim);  color: var(--green); }
.badge-banned    { background: var(--red-dim);    color: var(--red); }
.badge::before { content: '●'; font-size: 8px; }

/* ── Pagination ── */
.pagination {
  display: flex; align-items: center; gap: 4px;
  padding: 16px 20px; border-top: 1px solid var(--border);
}
.page-btn {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  font-size: 13px; color: var(--text-secondary); cursor: pointer;
  transition: all var(--transition); background: transparent;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-xl); width: 100%; max-width: 520px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.96) translateY(10px); transition: transform 0.2s;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.modal-title { font-size: 16px; font-weight: 700; }
.modal-close {
  width: 30px; height: 30px; background: var(--bg-hover);
  border: none; border-radius: 50%; cursor: pointer;
  font-size: 16px; color: var(--text-secondary); display: flex;
  align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--red-dim); color: var(--red); }
.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 10px;
}

/* ── Payment cards ── */
.payment-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.payment-method-card {
  background: var(--bg-tertiary); border: 2px solid var(--border);
  border-radius: var(--radius-md); padding: 16px;
  cursor: pointer; transition: all var(--transition); text-align: center;
}
.payment-method-card:hover { border-color: var(--accent); }
.payment-method-card.selected { border-color: var(--accent); background: var(--accent-dim); }
.payment-method-card .pm-icon { font-size: 28px; margin-bottom: 6px; }
.payment-method-card .pm-name { font-size: 13px; font-weight: 600; }

/* ── API key display ── */
.api-key-box {
  background: var(--bg-tertiary); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 16px;
  font-family: 'Courier New', monospace; font-size: 13px;
  color: var(--accent); letter-spacing: 0.5px; word-break: break-all;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

/* ── Code block ── */
pre, .code-block {
  background: #0d1117; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 18px;
  font-family: 'Courier New', monospace; font-size: 13px;
  color: #79c0ff; overflow-x: auto; line-height: 1.6;
}
.code-block .kw  { color: #ff7b72; }
.code-block .str { color: #a5d6ff; }
.code-block .num { color: #f8981d; }
.code-block .cm  { color: #6a737d; }

/* ── Footer ── */
footer {
  background: #080c14; border-top: 1px solid var(--border);
  padding: 48px 24px 24px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-logo { font-size: 22px; font-weight: 800; color: var(--accent); margin-bottom: 10px; display: block; }
.footer-logo span { color: var(--text-primary); }
.footer-desc { color: var(--text-secondary); font-size: 13px; line-height: 1.7; max-width: 240px; }
.footer-col h4 {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px;
}
.footer-col a {
  display: block; color: var(--text-secondary); font-size: 13px;
  margin-bottom: 10px; transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-muted); font-size: 12px; flex-wrap: wrap; gap: 12px;
}
.social-links { display: flex; gap: 8px; }
.social-btn {
  width: 32px; height: 32px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 14px;
  transition: border-color var(--transition), color var(--transition);
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── Admin sidebar ── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 250px; background: #080c14; border-right: 1px solid var(--border);
  padding: 0; flex-shrink: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar-logo {
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  font-size: 18px; font-weight: 800; color: var(--accent);
}
.admin-sidebar-logo span { color: var(--text-primary); }
.admin-sidebar-logo small { display: block; font-size: 10px; font-weight: 400; color: var(--text-muted); }
.admin-nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 20px; color: var(--text-secondary);
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all var(--transition); border-left: 3px solid transparent;
}
.admin-nav-item:hover { background: rgba(255,255,255,0.04); color: var(--text-primary); }
.admin-nav-item.active { background: var(--accent-dim); color: var(--accent); border-left-color: var(--accent); }
.admin-nav-section {
  padding: 12px 20px 4px; font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted);
}
.admin-main { flex: 1; padding: 28px; background: var(--bg-primary); overflow: auto; }
.admin-topbar {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px;
}
.admin-page-title { font-size: 22px; font-weight: 800; }

/* ── Input group ── */
.input-group { display: flex; }
.input-group .form-control { border-radius: var(--radius-sm) 0 0 var(--radius-sm); flex: 1; }
.input-group .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .dash-sidebar { width: 200px; }
}
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .dash-layout { flex-direction: column; }
  .dash-sidebar { width: 100%; height: auto; position: static; display: flex; overflow-x: auto; padding: 12px; flex-direction: row; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 24px; }
  .payment-methods { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Utilities ── */
.text-accent   { color: var(--accent); }
.text-green    { color: var(--green); }
.text-red      { color: var(--red); }
.text-muted    { color: var(--text-muted); }
.text-secondary{ color: var(--text-secondary); }
.font-bold     { font-weight: 700; }
.font-mono     { font-family: 'Courier New', monospace; }
.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.flex  { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.d-none { display: none !important; }
.spinner {
  width: 20px; height: 20px; border: 2px solid var(--border);
  border-top-color: var(--accent); border-radius: 50%;
  animation: spin 0.7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
