/* ============================================
   SMS Platform V1 - Design System
   Inspired by modern SaaS dashboards
   ============================================ */

:root {
  --primary: #F97316;
  --primary-dark: #EA580C;
  --primary-light: #FFF7ED;
  --primary-50: #FFF4EA;
  --accent: #F97316;
  --accent-light: #FFF7ED;
  --warning: #F59E0B;
  --danger: #EF4444;
  --ink: #17181D;
  --bg: #EFF1F7;
  --card: #FFFFFF;
  --text: #17181D;
  --text-2: #5A5F6E;
  --text-3: #9AA0AF;
  --border: #ECEEF4;
  --border-light: #F3F4F8;
  --sidebar-w: 250px;
  --radius: 18px;
  --radius-sm: 13px;
  --shadow: 0 1px 3px rgba(23,24,29,.05), 0 4px 14px rgba(23,24,29,.04);
  --shadow-md: 0 8px 24px rgba(23,24,29,.08);
  --shadow-lg: 0 16px 40px rgba(23,24,29,.12);
  --shadow-xl: 0 24px 56px rgba(23,24,29,.16);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  padding: 18px;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }

/* ============ SIDEBAR ============ */
.sidebar {
  position: fixed;
  top: 18px; left: 18px; bottom: 18px;
  width: var(--sidebar-w);
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
  border: 1px solid var(--border);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 22px 18px;
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.sidebar-logo .logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #FB923C, #F97316);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
  box-shadow: 0 4px 12px rgba(249,115,22,.35);
}

.sidebar-nav {
  flex: 1;
  padding: 6px 14px;
}
.sidebar-nav .nav-section {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-3);
  padding: 16px 12px 8px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 13px;
  color: var(--text-2);
  font-weight: 500;
  font-size: 13.5px;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  margin-bottom: 3px;
  position: relative;
}
.sidebar-nav a:hover {
  background: var(--border-light);
  color: var(--text);
}
.sidebar-nav a.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
}
.sidebar-nav a.active::before { display: none; }
.sidebar-nav a i {
  width: 20px; height: 20px;
  flex-shrink: 0;
  text-align: center;
  font-size: 15px;
  transition: transform .2s;
}
.sidebar-nav a:hover i { transform: scale(1.12); }

.sidebar-footer {
  padding: 14px;
  border-top: 1px solid var(--border-light);
  margin: 0 6px 6px;
}
.sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 13px;
  color: var(--text-2);
  font-weight: 500;
  font-size: 13.5px;
  transition: all .15s;
}
.sidebar-footer a:hover {
  background: #FEF2F2;
  color: #DC2626;
}

/* ============ MAIN ============ */
.main {
  margin-left: calc(var(--sidebar-w) + 36px);
  min-height: calc(100vh - 36px);
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* Top header */
.topbar {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  border-radius: 22px 22px 0 0;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
}
.topbar h1 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FB923C, #F97316);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(249,115,22,.35);
}
/* ============ NOTIFICATIONS ============ */
.notif-wrap { position: relative; }
.notif-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: all .2s;
  position: relative;
}
.notif-btn:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.notif-badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #EF4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.notif-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 350px;
  max-width: 88vw;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  overflow: hidden;
}
.notif-dropdown.open { display: block; animation: pageIn .2s ease both; }
.notif-head {
  padding: 13px 16px;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.notif-head .notif-mark-all {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}
.notif-list { max-height: 360px; overflow-y: auto; }
.notif-empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
}
.notif-empty i { display: block; font-size: 22px; margin-bottom: 8px; opacity: .5; }
.notif-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  transition: background .15s;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--primary-light); }
.notif-item.unread { background: #FFF7ED; }
.notif-ico {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.notif-item-title { font-weight: 600; font-size: 13px; color: var(--text); }
.notif-item-msg { font-size: 12px; color: var(--text-2); margin-top: 2px; line-height: 1.45; }
.notif-item-time { font-size: 11px; color: var(--text-3); margin-top: 4px; }
.notif-ico.success { background: #ECFDF5; color: #059669; }
.notif-ico.danger { background: #FEF2F2; color: #DC2626; }
.notif-ico.warning { background: #FFFBEB; color: #D97706; }
.notif-ico.info { background: var(--primary-light); color: var(--primary); }
.notif-foot { padding: 10px 12px; text-align: center; border-top: 1px solid var(--border-light); }
.notif-foot a { font-size: 12.5px; font-weight: 600; color: var(--primary); }

/* Page notifications */
.npage-toolbar {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
}
.npage-toolbar form { margin: 0; }
.npage-tabs { display: flex; gap: 6px; }
.npage-tab {
  padding: 7px 14px; border-radius: 9px;
  font-size: 13px; font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: var(--card);
  transition: all .2s;
}
.npage-tab:hover { border-color: var(--primary); color: var(--primary); }
.npage-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.npage-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  transition: background .15s;
}
.npage-row:last-child { border-bottom: none; }
.npage-row.unread { background: #FFF7ED; }
.npage-row.unread .npage-title { font-weight: 700; }
.npage-link { display: flex; gap: 14px; flex: 1; min-width: 0; }
.npage-ico {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  background: var(--primary-light); color: var(--primary);
}
.npage-ico.success { background: #ECFDF5; color: #059669; }
.npage-ico.danger { background: #FEF2F2; color: #DC2626; }
.npage-ico.warning { background: #FFFBEB; color: #D97706; }
.npage-body { min-width: 0; }
.npage-title { font-weight: 600; font-size: 14px; color: var(--text); }
.npage-msg { font-size: 13px; color: var(--text-2); margin-top: 3px; line-height: 1.5; }
.npage-time { font-size: 11.5px; color: var(--text-3); margin-top: 5px; }
.npage-del { flex-shrink: 0; margin: 0; }
.npage-del button {
  width: 32px; height: 32px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-3);
  cursor: pointer;
  transition: all .2s;
}
.npage-del button:hover { border-color: #FCA5A5; background: #FEF2F2; color: #DC2626; }
.npage-empty { padding: 48px 20px; text-align: center; color: var(--text-3); font-size: 13.5px; }
.npage-empty i { display: block; font-size: 30px; margin-bottom: 10px; opacity: .4; }
.npage-pagination {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  padding: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 13px; color: var(--text-2);
}
.npage-pagination a, .npage-pagination span {
  padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border);
}
.npage-pagination a:hover { border-color: var(--primary); color: var(--primary); }
.npage-pagination .disabled { opacity: .45; pointer-events: none; }
@media (max-width: 640px) {
  .npage-toolbar { padding: 12px 14px; }
  .npage-tabs { width: 100%; }
  .npage-tab { flex: 1; text-align: center; }
  .npage-row { padding: 12px 14px; }
  .npage-link { gap: 10px; }
  .npage-title { font-size: 13.5px; }
}

/* Content */
.content {
  padding: 26px 28px 44px;
  background: #FAFBFD;
  min-height: calc(100vh - 36px - 71px);
  border-radius: 0 0 22px 22px;
}

/* ============ CARDS ============ */
.card {
  background: var(--card);
  border: 1px solid rgba(232,234,246,.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  animation: cardIn .4s ease both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.card:hover {
  box-shadow: var(--shadow-md);
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.card-body {
  padding: 20px;
}

/* ============ GRID ============ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-main { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }

/* ============ STAT CARDS ============ */
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  animation: cardIn .4s ease both;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.stat-card .stat-label {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.stat-card .stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  transition: color .2s;
}
.stat-card:hover .stat-value { color: var(--primary-dark); }
.stat-card .stat-sub {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 4px;
}
.stat-card .stat-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: transform .25s;
}
.stat-card:hover .stat-icon { transform: scale(1.1) rotate(-5deg); }
.stat-icon.green { background: #DCFCE7; color: #16A34A; }
.stat-icon.blue { background: #DBEAFE; color: #2563EB; }
.stat-icon.amber { background: #FEF3C7; color: #D97706; }
.stat-icon.red { background: #FEE2E2; color: #DC2626; }
.stat-icon.purple { background: #EDE9FE; color: #7C3AED; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  font-family: var(--font);
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width .5s, height .5s, opacity .5s;
  opacity: 0;
}
.btn:active::after {
  width: 300px; height: 300px;
  opacity: 1;
  transition: 0s;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 16px rgba(23,24,29,.22);
}
.btn-primary:hover {
  background: #2A2B33;
  color: #fff;
  box-shadow: 0 8px 22px rgba(23,24,29,.3);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0) scale(.98); }

.btn-outline {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: var(--primary-light);
  border-color: #FDBA74;
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-danger {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #fff;
  box-shadow: 0 2px 8px rgba(239,68,68,.3);
}
.btn-danger:hover { background: linear-gradient(135deg, #DC2626, #B91C1C); color: #fff; transform: translateY(-1px); }

.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ============ FORMS ============ */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  background: var(--card);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-control:focus {
  border-color: #FB923C;
  box-shadow: 0 0 0 4px rgba(249,115,22,.14);
}
.form-control::placeholder { color: var(--text-3); }
select.form-control { appearance: auto; }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-hint { font-size: 12px; color: var(--text-3); margin-top: 4px; }

/* ============ TABLES ============ */
.table-wrapper { overflow-x: auto; }
table.table {
  width: 100%;
  border-collapse: collapse;
}
.table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--text-3);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text);
  vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--primary-50); }

/* ============ BADGES ============ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.badge-success { background: #DCFCE7; color: #15803D; }
.badge-warning { background: #FFFBEB; color: #D97706; }
.badge-danger { background: #FEF2F2; color: #DC2626; }
.badge-secondary { background: var(--border-light); color: var(--text-2); }
.badge-info { background: #EFF6FF; color: #2563EB; }

/* Badge "Bientôt" dans la sidebar */
.nav-badge {
  margin-left: auto;
  background: var(--border-light);
  color: var(--text-2);
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
.sidebar-nav a.active .nav-badge {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* ============ TRANSACTIONS LIST ============ */
.tx-list { }
.tx-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  transition: background .15s;
}
.tx-item:last-child { border-bottom: none; }
.tx-item:hover { background: var(--primary-50); }
.tx-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.tx-icon.sms { background: #EFF6FF; color: #2563EB; }
.tx-icon.recharge { background: #EFF6FF; color: #1D4ED8; }
.tx-icon.credit { background: #F0F7FF; color: #2563EB; }
.tx-icon.debit { background: #FEF2F2; color: #DC2626; }
.tx-info { flex: 1; min-width: 0; }
.tx-info .tx-title { font-weight: 600; font-size: 14px; color: var(--text); }
.tx-info .tx-sub { font-size: 12px; color: var(--text-3); }
.tx-amount {
  font-weight: 700;
  font-size: 15px;
  text-align: right;
  white-space: nowrap;
}
.tx-amount.positive { color: var(--primary); }
.tx-amount.negative { color: #EF4444; }
.tx-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-left: 12px; flex-shrink: 0; }

/* ============ FILTER PILLS ============ */
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.pill {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  transition: all .15s;
}
.pill:hover { border-color: var(--primary); color: var(--primary); }
.pill.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* ============ ALERTS ============ */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.alert-success { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }
.alert-danger { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-info { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

/* ============ AUTH PAGES ============ */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.auth-wrap::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.14) 0%, rgba(249,115,22,0) 70%);
  pointer-events: none;
}
.auth-wrap::after {
  content: '';
  position: absolute;
  bottom: -140px; left: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.10) 0%, rgba(249,115,22,0) 70%);
  pointer-events: none;
}
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
}
.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.auth-logo .logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #FB923C, #F97316);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
  box-shadow: 0 6px 16px rgba(249,115,22,.4);
}
.auth-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}
.auth-sub {
  text-align: center;
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 28px;
}
.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-2);
}
.auth-footer a { color: var(--primary); font-weight: 600; }

/* ============ LANDING ============ */
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.landing-nav .logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700;
}
.landing-nav .logo-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.landing-nav .nav-links {
  display: flex; align-items: center; gap: 24px;
}
.landing-nav .nav-links a {
  color: var(--text-2); font-weight: 500; font-size: 14px;
}
.landing-nav .nav-links a:hover { color: var(--text); }

.hero {
  text-align: center;
  padding: 80px 48px 60px;
  max-width: 720px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 48px 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-card .feat-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.5; }

.landing-footer {
  text-align: center;
  padding: 24px;
  color: var(--text-3);
  font-size: 13px;
  border-top: 1px solid var(--border);
}

/* ============ WALLET CARD (dark) ============ */
.wallet-card {
  background: linear-gradient(135deg, #17181D 0%, #22232B 60%, #2C2D37 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 32px rgba(23,24,29,.35);
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.wallet-card::after {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.55) 0%, rgba(249,115,22,0) 70%);
  pointer-events: none;
}
.wallet-card > * { position: relative; z-index: 1; }
.wallet-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(23,24,29,.45);
}
@keyframes walletGrad {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.wallet-card .wallet-label {
  font-size: 13px;
  opacity: .7;
  font-weight: 500;
  margin-bottom: 4px;
}
.wallet-card .wallet-amount {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.wallet-card .wallet-sub {
  font-size: 13px;
  opacity: .6;
  margin-top: 4px;
}

/* ============ SECTION TITLE ============ */
.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============ SMS COUNTER BAR ============ */
.sms-counter {
  display: flex;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.sms-counter .counter-item {
  flex: 1;
  text-align: center;
}
.sms-counter .counter-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.sms-counter .counter-label {
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* ============ PAGINATION ============ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}
.page-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--card);
  border: 1px solid var(--border);
  transition: all .15s;
}
.page-link:hover { border-color: var(--primary); color: var(--primary); }
.page-link.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============ EMPTY STATE ============ */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-3);
}
.empty-state svg { width: 48px; height: 48px; margin-bottom: 12px; opacity: .4; }
.empty-state p { font-size: 14px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-main { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { padding: 0; }
  body::before { display: none; }
  .sidebar {
    top: 0; left: 0; bottom: 0;
    border-radius: 0 22px 22px 0;
    transform: translateX(-100%);
    transition: transform .25s;
    box-shadow: none;
    width: min(280px, 82vw);
  }
  .sidebar.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .main {
    margin-left: 0;
    border-radius: 0;
    min-height: 100vh;
    box-shadow: none;
  }
  .topbar { border-radius: 0; padding: 14px 16px; }
  .topbar h1 { font-size: 17px; }
  .content { padding: 16px; border-radius: 0; min-height: auto; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 48px 24px 40px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .features { grid-template-columns: 1fr; padding: 24px 24px 48px; }
  .landing-nav { padding: 16px 20px; }
  .landing-nav .nav-links { display: none; }
  .sms-counter { flex-wrap: wrap; }
  .sms-counter .counter-item { min-width: 45%; }

  /* Mobile topbar hamburger */
  .mobile-toggle {
    display: flex !important;
    width: 36px; height: 36px;
    align-items: center; justify-content: center;
    background: var(--primary-50);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    margin-right: 12px;
    font-size: 17px;
    color: var(--primary);
  }
}

.mobile-toggle { display: none; }
.topbar-left { display: flex; align-items: center; }

/* Sidebar overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.3);
  z-index: 99;
}
.sidebar-overlay.show { display: block; }

/* ============ STEP INDICATOR ============ */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
}
.step {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-3, #f3f4f6);
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.step.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(249,115,22,.4);
}
.step.done {
  background: var(--primary);
  color: #fff;
}
.step-line {
  width: 48px; height: 3px;
  background: var(--border);
  border-radius: 2px;
}

/* ============ CODE INPUT ============ */
.code-input {
  font-size: 28px !important;
  font-weight: 800;
  letter-spacing: 10px;
  text-align: center;
  font-family: 'Inter', monospace;
  padding: 14px !important;
  background: var(--bg);
}

/* ============ PASSWORD STRENGTH ============ */
.pw-strength {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.pw-strength-bar {
  height: 100%;
  border-radius: 2px;
  transition: width .3s, background .3s;
  width: 0;
}

/* ============ EXTRA RESPONSIVE ============ */
@media (max-width: 480px) {
  .auth-card { margin: 16px; padding: 28px 22px; }
  .code-input { font-size: 22px !important; letter-spacing: 6px; }
  .wallet-amount { font-size: 30px; }
  .stat-value { font-size: 24px; }
  .tx-item { flex-wrap: wrap; }
  .tx-amount { margin-left: 0 !important; }
  .btn-lg { padding: 14px 20px; font-size: 15px; }
  .landing-nav .btn { padding: 8px 14px; font-size: 13px; }
  .filter-pills { flex-wrap: wrap; }
  .filter-pills input[type=text] { width: 100% !important; }
  .pagination { flex-wrap: wrap; }
}

/* ============ TOUCH TARGETS ============ */
@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .form-control { min-height: 44px; font-size: 16px; }
  .sidebar-nav a { padding: 12px 20px; }
  .pill { padding: 10px 18px; }
}

/* ============ TABLE RESPONSIVE ============ */
@media (max-width: 640px) {
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { min-width: 500px; }
}

/* ============ SMOOTH SCROLL ============ */
html { scroll-behavior: smooth; }

/* ============ FOCUS VISIBLE ============ */
.form-control:focus, .btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ============ PAGE TRANSITION ============ */
.content {
  animation: pageIn .4s cubic-bezier(.4,0,.2,1) both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ SKELETON LOADING ============ */
.skeleton {
  background: linear-gradient(90deg, #E5E7EB 25%, #F3F4F6 50%, #E5E7EB 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.skeleton-line {
  height: 14px;
  margin-bottom: 10px;
  border-radius: 6px;
}
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w80 { width: 80%; }
.skeleton-line.w40 { width: 40%; }
.skeleton-line.w100 { width: 100%; }
.skeleton-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
}
.skeleton-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.skeleton-row:last-child { border-bottom: none; }
.skeleton-btn {
  height: 44px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: not-allowed;
  opacity: .6;
}

/* ============ LINK CHECKBOX ============ */
.link-check-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
}
.link-check-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.link-check-label input[type="checkbox"] {
  display: none;
}
.link-check-box {
  width: 22px; height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
  background: var(--card);
}
.link-check-box::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
  color: #fff;
  opacity: 0;
  transform: scale(0);
  transition: all .2s;
}
.link-check-label input:checked + .link-check-box {
  background: var(--primary);
  border-color: var(--primary);
}
.link-check-label input:checked + .link-check-box::after {
  opacity: 1;
  transform: scale(1);
}
.link-check-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.link-check-text strong { font-size: 14px; color: var(--text); }
.link-check-text span { font-size: 12px; color: var(--text-2); }
.link-detected {
  margin-top: 10px;
  padding: 8px 12px;
  background: #FEF3C7;
  border: 1px dashed #F59E0B;
  border-radius: 8px;
  font-size: 12.5px;
  color: #92400E;
  font-weight: 600;
  animation: fadeIn .3s ease;
}
/* ============================================================
   REFONTE — TABLEAU DE BORD, RECHARGE, PAIEMENT CRYPTO
   ============================================================ */

[hidden] { display: none !important; }

.btn-ghost {
  background: #F3F4F8;
  color: var(--text-2);
  box-shadow: none;
}
.btn-ghost:hover { background: #E9ECF3; color: var(--text); transform: translateY(-1px); }

/* ---------- Dashboard ---------- */
.dash { display: flex; flex-direction: column; gap: 20px; }

.dash-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  background: linear-gradient(120deg, #17181D 0%, #23252E 48%, #3A2A1E 100%);
  border-radius: 24px;
  padding: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dash-hero::before {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  right: -90px; top: -140px;
  background: radial-gradient(circle, rgba(249,115,22,.35), transparent 70%);
  pointer-events: none;
}
.dash-hero::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  left: 32%; bottom: -140px;
  background: radial-gradient(circle, rgba(249,115,22,.16), transparent 70%);
  pointer-events: none;
}
.dash-hero > * { position: relative; z-index: 1; }
.dash-date { font-size: 12.5px; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.dash-hero-copy h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.dash-hero-copy p { font-size: 14px; color: rgba(255,255,255,.62); margin-top: 6px; max-width: 440px; }
.dash-hero-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.dash-btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: none;
}
.dash-btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

.dash-wallet {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(8px);
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.dash-wallet-label { font-size: 12.5px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 7px; }
.dash-wallet-amount { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }
.dash-wallet-sub { font-size: 12.5px; color: rgba(255,255,255,.5); margin-top: 2px; }
.dash-wallet-foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; font-weight: 600; }
.dash-wallet-foot a { color: #FDBA74; display: inline-flex; align-items: center; gap: 6px; }
.dash-wallet-foot a:hover { color: #fff; }

.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dash-kpi {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.dash-kpi:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dash-kpi-ico {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.dash-kpi-ico.is-blue   { background: #EFF6FF; color: #2563EB; }
.dash-kpi-ico.is-indigo { background: #EEF2FF; color: #4F46E5; }
.dash-kpi-ico.is-amber  { background: #FFFBEB; color: #D97706; }
.dash-kpi-ico.is-violet { background: #F5F3FF; color: #7C3AED; }
.dash-kpi-ico.is-orange { background: #FFF7ED; color: #EA580C; }
.dash-kpi-ico.is-green  { background: #ECFDF5; color: #16A34A; }
.dash-kpi-body { min-width: 0; }
.dash-kpi-value { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.dash-kpi-value small { font-size: 12px; font-weight: 700; color: var(--text-3); }
.dash-kpi-label { font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-top: 2px; }
.dash-kpi-sub { font-size: 11.5px; color: var(--text-3); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dash-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; align-items: start; }
.dash-grid-bottom { grid-template-columns: 1fr 1fr; }
.dash-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.dash-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.dash-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dash-card-head h2 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.dash-card-head h2 i { color: var(--primary); font-size: 14px; }
.dash-link { font-size: 12.5px; font-weight: 600; color: var(--primary); white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.dash-badge { background: var(--primary); color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 20px; }

.dash-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all .2s ease;
  min-width: 0;
}
.dash-action:hover { border-color: #FDBA74; background: var(--primary-50); transform: translateY(-1px); }
.dash-action-ico {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.dash-action-ico.is-blue   { background: #EFF6FF; color: #2563EB; }
.dash-action-ico.is-indigo { background: #EEF2FF; color: #4F46E5; }
.dash-action-ico.is-orange { background: #FFF7ED; color: #EA580C; }
.dash-action-ico.is-violet { background: #F5F3FF; color: #7C3AED; }
.dash-action span:last-child { min-width: 0; display: flex; flex-direction: column; }
.dash-action strong { font-size: 13px; font-weight: 700; }
.dash-action small { font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dash-activity { display: flex; flex-direction: column; }
.dash-act-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.dash-act-item:last-child { border-bottom: none; padding-bottom: 0; }
.dash-act-ico {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.dash-act-ico.is-green  { background: #ECFDF5; color: #16A34A; }
.dash-act-ico.is-blue   { background: #EFF6FF; color: #2563EB; }
.dash-act-ico.is-indigo { background: #EEF2FF; color: #4F46E5; }
.dash-act-ico.is-violet { background: #F5F3FF; color: #7C3AED; }
.dash-act-ico.is-amber  { background: #FFFBEB; color: #D97706; }
.dash-act-ico.is-red    { background: #FEF2F2; color: #DC2626; }
.dash-act-ico.is-gray   { background: #F3F4F8; color: var(--text-3); }
.dash-act-info { flex: 1; min-width: 0; }
.dash-act-title { font-size: 13.5px; font-weight: 600; }
.dash-act-sub { font-size: 11.5px; color: var(--text-3); margin-top: 1px; }
.dash-act-amount { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.is-green { color: #16A34A; }
.is-red { color: #DC2626; }

.dash-chart { display: flex; align-items: flex-end; gap: 7px; height: 140px; }
.dash-bar-wrap { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0; }
.dash-bar {
  width: 100%;
  max-width: 38px;
  border-radius: 8px 8px 4px 4px;
  background: #EDEFF5;
  margin-top: auto;
  transition: height .5s cubic-bezier(.4,0,.2,1);
}
.dash-bar.has-value { background: linear-gradient(180deg, #FB923C, #F97316); }
.dash-bar-wrap span { font-size: 10.5px; color: var(--text-3); margin-top: 7px; }
.dash-chart-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-light); font-size: 12.5px; color: var(--text-2); }
.dash-chart-foot strong { font-size: 14px; color: var(--text); }

.dash-notifs { display: flex; flex-direction: column; }
.dash-notif { display: flex; gap: 11px; padding: 11px 10px; border-radius: 11px; transition: background .15s ease; }
.dash-notif:hover { background: var(--primary-50); }
.dash-notif.is-unread { background: #FFFAF5; }
.dash-notif .notif-ico { width: 34px; height: 34px; font-size: 13px; }
.dash-notif-body { min-width: 0; display: flex; flex-direction: column; }
.dash-notif-body strong { font-size: 12.5px; font-weight: 700; }
.dash-notif-body small { font-size: 11.5px; color: var(--text-3); margin-top: 2px; line-height: 1.4; }

.dash-sms { display: flex; flex-direction: column; }
.dash-sms-item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border-light); }
.dash-sms-item:last-child { border-bottom: none; padding-bottom: 0; }
.dash-sms-ico { width: 36px; height: 36px; border-radius: 10px; background: #EFF6FF; color: #2563EB; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.dash-sms-info { flex: 1; min-width: 0; }
.dash-sms-info strong { font-size: 13px; font-weight: 600; display: block; }
.dash-sms-info small { font-size: 11.5px; color: var(--text-3); }
.dash-sms-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.dash-sms-price { font-size: 12.5px; font-weight: 700; color: #DC2626; }

.dash-services { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-service { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid var(--border); border-radius: 13px; min-width: 0; transition: all .2s ease; }
.dash-service:hover { border-color: #FDBA74; background: var(--primary-50); }
.dash-service-ico { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.dash-service-body { min-width: 0; display: flex; flex-direction: column; }
.dash-service-body strong { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-service-body small { font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-service-tag { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; background: #FEF3C7; color: #B45309; padding: 2px 6px; border-radius: 20px; margin-left: auto; flex-shrink: 0; }

.dash-empty { text-align: center; padding: 26px 10px; }
.dash-empty i { font-size: 30px; color: var(--text-3); opacity: .5; }
.dash-empty p { font-size: 12.5px; color: var(--text-2); margin: 8px 0 14px; }
.dash-empty-sm { padding: 18px 8px; }

/* ---------- Recharge ---------- */
.rcx { max-width: 1120px; margin: 0 auto; }
.rcx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 22px; flex-wrap: wrap; }
.rcx-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--primary-dark); background: var(--primary-light); padding: 5px 10px; border-radius: 20px; }
.rcx-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-top: 10px; }
.rcx-head p { font-size: 13.5px; color: var(--text-2); margin-top: 4px; max-width: 520px; }
.rcx-balance {
  background: linear-gradient(135deg, #17181D, #2A2C36);
  color: #fff;
  border-radius: 18px;
  padding: 16px 22px;
  min-width: 230px;
  box-shadow: var(--shadow-md);
}
.rcx-balance-top { font-size: 11.5px; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 7px; }
.rcx-balance-val { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.rcx-balance-sub { font-size: 11.5px; color: rgba(255,255,255,.45); }

.rcx-alert { display: flex; gap: 11px; align-items: flex-start; border-radius: 14px; padding: 14px 18px; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.rcx-alert i { font-size: 15px; margin-top: 2px; }
.rcx-alert-err { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.rcx-alert-ok { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }

.rcx-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.rcx-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.rcx-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 20px; }

.rcx-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.rcx-card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.rcx-step { width: 30px; height: 30px; border-radius: 9px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rcx-step-muted { background: #EEF0F6; color: var(--text-3); }
.rcx-card-head h2 { font-size: 16px; font-weight: 700; }
.rcx-card-head p { font-size: 12.5px; color: var(--text-3); margin-top: 1px; }

.rcx-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 10px; margin-bottom: 16px; }
.rcx-pack {
  position: relative;
  font-family: inherit;
  text-align: left;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 15px;
  padding: 16px 14px 15px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all .2s ease;
}
.rcx-pack:hover { border-color: #FDBA74; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(249,115,22,.10); }
.rcx-pack.is-selected { border-color: var(--primary); background: linear-gradient(160deg, #FFF7ED, #FFEDD5); box-shadow: 0 0 0 3px rgba(249,115,22,.13); }
.rcx-pack-check { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 9px; display: none; align-items: center; justify-content: center; }
.rcx-pack.is-selected .rcx-pack-check { display: flex; }
.rcx-pack-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--text-3); }
.rcx-pack-amount { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--text); line-height: 1.2; }
.rcx-pack-amount small { font-size: 11px; font-weight: 700; color: var(--text-3); margin-left: 2px; }
.rcx-pack-bonus { font-size: 11.5px; font-weight: 700; color: #16A34A; }
.rcx-pack-total { font-size: 11px; color: var(--text-3); }
.rcx-pack-note { margin-top: 6px; align-self: flex-start; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; background: #FFFBEB; color: #B45309; padding: 2px 7px; border-radius: 20px; }

.rcx-custom { border: 1.5px dashed #D9DDE8; border-radius: 15px; padding: 16px 18px; transition: border-color .2s ease, background .2s ease; }
.rcx-custom:focus-within { border-color: var(--primary); background: #FFFBF7; }
.rcx-custom label { font-size: 12px; font-weight: 600; color: var(--text-2); display: block; margin-bottom: 6px; }
.rcx-custom-input { display: flex; align-items: center; gap: 8px; }
.rcx-custom-input input { flex: 1; border: none; outline: none; background: transparent; font-family: inherit; font-size: 24px; font-weight: 800; color: var(--text); letter-spacing: -.02em; min-width: 0; }
.rcx-custom-input span { font-size: 12px; font-weight: 700; color: var(--text-3); }
.rcx-custom-hint { font-size: 11px; color: var(--text-3); margin-top: 3px; }

.rcx-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: linear-gradient(135deg, #FFF7ED, #FFEDD5); border: 1px solid #FDBA74; border-radius: 14px; padding: 14px 18px; margin-top: 16px; }
.rcx-summary-label { display: block; font-size: 11px; font-weight: 600; color: #9A3412; opacity: .85; }
.rcx-summary strong { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.rcx-orange { color: var(--primary-dark); }
.rcx-green { color: #16A34A; }

.rcx-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rcx-method {
  font-family: inherit;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: 15px;
  background: var(--card);
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
}
.rcx-method:hover { border-color: #FDBA74; transform: translateY(-1px); }
.rcx-method[hidden] { display: none; }
.rcx-methods.is-single { grid-template-columns: 1fr; }
.rcx-method.is-selected { border-color: var(--primary); background: linear-gradient(150deg, #FFF7ED, #FFF); box-shadow: 0 0 0 3px rgba(249,115,22,.12); }
.rcx-method.is-disabled { opacity: .55; cursor: not-allowed; transform: none; }
.rcx-method-ico { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; background: #FFF7ED; color: #EA580C; }
.rcx-method-momo .rcx-method-ico { background: #FFFBEB; color: #D97706; }
.rcx-method-body { min-width: 0; }
.rcx-method-title { display: block; font-size: 13.5px; font-weight: 700; }
.rcx-method-title em { font-style: normal; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: #16A34A; background: #ECFDF5; padding: 2px 6px; border-radius: 20px; margin-left: 4px; vertical-align: 1px; }
.rcx-method-desc { display: block; font-size: 11.5px; color: var(--text-3); margin-top: 3px; line-height: 1.45; }
.rcx-method-check { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 9px; display: none; align-items: center; justify-content: center; }
.rcx-method.is-selected .rcx-method-check { display: flex; }
.rcx-empty-method { grid-column: 1 / -1; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; border-radius: 13px; padding: 14px 16px; font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; }

.rcx-panel { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border-light); }
.rcx-min-note { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); background: #F8F9FC; border: 1px solid var(--border); border-radius: 11px; padding: 10px 13px; margin-bottom: 14px; flex-wrap: wrap; }
.rcx-min-note i { color: var(--primary); }
.rcx-min-note #rcxCryptoMinWarn { color: #B45309; font-weight: 700; }
.rcx-crypto-info { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #92400E; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 11px; padding: 10px 13px; margin-top: 12px; line-height: 1.45; }
.rcx-crypto-info[hidden] { display: none; }
.rcx-crypto-info i { color: #D97706; margin-top: 2px; flex-shrink: 0; }
.rcx-crypto-info strong { color: #B45309; }
.rcx-coins { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-bottom: 16px; }
.rcx-coin {
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: 13px;
  background: var(--card);
  padding: 13px 8px 11px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  transition: all .18s ease;
}
.rcx-coin:hover { border-color: #FDBA74; background: #FFFBF7; }
.rcx-coin.is-selected { border-color: var(--primary); background: #FFF7ED; box-shadow: 0 0 0 3px rgba(249,115,22,.10); }
.rcx-coin-logo { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.rcx-coin-logo img { width: 30px; height: 30px; object-fit: contain; display: block; }
.rcx-coin-sym { font-size: 20px; font-weight: 800; line-height: 1.1; }
.rcx-coin-name { font-size: 11.5px; font-weight: 700; text-align: center; line-height: 1.25; }
.rcx-coin-net { font-size: 9.5px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .3px; }
.rcx-submit { margin-top: 4px; }
.rcx-secure { text-align: center; font-size: 11.5px; color: var(--text-3); margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.rcx-secure i { color: #16A34A; }

.rcx-momo-info { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); border: 1px solid #FDE68A; border-radius: 14px; padding: 16px 18px; margin-bottom: 16px; }
.rcx-momo-row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 12.5px; color: #92400E; border-bottom: 1px dashed rgba(245,158,11,.25); }
.rcx-momo-row:last-child { border-bottom: none; }
.rcx-momo-row strong { color: #78350F; }
.rcx-momo-num { font-size: 16px; }
.rcx-momo-row-ussd, .rcx-momo-row-ref { align-items: flex-start; }
.rcx-momo-value { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; min-width: 0; }
.rcx-momo-ussd, .rcx-momo-ref { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; letter-spacing: .02em; word-break: break-all; text-align: right; }
.rcx-momo-ref { font-size: 12.5px; }
.rcx-copy { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #FCD34D; background: #fff; color: #92400E; border-radius: 8px; padding: 5px 8px; font-family: inherit; font-size: 10.5px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.rcx-copy:hover { background: #FFFBEB; border-color: #F59E0B; }
.rcx-copy.is-copied { background: #F0FDF4; border-color: #86EFAC; color: #166534; }
.rcx-momo-note { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; line-height: 1.55; color: #92400E; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 10px; padding: 10px 12px; margin: -4px 0 16px; }
.rcx-momo-note i { margin-top: 2px; color: #D97706; }
.rcx-momo-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 23, 42, .58); backdrop-filter: blur(4px); }
.rcx-momo-modal[hidden] { display: none; }
.rcx-momo-modal-card { width: 100%; max-width: 350px; background: #fff; border-radius: 22px; padding: 30px 24px 24px; text-align: center; box-shadow: 0 24px 70px rgba(15, 23, 42, .28); animation: rcxModalIn .28s cubic-bezier(.2, .8, .2, 1); }
.rcx-momo-modal-ico { width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #F0FDF4; color: #16A34A; font-size: 27px; box-shadow: 0 0 0 9px #F0FDF4; animation: rcxModalPop .42s cubic-bezier(.2, .9, .3, 1.3); }
.rcx-momo-modal-card h3 { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 7px; }
.rcx-momo-modal-card p { font-size: 13px; line-height: 1.55; color: var(--text-2); }
.rcx-momo-modal-bar { height: 5px; background: #FEF3C7; border-radius: 99px; overflow: hidden; margin-top: 18px; }
.rcx-momo-modal-bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: #F59E0B; animation: rcxModalBar 2.1s ease forwards; }
body.rcx-modal-open { overflow: hidden; }
@keyframes rcxModalIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes rcxModalPop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes rcxModalBar { to { width: 100%; } }
@media (max-width: 520px) {
    .rcx-momo-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .rcx-momo-value { justify-content: flex-start; width: 100%; }
    .rcx-momo-ussd, .rcx-momo-ref { text-align: left; }
}
.rcx-field { margin-bottom: 13px; }
.rcx-field label { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }

.rcx-side-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.rcx-side-card h3 { font-size: 13px; font-weight: 700; margin-bottom: 13px; }
.rcx-recap-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; font-size: 12.5px; color: var(--text-2); border-bottom: 1px solid var(--border-light); }
.rcx-recap-row:last-child { border-bottom: none; }
.rcx-recap-row strong { font-size: 13px; color: var(--text); text-align: right; }
.rcx-recap-total { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--border); border-bottom: none; }
.rcx-recap-total strong { font-size: 16px; color: var(--primary-dark); }
.rcx-trust ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.rcx-trust li { display: flex; gap: 10px; font-size: 12px; color: var(--text-2); line-height: 1.45; }
.rcx-trust li i { color: var(--primary); margin-top: 2px; width: 14px; text-align: center; flex-shrink: 0; }
.rcx-support-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 15px; font-size: 12px; font-weight: 700; color: var(--primary-dark); }

.rcx-history { margin-top: 20px; }
.rcx-hist-item { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--border-light); flex-wrap: wrap; }
.rcx-hist-item:last-child { border-bottom: none; padding-bottom: 0; }
.rcx-hist-ico { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.rcx-hist-ico.is-crypto { background: #FFF7ED; color: #F97316; }
.rcx-hist-ico.is-momo { background: #FFFBEB; color: #D97706; }
.rcx-hist-info { flex: 1; min-width: 180px; }
.rcx-hist-title { font-size: 13.5px; font-weight: 700; }
.rcx-hist-title span { font-size: 11.5px; font-weight: 600; color: var(--text-3); margin-left: 5px; }
.rcx-hist-sub { font-size: 11.5px; color: var(--text-3); margin-top: 1px; }
.rcx-hist-status { flex-shrink: 0; }
.rcx-hist-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 10px 13px; border: 1px solid var(--border); border-radius: 11px; background: #F8F9FC; font-size: 11.5px; color: var(--text-2); line-height: 1.45; }
.rcx-hist-note i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.rcx-hist-note strong { color: var(--text); }
.rcx-resume { font-size: 11.5px; font-weight: 700; color: var(--primary-dark); display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 8px; background: #FFF7ED; }
.rcx-resume:hover { background: #FFEDD5; }

/* ---------- Paiement crypto ---------- */
.cp-wrap { max-width: 980px; margin: 0 auto; }
.cp-back { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--text-2); padding: 7px 12px; border-radius: 9px; margin-bottom: 16px; }
.cp-back:hover { background: #FFF7ED; color: var(--primary-dark); }
.cp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.cp-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.cp-head p { font-size: 13px; color: var(--text-2); margin-top: 3px; max-width: 560px; }
.cp-live { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: #166534; background: #F0FDF4; border: 1px solid #BBF7D0; padding: 6px 11px; border-radius: 20px; white-space: nowrap; }
.cp-dot { width: 7px; height: 7px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: cpPulse 2s infinite; }
@keyframes cpPulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); } 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

.cp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; align-items: start; }
.cp-main { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.cp-side { display: flex; flex-direction: column; gap: 16px; }

.cp-statusbar { display: flex; align-items: center; gap: 12px; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 14px; padding: 13px 16px; margin-bottom: 20px; }
.cp-status-ico { width: 38px; height: 38px; border-radius: 11px; background: #FEF3C7; color: #B45309; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.cp-status-ico.is-info { background: #EFF6FF; color: #2563EB; }
.cp-status-title { font-size: 13px; font-weight: 700; color: #92400E; }
.cp-status-sub { font-size: 11.5px; color: #B45309; margin-top: 1px; }

.cp-pay-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 22px; align-items: start; }
.cp-qr-card { text-align: center; }
.cp-qr { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 10px; display: inline-flex; align-items: center; justify-content: center; min-height: 210px; min-width: 210px; }
.cp-qr img, .cp-qr canvas { display: block; width: 190px !important; height: 190px !important; }
.cp-qr-cap { font-size: 11px; color: var(--text-3); margin-top: 8px; }
.cp-field { margin-bottom: 15px; }
.cp-field-label { font-size: 11.5px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.cp-amount-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cp-coin-logo { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }
.cp-kv-logo { width: 17px; height: 17px; object-fit: contain; vertical-align: -3px; margin-right: 5px; }
.cp-amount { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--text); line-height: 1.1; }
.cp-ticker { font-size: 11.5px; font-weight: 700; color: var(--text-3); text-transform: uppercase; }
.cp-copy-mini { border: none; background: #F3F4F8; color: var(--text-2); width: 28px; height: 28px; border-radius: 8px; cursor: pointer; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.cp-copy-mini:hover { background: #FFF7ED; color: var(--primary-dark); }
.cp-address { display: flex; align-items: center; gap: 10px; background: #17181D; border-radius: 12px; padding: 12px 14px; }
.cp-address code { flex: 1; font-family: 'Courier New', monospace; font-size: 11.5px; color: #FDBA74; word-break: break-all; line-height: 1.5; }
.cp-copy { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; font-family: inherit; font-size: 11px; font-weight: 600; padding: 6px 10px; border-radius: 8px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.cp-copy:hover { background: rgba(255,255,255,.18); }
.cp-warn { display: flex; gap: 9px; background: #FEF2F2; border: 1px solid #FECACA; border-radius: 11px; padding: 10px 13px; font-size: 11.5px; color: #991B1B; line-height: 1.45; margin-bottom: 15px; }
.cp-warn i { margin-top: 2px; }
.cp-timer { display: flex; align-items: center; justify-content: space-between; background: #F8F9FC; border: 1px solid var(--border); border-radius: 11px; padding: 10px 14px; margin-bottom: 14px; }
.cp-timer-label { font-size: 11.5px; color: var(--text-2); font-weight: 600; }
.cp-timer-value { font-size: 18px; font-weight: 800; letter-spacing: .04em; color: var(--text); font-variant-numeric: tabular-nums; }
.cp-timer-value.is-low { color: #D97706; }
.cp-timer-value.is-over { color: #DC2626; }
.cp-hint { text-align: center; font-size: 11px; color: var(--text-3); margin-top: 9px; }

.cp-side-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.cp-side-card h3 { font-size: 12.5px; font-weight: 700; margin-bottom: 11px; display: flex; align-items: center; gap: 7px; }
.cp-kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 11.5px; color: var(--text-2); border-bottom: 1px solid var(--border-light); }
.cp-kv:last-child { border-bottom: none; }
.cp-kv strong { font-size: 12px; color: var(--text); text-align: right; }
.cp-credit { color: #16A34A !important; }
.cp-bonus { color: #16A34A !important; }
.cp-refcode { font-family: 'Courier New', monospace; font-size: 10px !important; word-break: break-all; }
.cp-help ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cp-help li { font-size: 11.5px; color: var(--text-2); line-height: 1.45; padding-left: 13px; position: relative; }
.cp-help li::before { content: '•'; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.cp-support { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 11.5px; font-weight: 700; color: var(--primary-dark); }

.cp-result { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 48px 28px; text-align: center; box-shadow: var(--shadow); max-width: 620px; margin: 30px auto; }
.cp-result-ico { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 18px; }
.cp-result-ok .cp-result-ico { background: #ECFDF5; color: #16A34A; box-shadow: 0 0 0 10px rgba(22,163,74,.08); }
.cp-result-warn .cp-result-ico { background: #FFFBEB; color: #D97706; box-shadow: 0 0 0 10px rgba(245,158,11,.08); }
.cp-result-err .cp-result-ico { background: #FEF2F2; color: #DC2626; box-shadow: 0 0 0 10px rgba(220,38,38,.07); }
.cp-result h1 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.cp-expired-meta { display: inline-flex; align-items: center; gap: 7px; margin: 12px auto 2px; padding: 7px 13px; border-radius: 999px; background: #F8FAFC; border: 1px solid var(--border-light); font-size: 12px; color: var(--text-2); }
.cp-expired-meta img { width: 18px; height: 18px; object-fit: contain; }
.cp-expired-meta strong { color: var(--text); font-weight: 700; }
.cp-result p { font-size: 13px; color: var(--text-2); margin-top: 6px; }
.cp-result-amount { font-size: 38px; font-weight: 800; letter-spacing: -.02em; color: #16A34A; margin-top: 16px; }
.cp-result-balance { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.cp-result-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.cp-ref { margin-top: 16px; font-size: 12px; color: var(--text-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-grid, .dash-grid-bottom { grid-template-columns: 1fr; }
  .rcx-layout { grid-template-columns: 1fr; }
  .rcx-side { position: static; }
  .cp-grid { grid-template-columns: 1fr; }
  .cp-side { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .dash-hero { grid-template-columns: 1fr; padding: 24px; }
  .dash-wallet { margin-top: 4px; }
  .dash-wallet-foot { padding-top: 14px; }
  .cp-pay-grid { grid-template-columns: 1fr; }
  .cp-qr-card { display: flex; flex-direction: column; align-items: center; }
  .cp-qr { min-height: 0; }
}
@media (max-width: 640px) {
  .dash-hero-copy h1 { font-size: 24px; }
  .dash-kpis { grid-template-columns: 1fr; }
  .dash-actions { grid-template-columns: 1fr; }
  .dash-services { grid-template-columns: 1fr; }
  .dash-wallet-amount { font-size: 30px; }
  .rcx-head h1 { font-size: 25px; }
  .rcx-card { padding: 18px; }
  .rcx-summary { grid-template-columns: 1fr; gap: 8px; }
  .rcx-methods { grid-template-columns: 1fr; }
  .rcx-coins { grid-template-columns: repeat(2, 1fr); }
  .rcx-pack { padding: 13px 12px; }
  .rcx-pack-amount { font-size: 19px; }
  .cp-side { grid-template-columns: 1fr; }
  .cp-main { padding: 16px; }
  .cp-result { padding: 34px 18px; }
  .cp-result-amount { font-size: 30px; }
}

/* ============ CLIENT PAGE SYSTEM (tk-*) ============ */
.tk-page { max-width: 1160px; margin: 0 auto; }
.tk-page-sm { max-width: 760px; margin: 0 auto; }

.tk-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 22px;
}
.tk-head-copy { min-width: 0; }
.tk-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--primary-light); color: var(--primary-dark);
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  margin-bottom: 12px;
}
.tk-title {
  font-size: clamp(23px, 3vw, 31px); line-height: 1.15;
  font-weight: 800; letter-spacing: -.03em; color: var(--text);
}
.tk-sub { font-size: 14.5px; color: var(--text-2); margin-top: 8px; max-width: 620px; line-height: 1.55; }
.tk-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.tk-panel {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow); overflow: hidden;
}
.tk-panel + .tk-panel { margin-top: 20px; }
.tk-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding: 18px 22px; border-bottom: 1px solid var(--border-light);
}
.tk-panel-title {
  display: flex; align-items: center; gap: 9px;
  font-size: 16px; font-weight: 800; color: var(--text);
}
.tk-panel-title i { color: var(--primary); }
.tk-panel-count { font-size: 13px; font-weight: 600; color: var(--text-3); }
.tk-panel-body { padding: 22px; }
.tk-panel-body.tk-flush { padding: 0; }

.tk-tabs { display: inline-flex; gap: 4px; background: var(--border-light); border-radius: 12px; padding: 4px; }
.tk-tab {
  padding: 8px 15px; border-radius: 9px; font-size: 13px; font-weight: 700;
  color: var(--text-2); transition: background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.tk-tab:hover { color: var(--primary); }
.tk-tab.active { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.tk-tab .tk-tab-n { opacity: .6; font-weight: 700; }

.tk-toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px 22px; border-bottom: 1px solid var(--border-light);
  background: #FCFCFE;
}
.tk-search { position: relative; display: flex; align-items: center; gap: 8px; margin-left: auto; }
.tk-search i.tk-search-ico { position: absolute; left: 13px; color: var(--text-3); font-size: 13px; pointer-events: none; }
.tk-search .tk-input { padding-left: 36px; min-width: 200px; }
.tk-input {
  padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 11px;
  font-family: inherit; font-size: 13.5px; background: var(--card); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.tk-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(249,115,22,.12); }

.tk-list { display: flex; flex-direction: column; }
.tk-row {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 22px; border-bottom: 1px solid var(--border-light);
  transition: background .15s;
}
.tk-row:last-child { border-bottom: none; }
.tk-row:hover { background: var(--primary-50); }
.tk-row.unread { background: #FFF7ED; }
.tk-row.unread:hover { background: #FFF1E2; }
.tk-row.unread .tk-row-title { font-weight: 800; }
.tk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.tk-row-ico {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  background: var(--primary-light); color: var(--primary);
}
.tk-row-ico.blue, .tk-row-ico.info { background: #EFF6FF; color: #2563EB; }
.tk-row-ico.green, .tk-row-ico.success { background: #ECFDF5; color: #059669; }
.tk-row-ico.red, .tk-row-ico.danger { background: #FEF2F2; color: #DC2626; }
.tk-row-ico.amber, .tk-row-ico.warning { background: #FFFBEB; color: #D97706; }
.tk-row-info { flex: 1; min-width: 0; }
.tk-row-title { font-size: 14px; font-weight: 700; color: var(--text); }
.tk-row-sub { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.tk-row-msg {
  font-size: 13px; color: var(--text-2); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tk-row-side { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.tk-amount { font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.tk-amount.neg { color: #EF4444; }
.tk-amount.pos { color: #16A34A; }
.tk-icon-btn {
  width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--border);
  background: var(--card); color: var(--text-3); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.tk-icon-btn:hover { border-color: #FCA5A5; background: #FEF2F2; color: #DC2626; }

.tk-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 64px 22px; text-align: center;
}
.tk-empty i { font-size: 34px; color: var(--border); }
.tk-empty p { font-size: 14px; font-weight: 600; color: var(--text-2); margin: 0; }
.tk-empty span { font-size: 13px; color: var(--text-3); }

.tk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 20px; }
.tk-stat { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.tk-stat-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); }
.tk-stat-value { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--text); margin-top: 6px; }

.tk-banner {
  display: flex; align-items: flex-start; gap: 11px;
  border-radius: 14px; padding: 14px 18px; font-size: 14px;
  margin-bottom: 20px; line-height: 1.5;
}
.tk-banner i { margin-top: 2px; }
.tk-banner.error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.tk-banner.success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.tk-banner.warn { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }
.tk-banner.info { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E40AF; }
.tk-banner a { font-weight: 700; text-decoration: underline; }

.tk-pagination {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  padding: 16px 22px; border-top: 1px solid var(--border-light);
  font-size: 13px; color: var(--text-2);
}
.tk-pagination a {
  padding: 7px 13px; border-radius: 9px; border: 1px solid var(--border);
  font-weight: 600; transition: all .2s;
}
.tk-pagination a:hover, .tk-pagination a.active { border-color: var(--primary); background: var(--primary); color: #fff; }

@media (max-width: 820px) {
  .tk-search { margin-left: 0; width: 100%; }
  .tk-search .tk-input { min-width: 0; width: 100%; }
}
@media (max-width: 640px) {
  .content { padding: 18px 16px 36px; }
  .tk-title { font-size: 23px; }
  .tk-panel-body { padding: 18px; }
  .tk-toolbar { padding: 14px 16px; }
  .tk-toolbar .tk-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .tk-toolbar .tk-tab { text-align: center; padding: 9px 8px; }
  .tk-row { padding: 13px 16px; gap: 11px; flex-wrap: wrap; }
  .tk-row-msg { white-space: normal; }
  .tk-row-side { margin-left: auto; }
  .tk-stats { grid-template-columns: 1fr 1fr; }
}

/* ============ SIDEBAR REFRESH ============ */
.sidebar { overflow: hidden; }
.sidebar-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}
.sidebar-nav::-webkit-scrollbar { width: 6px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.sidebar-logo, .sidebar-wallet, .sidebar-footer { flex-shrink: 0; }
.sidebar-logo {
  padding: 22px 20px 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 6px;
}
.sidebar-nav { padding: 8px 12px 4px; }
.sidebar-nav .nav-section {
  display: flex; align-items: center; gap: 9px;
  padding: 18px 10px 8px;
}
.sidebar-nav .nav-section::after {
  content: ''; flex: 1; height: 1px; background: var(--border-light);
}
.sidebar-nav a {
  gap: 11px;
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: 2px;
}
.sidebar-nav a i {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--border-light);
  color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13.5px;
  transition: background .2s, color .2s, box-shadow .2s;
}
.sidebar-nav a:hover { background: #F6F7FB; color: var(--text); }
.sidebar-nav a:hover i { background: var(--primary-light); color: var(--primary); transform: none; }
.sidebar-nav a.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
}
.sidebar-nav a.active i {
  background: linear-gradient(135deg, #FB923C, #F97316);
  color: #fff;
  box-shadow: 0 3px 9px rgba(249,115,22,.35);
}
.sidebar-nav a.active .nav-badge { background: #fff; color: var(--primary-dark); }

.sidebar-wallet {
  margin: 12px 14px 4px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #17181D 0%, #2A2B33 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.sidebar-wallet::before {
  content: '';
  position: absolute; top: -45%; right: -30%;
  width: 150px; height: 150px; border-radius: 50%;
  background: rgba(249,115,22,.20);
}
.sidebar-wallet > * { position: relative; z-index: 1; }
.sidebar-wallet-label {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  opacity: .65;
}
.sidebar-wallet-amount {
  font-size: 22px; font-weight: 800;
  letter-spacing: -.02em; margin-top: 8px;
}
.sidebar-wallet-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 13px; padding: 9px;
  border-radius: 10px;
  background: var(--primary); color: #fff;
  font-size: 12.5px; font-weight: 700;
  transition: background .2s, transform .2s;
}
.sidebar-wallet-btn:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.sidebar-footer { margin: 8px 6px 6px; }

@media (max-width: 1024px) {
  .sidebar { border-radius: 0; }
  .sidebar-logo { border-radius: 0; }
}

/* ============ AUTH PAGES v2 (login / register / reset) ============ */
body.auth-body { padding: 0; background: #F6F7FB; }

.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }

.auth-aside {
  position: relative; overflow: hidden; color: #fff; padding: 46px 54px;
  display: flex; flex-direction: column;
  background:
    radial-gradient(720px 380px at 92% -12%, rgba(249,115,22,.38), transparent 62%),
    radial-gradient(640px 440px at -12% 112%, rgba(234,88,12,.30), transparent 60%),
    linear-gradient(158deg, #1A1B22 0%, #251A14 55%, #100E0B 100%);
}
.auth-aside::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside-brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.auth-aside-brand img { width: 44px; height: 44px; border-radius: 12px; }
.auth-aside-body { margin: auto 0; padding: 42px 0; }
.auth-aside-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  color: #FED7AA; font-size: 12.5px; font-weight: 700; padding: 7px 14px; border-radius: 999px;
}
.auth-aside h2 { font-size: 36px; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; margin: 18px 0 14px; }
.auth-aside h2 span { background: linear-gradient(135deg, #FDBA74, #F97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-aside .lead { color: rgba(255,255,255,.62); font-size: 15.5px; max-width: 440px; }
.auth-aside-list { list-style: none; margin-top: 26px; display: grid; gap: 13px; }
.auth-aside-list li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.88); }
.auth-aside-list i { width: 26px; height: 26px; border-radius: 8px; background: rgba(249,115,22,.18); color: #FB923C; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.auth-aside-stats { display: flex; gap: 26px; margin-top: 30px; }
.auth-aside-stats b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.auth-aside-stats span { font-size: 12px; color: rgba(255,255,255,.5); font-weight: 600; }
.auth-aside-foot { font-size: 13px; color: rgba(255,255,255,.4); }

.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card .auth-logo { display: none; }
.auth-card {
  position: relative; width: 100%; max-width: 432px; background: #fff;
  border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 38px 34px;
}
.auth-back { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 16px; }
.auth-back:hover { color: var(--primary-dark); }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 12px; font-weight: 600; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px;
  background: #fff; color: var(--text); font-size: 14px; font-weight: 700;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .1s;
}
.btn-google:hover { background: #F8FAFC; border-color: #CBD5E1; box-shadow: 0 4px 14px rgba(15,23,42,.07); color: var(--text); }
.btn-google:active { transform: translateY(1px); }
.btn-google svg { width: 19px; height: 19px; flex: 0 0 19px; }
.auth-note { display: flex; gap: 10px; align-items: flex-start; background: #F8FAFF; border: 1px solid #E4EAF7; border-radius: 13px; padding: 12px 14px; font-size: 12.5px; color: var(--text-2); font-weight: 500; margin-top: 18px; }
.auth-note i { color: var(--primary); margin-top: 2px; }

@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-card { padding-top: 58px; }
  .auth-card .auth-logo { display: flex; }
  .auth-back {
    position: absolute; top: 16px; left: 18px; margin: 0;
    padding: 5px 8px; border-radius: 8px; font-size: 12.5px;
  }
  .auth-back:hover { background: var(--primary-50); }
}
@media (max-width: 480px) {
  .auth-card { margin: 0; padding: 56px 22px 28px; border-radius: 20px; }
  .auth-main { padding: 16px; }
  .auth-back { top: 13px; left: 14px; }
}
.auth-name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 400px) {
  .auth-name-grid { grid-template-columns: 1fr; }
  .auth-name-grid .form-group { margin-bottom: 0; }
}

/* ============ PUBLIC PAGES (contact / cgu / 404) ============ */
body.pub { padding: 0; background: #fff; }

.pub-header { position: sticky; top: 0; z-index: 60; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(255,255,255,.82); border-bottom: 1px solid var(--border); }
.pub-header-inner { max-width: 1180px; margin: 0 auto; padding: 13px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.pub-brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.pub-brand img { width: 40px; height: 40px; border-radius: 11px; }
.pub-nav { display: flex; align-items: center; gap: 4px; }
.pub-nav a { font-size: 14px; font-weight: 600; color: var(--text-2); padding: 8px 14px; border-radius: 10px; }
.pub-nav a:hover { color: var(--text); background: #F3F5FA; }
.pub-nav a.active { color: var(--primary-dark); background: #FFF7ED; }
.pub-cta { display: flex; align-items: center; gap: 10px; }
.pub-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s, color .18s; }
.pub-btn-primary { background: linear-gradient(135deg, #F97316, #EA580C); color: #fff; box-shadow: 0 8px 20px rgba(249,115,22,.32); }
.pub-btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(249,115,22,.42); }
.pub-btn-ghost { background: #fff; border-color: var(--border); color: var(--text); }
.pub-btn-ghost:hover { color: var(--ink); background: #F3F5FA; }
.pub-btn-lg { padding: 13px 24px; font-size: 15px; border-radius: 13px; }

.pub-hero { background: radial-gradient(900px 340px at 82% -20%, #FFF1E6 0%, rgba(255,241,230,0) 62%), #fff; border-bottom: 1px solid var(--border); }
.pub-hero-inner { max-width: 1180px; margin: 0 auto; padding: 54px 24px; }
.pub-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #FFF7ED; color: #C2410C; font-weight: 700; font-size: 12.5px; padding: 7px 14px; border-radius: 999px; border: 1px solid #FED7AA; }
.pub-hero h1 { font-size: 38px; font-weight: 800; letter-spacing: -.03em; margin: 16px 0 10px; }
.pub-hero p { color: var(--text-2); font-size: 16px; max-width: 640px; }

.pub-wrap { max-width: 1180px; margin: 0 auto; padding: 44px 24px 72px; }
.pub-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); padding: 32px; }
.pub-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.pub-info { display: grid; gap: 16px; }
.pub-info-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 20px; display: flex; gap: 14px; align-items: center; }
.pub-info-card i { width: 46px; height: 46px; border-radius: 13px; background: #FFF7ED; color: #EA580C; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.pub-info-card b { display: block; font-size: 14px; font-weight: 800; }
.pub-info-card span { font-size: 13px; color: var(--text-2); }

.pub-legal { line-height: 1.75; font-size: 15px; color: var(--text-2); }
.pub-legal h2 { font-size: 18px; font-weight: 800; color: var(--text); margin: 30px 0 8px; letter-spacing: -.01em; }
.pub-legal h2:first-child { margin-top: 0; }
.pub-legal ul { margin: 8px 0 8px 20px; }
.pub-legal li { margin: 3px 0; }
.pub-legal a { color: var(--primary-dark); font-weight: 600; }

.pub-footer { border-top: 1px solid var(--border); background: #fff; padding: 40px 24px 24px; }
.pub-footer-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; color: var(--text-3); font-size: 13.5px; }
.pub-footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.pub-footer a { color: var(--text-2); font-weight: 600; }
.pub-footer a:hover { color: var(--primary); }

/* 404 */
.nf-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; text-align: center; background: radial-gradient(700px 340px at 50% -10%, #FFF1E6 0%, rgba(255,241,230,0) 65%), #fff; }
.nf-brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; margin-bottom: 26px; }
.nf-brand img { width: 42px; height: 42px; border-radius: 12px; }
.nf-code { font-size: 120px; font-weight: 800; line-height: 1; letter-spacing: -.04em; background: linear-gradient(135deg, #F97316, #EA580C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-txt { font-size: 22px; font-weight: 800; color: var(--text); margin: 12px 0 6px; }
.nf-sub { font-size: 15px; color: var(--text-2); margin-bottom: 26px; max-width: 440px; }
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 900px) {
  .pub-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pub-nav { display: none; }
  .pub-header-inner { padding: 10px 14px; gap: 8px; }
  .pub-brand { gap: 8px; min-width: 0; font-size: 17px; }
  .pub-brand img { width: 34px; height: 34px; border-radius: 9px; }
  .pub-cta { gap: 7px; min-width: 0; }
  .pub-cta .pub-btn { padding: 9px 11px; font-size: 12.5px; border-radius: 10px; white-space: nowrap; }
  .pub-hero-inner { padding: 36px 18px; }
  .pub-hero h1 { font-size: 28px; }
  .pub-wrap { padding: 32px 18px 56px; }
  .pub-card { padding: 24px 20px; }
  .nf-code { font-size: 92px; }
}
@media (max-width: 400px) {
  .pub-brand { font-size: 16px; }
  .pub-brand img { width: 32px; height: 32px; }
  .pub-cta .pub-btn { padding: 9px 10px; font-size: 12px; }
  .pub-hero h1 { font-size: 25px; }
}

/* ============ ENVOI SMS / EMAIL ============ */
.sms-submit-row { display: flex; justify-content: center; padding: 20px 0 6px; }
.sms-submit-row .btn { width: 100%; max-width: 360px; }
.email-meta-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.email-meta-grid .form-group { margin-bottom: 0; }
.email-card-head { gap: 10px; }
.email-card-head h3 { white-space: nowrap; }
.email-balance { font-size: 13px; color: var(--text-2); white-space: nowrap; }
.email-submit-row { display: flex; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.email-submit-row .btn { width: auto; min-width: 220px; max-width: none; margin-left: auto; }
.email-price-note { font-size: 13px; color: var(--text-2); text-align: left; }
.btn.is-loading { opacity: .85; cursor: wait; }

.send-result { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; line-height: 1.55; }
.send-result > i { font-size: 18px; flex: 0 0 auto; margin-top: 1px; }
.send-result strong { display: block; font-size: 14px; margin-bottom: 2px; }
.send-result p { margin: 0; }
.send-result.success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; animation: sendResultPop .45s cubic-bezier(.2, .9, .3, 1.2); }
.send-result.error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; animation: sendResultShake .45s ease; }

.send-inline { display: none; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #FFF7ED; border: 1px solid #FED7AA; color: #9A3412; font-size: 13.5px; font-weight: 600; }
.send-inline.show { display: flex; }
.send-inline .send-spinner-sm { width: 16px; height: 16px; flex: 0 0 auto; border: 2px solid #FED7AA; border-top-color: #F97316; border-radius: 50%; animation: sendSpin .8s linear infinite; }
.send-inline span { line-height: 1.4; }

.send-overlay { position: fixed; inset: 0; z-index: 10050; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 23, 42, .45); backdrop-filter: blur(3px); }
.send-overlay.show { display: flex; }
.send-overlay-card { width: 100%; max-width: 300px; padding: 28px 24px; border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 24px 60px rgba(15, 23, 42, .25); animation: sendCardIn .25s ease-out; }
.send-overlay-card strong { display: block; font-size: 16px; color: var(--text); }
.send-overlay-card span { display: block; margin-top: 5px; font-size: 13px; color: var(--text-2); }
.send-spinner { width: 44px; height: 44px; margin: 0 auto 14px; border: 4px solid #FED7AA; border-top-color: #F97316; border-radius: 50%; animation: sendSpin .8s linear infinite; }

@keyframes sendSpin { to { transform: rotate(360deg); } }
@keyframes sendCardIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sendResultPop { 0% { opacity: 0; transform: translateY(-6px) scale(.98); } 100% { opacity: 1; transform: none; } }
@keyframes sendResultShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

@media (max-width: 640px) {
  .email-meta-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 9px; }
  .email-meta-grid .form-label { font-size: 12px; }
  .email-meta-grid .form-control { padding: 10px 9px; font-size: 13px; }
  .email-meta-grid .form-hint { font-size: 10.5px; line-height: 1.3; }
  .email-card-head h3 { font-size: 13.5px; }
  .email-card-head .email-balance { font-size: 11.5px; }
  .email-submit-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .email-submit-row .btn { width: 100%; min-width: 0; max-width: 100%; margin-left: 0; }
  .email-price-note { text-align: center; }
  .send-result { margin-bottom: 14px; }
}
@media (max-width: 390px) {
  .email-meta-grid { gap: 7px; }
  .email-meta-grid .form-control { padding: 9px 7px; font-size: 12.5px; }
  .email-card-head h3 { font-size: 12.5px; }
  .email-card-head .email-balance { font-size: 10.5px; }
}

/* ---------- Espace cr�diteur ---------- */
.creditor-body { min-height: 100vh; background: #F5F7FB; color: var(--text); }
.creditor-top { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 26px; background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.creditor-brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; color: var(--text); }
.creditor-brand img { width: 36px; height: 36px; border-radius: 10px; }
.creditor-brand small { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); margin-top: 1px; }
.creditor-user { display: flex; align-items: center; gap: 15px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.creditor-user a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: 9px; background: #FFF7ED; color: var(--primary-dark); font-size: 12px; font-weight: 700; }
.creditor-main { max-width: 1120px; margin: 0 auto; padding: 28px 20px 50px; }
.creditor-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.creditor-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #B45309; background: #FEF3C7; border: 1px solid #FDE68A; padding: 5px 10px; border-radius: 20px; }
.creditor-head h1 { font-size: 29px; font-weight: 800; letter-spacing: -.02em; margin-top: 9px; }
.creditor-head p { font-size: 13px; color: var(--text-2); margin-top: 4px; max-width: 640px; }
.creditor-count { min-width: 102px; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 15px; padding: 12px 16px; box-shadow: var(--shadow); }
.creditor-count strong { display: block; font-size: 27px; font-weight: 800; color: var(--primary); line-height: 1; }
.creditor-count span { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-3); margin-top: 5px; }
.creditor-alert { border-radius: 12px; padding: 12px 15px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.creditor-alert-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.creditor-alert-error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.creditor-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; margin-bottom: 18px; }
.creditor-card-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 20px; border-bottom: 1px solid var(--border-light); }
.creditor-card-head h2 { font-size: 15px; font-weight: 800; }
.creditor-card-head p { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.creditor-refresh { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: #fff; color: var(--text-2); border-radius: 8px; padding: 7px 10px; font-family: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.creditor-refresh:hover { background: var(--bg); }
.creditor-table-wrap { overflow-x: auto; }
.creditor-table { width: 100%; border-collapse: collapse; min-width: 840px; }
.creditor-table th { text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); background: #FAFBFD; padding: 10px 14px; border-bottom: 1px solid var(--border-light); white-space: nowrap; }
.creditor-table td { padding: 12px 14px; border-bottom: 1px solid var(--border-light); font-size: 12px; color: var(--text-2); vertical-align: middle; }
.creditor-table tbody tr:last-child td { border-bottom: none; }
.creditor-table td strong { display: block; font-size: 12.5px; color: var(--text); }
.creditor-table td small { display: block; font-size: 10.5px; color: var(--text-3); margin-top: 2px; }
.creditor-table code { font-size: 10.5px; background: #F8FAFC; border: 1px solid var(--border-light); border-radius: 5px; padding: 3px 5px; color: #475569; }
.creditor-amount { font-size: 13px !important; color: var(--primary-dark) !important; }
.creditor-actions { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.creditor-btn { display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 7px; padding: 7px 9px; font-family: inherit; font-size: 10.5px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.creditor-btn-primary { background: #16A34A; color: #fff; }
.creditor-btn-primary:hover { background: #15803D; }
.creditor-btn-danger { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.creditor-btn-danger:hover { background: #FEE2E2; }
.creditor-badge { display: inline-flex; align-items: center; border-radius: 20px; padding: 3px 8px; font-size: 10px; font-weight: 800; }
.creditor-badge-success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.creditor-badge-danger { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.creditor-empty { text-align: center; padding: 34px 18px; color: var(--text-3); }
.creditor-empty i { font-size: 26px; color: #CBD5E1; margin-bottom: 8px; }
.creditor-empty p { font-size: 12.5px; }
@media (max-width: 720px) {
    .creditor-top { padding: 0 14px; height: 64px; }
    .creditor-user span { display: none; }
    .creditor-main { padding: 20px 14px 36px; }
    .creditor-head h1 { font-size: 24px; }
    .creditor-count { min-width: 86px; }
    .creditor-card-head { padding: 15px; }
    .creditor-table th, .creditor-table td { padding: 10px; }
}

/* ---------- Vente de coupon ---------- */
.vcp { padding-bottom: 10px; }
.vcp-hero { display: flex; align-items: stretch; justify-content: space-between; gap: 24px; background: linear-gradient(135deg, #4C1D95 0%, #6D28D9 55%, #7C3AED 100%); color: #fff; border-radius: 20px; padding: 30px 32px; margin-bottom: 18px; position: relative; overflow: hidden; }
.vcp-hero::after { content: ''; position: absolute; right: -80px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }
.vcp-hero-copy { position: relative; z-index: 1; max-width: 680px; }
.vcp-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); padding: 5px 10px; border-radius: 20px; }
.vcp-hero h1 { font-size: 30px; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin-top: 12px; }
.vcp-hero p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.88); margin-top: 8px; max-width: 560px; }
.vcp-hero-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.vcp-hero-tags span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 6px 9px; }
.vcp-hero-side { position: relative; z-index: 1; min-width: 210px; align-self: center; background: rgba(15,23,42,.22); border: 1px solid rgba(255,255,255,.2); border-radius: 15px; padding: 16px 18px; }
.vcp-hero-side-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.7); }
.vcp-attempts { display: flex; align-items: center; gap: 6px; margin-top: 9px; }
.vcp-attempts strong { font-size: 13px; margin-left: 4px; }
.vcp-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.28); display: inline-block; }
.vcp-dot.is-used { background: #FCA5A5; box-shadow: 0 0 0 3px rgba(248,113,113,.18); }
.vcp-hero-side-note { font-size: 10.5px; line-height: 1.45; color: rgba(255,255,255,.75); margin-top: 9px; }
.vcp-warn { display: flex; align-items: flex-start; gap: 10px; background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; border-radius: 13px; padding: 12px 15px; font-size: 12.5px; line-height: 1.5; margin-bottom: 18px; }
.vcp-warn i { color: #D97706; margin-top: 2px; font-size: 15px; flex-shrink: 0; }
.vcp-warn strong { color: #B45309; }
.vcp-alert { display: flex; align-items: flex-start; gap: 9px; border-radius: 12px; padding: 12px 15px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.vcp-alert-error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.vcp-alert-ok { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.vcp-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; margin-bottom: 18px; }
.vcp-card-head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 18px; }
.vcp-step { width: 32px; height: 32px; border-radius: 10px; background: #F5F3FF; color: #6D28D9; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.vcp-step-muted { background: #F8FAFC; color: #64748B; }
.vcp-card-head h2 { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.vcp-card-head p { font-size: 12px; color: var(--text-3); margin-top: 3px; line-height: 1.45; }
.vcp-types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.vcp-type { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 15px 8px 13px; border: 1.5px solid var(--border); border-radius: 13px; background: #fff; cursor: pointer; text-align: center; transition: all .18s ease; }
.vcp-type:hover { border-color: #C4B5FD; transform: translateY(-1px); }
.vcp-type input { position: absolute; opacity: 0; pointer-events: none; }
.vcp-type-ico { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.vcp-type-label { font-size: 11px; font-weight: 700; color: var(--text-2); line-height: 1.25; }
.vcp-type-check { position: absolute; top: 8px; right: 8px; width: 17px; height: 17px; border-radius: 50%; background: #7C3AED; color: #fff; font-size: 8px; display: none; align-items: center; justify-content: center; }
.vcp-type:has(input:checked) { border-color: #7C3AED; background: #FAF5FF; box-shadow: 0 0 0 3px rgba(124,58,237,.1); }
.vcp-type:has(input:checked) .vcp-type-label { color: #5B21B6; }
.vcp-type:has(input:checked) .vcp-type-check { display: flex; }
.vcp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vcp-field { margin-bottom: 14px; }
.vcp-field:last-child { margin-bottom: 0; }
.vcp-field label { display: block; font-size: 12px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.vcp-field input[type="text"], .vcp-field input[type="number"], .vcp-field select, .vcp-field textarea { width: 100%; font-family: inherit; font-size: 13px; color: var(--text); background: #fff; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 12px; outline: none; transition: border-color .15s, box-shadow .15s; }
.vcp-field textarea { resize: vertical; line-height: 1.5; }
.vcp-field input:focus, .vcp-field select:focus, .vcp-field textarea:focus { border-color: #A78BFA; box-shadow: 0 0 0 3px rgba(124,58,237,.1); }
.vcp-field small { display: block; font-size: 10.5px; color: var(--text-3); margin-top: 5px; line-height: 1.4; }
.vcp-input-wrap { position: relative; }
.vcp-input-wrap input { padding-right: 48px !important; }
.vcp-input-wrap span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 10px; font-weight: 800; color: var(--text-3); letter-spacing: .04em; }
.vcp-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.vcp-submit-note { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--text-3); }
.vcp-submit-note i { color: #16A34A; }
.vcp-submit { min-width: 230px; }
.vcp-attempt-note { display: flex; align-items: flex-start; gap: 9px; background: #FFF7ED; border: 1px solid #FED7AA; color: #9A3412; border-radius: 12px; padding: 12px 15px; font-size: 12px; line-height: 1.5; margin-bottom: 18px; }
.vcp-attempt-note i { color: #EA580C; margin-top: 2px; }
.vcp-history { margin-top: 4px; }
.vcp-hist-list { border-top: 1px solid var(--border-light); }
.vcp-hist-item { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border-light); flex-wrap: wrap; }
.vcp-hist-item:last-child { border-bottom: none; padding-bottom: 0; }
.vcp-hist-ico { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.vcp-hist-info { flex: 1; min-width: 170px; }
.vcp-hist-title { font-size: 13px; font-weight: 700; }
.vcp-hist-sub { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.vcp-hist-status { flex-shrink: 0; }
.vcp-hist-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 10px 13px; border: 1px solid var(--border); border-radius: 11px; background: #F8F9FC; font-size: 11.5px; color: var(--text-2); line-height: 1.45; }
.vcp-hist-note i { color: #7C3AED; margin-top: 2px; flex-shrink: 0; }
@media (max-width: 900px) {
    .vcp-types { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    .vcp-hero { flex-direction: column; padding: 22px 18px; gap: 16px; }
    .vcp-hero h1 { font-size: 23px; }
    .vcp-hero-side { width: 100%; }
    .vcp-types { grid-template-columns: repeat(2, 1fr); }
    .vcp-grid { grid-template-columns: 1fr; gap: 0; }
    .vcp-card { padding: 17px 15px; }
    .vcp-submit { width: 100%; }
    .vcp-submit-row { flex-direction: column-reverse; align-items: stretch; }
}

/* ============ SIDEBAR NAV — ALIGNEMENT UNIFORME ============ */
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 10px;
    white-space: nowrap;
    overflow: hidden;
}
.sidebar-nav a > i {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
}
.sidebar-nav .nav-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
}
.sidebar-nav .nav-badge {
    flex: 0 0 auto;
    margin-left: 0;
}
.sidebar-nav .nav-dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-left: 1px;
    transition: background .2s, box-shadow .2s;
}
.nav-dot-soon { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245, 158, 11, .16); }
.nav-dot-off { background: #CBD5E1; box-shadow: 0 0 0 3px rgba(148, 163, 184, .18); }
.sidebar-nav a.active .nav-dot-soon { background: #F97316; box-shadow: 0 0 0 3px rgba(249, 115, 22, .18); }
.sidebar-nav a.active .nav-dot-off { background: #94A3B8; box-shadow: 0 0 0 3px rgba(148, 163, 184, .22); }

@media (pointer: coarse) {
    .sidebar-nav a { min-height: 52px; padding: 10px 12px; }
}

/* ============ NOTIFICATIONS PUSH (PROFIL) ============ */
.push-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.push-card-head h3 { display: flex; align-items: center; gap: 9px; }
.push-card-head h3 i { color: var(--primary); }
.push-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px;
    border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em;
    background: #F1F5F9; color: #64748B; border: 1px solid #E2E8F0; white-space: nowrap;
}
.push-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .8; }
.push-pill.on { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }
.push-pill.warn { background: #FFF7ED; color: #C2410C; border-color: #FED7AA; }
.push-pill.off { background: #F8FAFC; color: #64748B; border-color: #E2E8F0; }
.push-desc { margin: 0 0 12px; color: var(--text-2); font-size: 13.5px; line-height: 1.6; }
.push-state { font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.push-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.push-actions .btn { min-height: 42px; }
.push-stop { padding-left: 2px; color: #B91C1C !important; text-decoration: none; font-size: 13px; }
.push-stop:hover { text-decoration: underline; }
.push-feedback { display: none; margin-top: 12px; padding: 11px 13px; border-radius: 10px; background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; font-size: 13px; line-height: 1.5; }
.push-feedback.show { display: block; }
.push-feedback.error { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.push-hint { margin-top: 10px; font-size: 12px; color: var(--text-3); line-height: 1.55; }
.push-hint:empty { display: none; }
@media (max-width: 640px) {
    .push-card-head { align-items: flex-start; }
    .push-actions { align-items: stretch; flex-direction: column; }
    .push-actions .btn { width: 100%; justify-content: center; }
    .push-stop { text-align: center; padding: 6px 0 0; }
}