:root {
  --bg-main: #0c0915;
  --bg-sidebar: #100b1d;
  --bg-card: #171128;
  --bg-card-header: #1c1532;
  --bg-input: #120d20;
  --bg-hover: #231b3d;
  
  --border-color: #271d42;
  --border-focus: #9d5cf7;
  
  --primary: #9d5cf7;
  --primary-hover: #b37bf9;
  --primary-glow: rgba(157, 92, 247, 0.35);
  --primary-bg: rgba(157, 92, 247, 0.15);
  
  --text-main: #ffffff;
  --text-muted: #8e83a6;
  --text-dim: #5f5575;
  
  --green: #10b981;
  --green-bg: rgba(16, 185, 129, 0.15);
  --red: #ef4444;
  --red-bg: rgba(239, 68, 68, 0.15);
  --orange: #f59e0b;
  --orange-bg: rgba(245, 158, 11, 0.15);
  --cyan: #06b6d4;
  --cyan-bg: rgba(6, 182, 212, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  
  --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}


.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, #241444 0%, #0c0915 70%);
  padding: 20px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 36px 32px;
}

.auth-brand {
  text-align: center;
  margin-bottom: 28px;
}

.brand-logo-glow {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px var(--primary-glow);
}

.brand-icon {
  font-size: 28px;
  color: #ffffff;
}

.brand-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.alert-box {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 16px;
}

.alert-box.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

.brand-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-dim);
}


.app-layout {
  display: flex;
  min-height: 100vh;
}


.sidebar {
  width: 260px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--primary-glow);
  color: #fff;
  font-size: 18px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.brand-tag {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

.sidebar-nav {
  padding: 20px 14px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-dim);
  padding: 12px 12px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
}

.nav-item i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  transition: color 0.2s;
}

.nav-item:hover {
  background: var(--bg-hover);
  color: #ffffff;
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(157, 92, 247, 0.2), rgba(157, 92, 247, 0.05));
  border-left: 3px solid var(--primary);
  color: #ffffff;
}

.nav-item.active i {
  color: var(--primary);
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border-color);
}

.user-profile-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.user-meta {
  flex-grow: 1;
  overflow: hidden;
}

.user-name {
  display: block;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.main-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-y: auto;
}

.topbar {
  height: 64px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-sidebar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  flex-shrink: 0;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.maint-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--orange-bg);
  border: 1px solid var(--orange);
  border-radius: var(--radius-pill);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
}

.reseller-credits-pill {
  padding: 6px 14px;
  background: var(--primary-bg);
  border: 1px solid var(--primary);
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-size: 13px;
}


.content-area {
  padding: 28px;
  flex-grow: 1;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

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

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.page-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.page-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}


.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.stat-icon.purple { background: var(--primary-bg); color: var(--primary); }
.stat-icon.green { background: var(--green-bg); color: var(--green); }
.stat-icon.cyan { background: var(--cyan-bg); color: var(--cyan); }
.stat-icon.orange { background: var(--orange-bg); color: var(--orange); }
.stat-icon.red { background: var(--red-bg); color: var(--red); }

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 2px;
}


.c-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.card-title-bar {
  margin-bottom: 20px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-subtitle {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex-grow: 1;
  max-width: 440px;
}

.search-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 14px;
  pointer-events: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.search-box input,
.search-box .c-input,
.search-input {
  width: 100% !important;
  background: #110c20 !important;
  border: 1px solid #2d204d !important;
  border-radius: var(--radius-md) !important;
  padding: 10px 16px 10px 42px !important;
  color: #ffffff !important;
  font-family: var(--font-sans) !important;
  font-size: 13.5px !important;
  outline: none !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.search-box input::placeholder,
.search-box .c-input::placeholder,
.search-input::placeholder {
  color: #72678c !important;
  font-size: 13px !important;
}

.search-box input:hover,
.search-box .c-input:hover,
.search-input:hover {
  border-color: #553b8f !important;
  background: #160f29 !important;
}

.search-box input:focus,
.search-box .c-input:focus,
.search-input:focus {
  border-color: var(--primary) !important;
  background: #160f29 !important;
  box-shadow: 0 0 0 3px rgba(157, 92, 247, 0.25), 0 0 16px rgba(157, 92, 247, 0.2) !important;
}

.search-box:focus-within i {
  color: #c084fc !important;
  transform: translateY(-50%) scale(1.1);
}

.filters-group {
  display: flex;
  align-items: center;
  gap: 10px;
}


.table-responsive {
  overflow-x: auto;
}

.c-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.c-table th {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

.c-table td {
  padding: 14px 16px;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(39, 29, 66, 0.6);
  vertical-align: middle;
}

.c-table tr:hover td {
  background: var(--bg-hover);
}


.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.c-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.c-btn-primary {
  background: linear-gradient(135deg, #8b3ef8, #a855f7);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.c-btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #9d5cf7, #b37bf9);
  box-shadow: 0 6px 20px rgba(157, 92, 247, 0.5);
  transform: translateY(-1px);
}

.c-btn-secondary {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.c-btn-secondary:hover:not(:disabled) {
  background: var(--bg-hover);
  border-color: var(--primary);
}

.c-btn-danger {
  background: var(--red-bg);
  border: 1px solid var(--red);
  color: var(--red);
}

.c-btn-danger:hover:not(:disabled) {
  background: var(--red);
  color: #fff;
}

.c-btn-sm {
  padding: 7px 14px;
  font-size: 12px;
}

.c-btn-xs {
  padding: 4px 10px;
  font-size: 11.5px;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn-icon {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.btn-icon:hover {
  color: #ffffff;
  background: var(--bg-hover);
}


.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.c-input, .c-select, .c-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: all 0.2s;
}

.c-input:focus, .c-select:focus, .c-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-bg);
}

.c-textarea {
  resize: vertical;
}

.font-mono {
  font-family: var(--font-mono);
}


.c-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  cursor: pointer;
}

.c-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.c-switch-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #271e3d;
  transition: .3s;
  border-radius: 34px;
  border: 1px solid var(--border-color);
}

.c-switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

.c-switch input:checked + .c-switch-slider {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.c-switch input:checked + .c-switch-slider:before {
  transform: translateX(22px);
}

.setting-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.setting-title {
  font-weight: 700;
  color: #ffffff;
}

.setting-desc {
  font-size: 12px;
  color: var(--text-muted);
}


.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-admin { background: var(--primary-bg); color: var(--primary); border: 1px solid var(--primary); }
.badge-active { background: var(--green-bg); color: var(--green); }
.badge-unused { background: var(--cyan-bg); color: var(--cyan); }
.badge-expired { background: var(--orange-bg); color: var(--orange); }
.badge-blocked { background: var(--red-bg); color: var(--red); }
.badge-hwid { background: var(--bg-input); border: 1px solid var(--border-color); color: var(--text-muted); cursor: pointer; }
.badge-hwid:hover { border-color: var(--primary); color: #fff; }


.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8, 5, 14, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-lg {
  max-width: 720px;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: #ffffff;
}

.modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background: var(--bg-sidebar);
}

.tariff-buttons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.tariff-btn {
  padding: 9px 6px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.tariff-btn.active {
  background: var(--primary-bg);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 10px var(--primary-glow);
}


.drop-zone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 20px;
  text-align: center;
  background: var(--bg-input);
  cursor: pointer;
  transition: all 0.2s;
}

.drop-zone:hover {
  border-color: var(--primary);
  background: var(--bg-hover);
}

.upload-icon {
  font-size: 38px;
  color: var(--primary);
  margin-bottom: 12px;
}

.drop-text {
  font-size: 14px;
  color: var(--text-muted);
}

.file-name-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
}

.encryption-notice {
  background: var(--primary-bg);
  border: 1px solid rgba(157, 92, 247, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 12px;
  color: #e2d9f3;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.active-file-card {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}


.menu-editor-workspace {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 20px;
  align-items: start;
}

.tree-container {
  max-height: 600px;
  overflow-y: auto;
  padding-right: 6px;
}

.tree-item {
  margin-bottom: 6px;
}

.tree-node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
}

.tree-node-row:hover, .tree-node-row.selected {
  background: var(--bg-hover);
  border-color: var(--primary);
}

.cheat-menu-viewport {
  background: #090611;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 520px;
}


.cheat-window {
  width: 100%;
  max-width: 680px;
  background: #140d24;
  border: 1px solid #2d1d4c;
  border-radius: 16px;
  display: flex;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(124, 58, 237, 0.15);
  overflow: hidden;
  min-height: 440px;
}

.cheat-sidebar {
  width: 68px;
  background: #0f091d;
  border-right: 1px solid #23163c;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 12px;
}

.cheat-logo-btn {
  background: #20133b;
  border: 1px solid #362261;
  color: #d8b4fe;
  font-size: 10px;
  font-weight: 800;
  padding: 6px 8px;
  border-radius: 8px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.cheat-tab-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  border-radius: 12px;
  color: #7e6b9e;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.cheat-tab-btn:hover {
  color: #fff;
  background: #23163c;
}

.cheat-tab-btn.active {
  background: linear-gradient(135deg, #7c3aed, #9d5cf7);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(157, 92, 247, 0.4);
}

.cheat-body {
  flex-grow: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cheat-subtabs-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.cheat-subtab-pill {
  padding: 6px 14px;
  background: #1d1334;
  border: 1px solid #311e54;
  border-radius: 20px;
  color: #9f8ebd;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.cheat-subtab-pill.active {
  background: #2c1a4e;
  border-color: #8b3ef8;
  color: #ffffff;
}

.cheat-sections-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cheat-section-card {
  background: #1a1130;
  border: 1px solid #2e1d52;
  border-radius: 14px;
  padding: 16px;
}

.cheat-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cheat-section-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
}

.cheat-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: #cdc4de;
}

.cheat-control-row:last-child {
  margin-bottom: 0;
}


.cheat-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid #442a78;
  background: #140d24;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: transparent;
  font-size: 12px;
}

.cheat-checkbox.checked {
  background: #9d5cf7;
  border-color: #9d5cf7;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(157, 92, 247, 0.4);
}


.cheat-slider-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cheat-slider-val {
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  min-width: 44px;
  text-align: right;
}

.cheat-slider-track {
  width: 100px;
  height: 5px;
  background: #2c1a4e;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

.cheat-slider-fill {
  height: 100%;
  background: #9d5cf7;
  border-radius: 4px;
}

.cheat-slider-thumb {
  width: 13px;
  height: 13px;
  background: #d8b4fe;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px #9d5cf7;
}


.cheat-select {
  background: #130c22;
  border: 1px solid #3c246b;
  border-radius: 8px;
  color: #ffffff;
  padding: 4px 10px;
  font-size: 11.5px;
  outline: none;
}


.crypto-result-box {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
}

.result-row {
  margin-bottom: 10px;
}

.res-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.crypto-b64-box {
  word-break: break-all;
  max-height: 80px;
  overflow-y: auto;
  font-size: 11px;
  background: #0b0714;
  padding: 8px;
  border-radius: 6px;
  color: #a855f7;
}

.crypto-decrypted-box {
  font-size: 11px;
  background: #0b0714;
  padding: 8px;
  border-radius: 6px;
  color: #10b981;
  max-height: 100px;
  overflow-y: auto;
}


.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #ffffff;
  box-shadow: var(--shadow-card);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.2s ease;
}

.toast.success { border-color: var(--green); }
.toast.error { border-color: var(--red); }
.toast.info { border-color: var(--primary); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}


.hidden { display: none !important; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-purple { color: var(--primary); }
.text-green { color: var(--green); }
.text-sm { font-size: 12px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.c-divider { border: 0; border-top: 1px solid var(--border-color); margin: 16px 0; }

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.pagination-buttons {
  display: flex;
  gap: 8px;
}

@media (max-width: 1024px) {
  .menu-editor-workspace {
    grid-template-columns: 1fr;
  }
  .grid-2col {
    grid-template-columns: 1fr;
  }
  .cheat-sections-container {
    grid-template-columns: 1fr;
  }
}


.grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .grid-2col { grid-template-columns: 1fr; }
}
.grid-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.payment-methods-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.payment-method-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--c-surface-2, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.payment-method-card:hover {
  border-color: var(--c-purple, #8b5cf6);
  background: rgba(139, 92, 246, 0.05);
}
.payment-method-card input[type="radio"] {
  accent-color: #8b5cf6;
  width: 18px;
  height: 18px;
}
.pay-method-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pay-icon {
  font-size: 1.5rem;
}
.calc-summary-card {
  background: var(--c-surface-2, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.calc-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 16px;
}
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.calc-divider {
  height: 1px;
  background: var(--c-border, rgba(255, 255, 255, 0.08));
  margin: 14px 0;
}
.total-row {
  margin-top: 6px;
  font-size: 1.1rem;
}
.border-green {
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
}
.text-green { color: #22c55e !important; }
.text-blue { color: #3b82f6 !important; }


.sidebar-toggle-btn {
  background: var(--c-surface-2, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.1));
  color: var(--c-text, #f3f4f6);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 12px;
  transition: all 0.2s ease;
}
.sidebar-toggle-btn:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--c-purple, #8b5cf6);
  color: #fff;
}


@media (min-width: 901px) {
  body.sidebar-collapsed .sidebar {
    width: 76px !important;
    min-width: 76px !important;
  }
  body.sidebar-collapsed .sidebar .brand-text,
  body.sidebar-collapsed .sidebar .nav-section-title,
  body.sidebar-collapsed .sidebar .nav-item span,
  body.sidebar-collapsed .sidebar .user-meta {
    display: none !important;
  }
  body.sidebar-collapsed .sidebar .nav-item {
    justify-content: center;
    padding: 12px;
  }
  body.sidebar-collapsed .sidebar .nav-item i {
    margin: 0 !important;
    font-size: 1.25rem;
  }
  body.sidebar-collapsed .sidebar-footer {
    padding: 12px 6px;
  }
  body.sidebar-collapsed .user-profile-widget {
    justify-content: center;
    padding: 6px;
  }
}


.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (max-width: 900px) {
  .sidebar {
    position: fixed !important;
    left: -280px !important;
    top: 0;
    bottom: 0;
    width: 260px !important;
    z-index: 999;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
  }
  body.sidebar-mobile-open .sidebar {
    left: 0 !important;
  }
  body.sidebar-mobile-open .sidebar-backdrop {
    display: block;
    opacity: 1;
  }
  .main-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
  }
  .topbar {
    padding: 12px 16px;
  }
  .content-body {
    padding: 16px;
  }
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .grid-2col {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .grid-3col {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .modal-card {
    width: 94% !important;
    max-width: 94% !important;
    margin: 16px auto;
    padding: 16px;
  }
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}


.reseller-balance-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--c-surface-2, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.1));
  padding: 4px 10px;
  border-radius: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.setting-tier-box {
  background: var(--c-surface-2, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  border-radius: 10px;
  padding: 16px;
}
.file-filters-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.file-filter-btn {
  background: var(--c-surface-2, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.1));
  color: var(--c-text-muted, #9ca3af);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.file-filter-btn:hover {
  border-color: var(--c-purple, #8b5cf6);
  color: #fff;
}
.file-filter-btn.active {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--c-purple, #8b5cf6);
  color: #fff;
}
.billing-tier-card {
  transition: all 0.2s ease;
}
.billing-tier-card:hover {
  transform: translateY(-2px);
  border-color: var(--c-purple, #8b5cf6) !important;
}


body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

.key-code-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 3px 8px 3px 10px;
  border-radius: 6px;
}

.key-code-text {
  color: #c4b5fd;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.btn-copy-code {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  padding: 3px 5px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.15s ease;
}

.btn-copy-code:hover {
  color: #fff;
  background: rgba(139, 92, 246, 0.3);
  transform: scale(1.08);
}

.hwid-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: #c4b5fd;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hwid-pill:hover {
  background: rgba(139, 92, 246, 0.22);
  border-color: #8b5cf6;
  color: #fff;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.hwid-pill.active {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.25);
  color: #4ade80;
}

.hwid-pill.active:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  color: #fff;
}

.hwid-pill.full {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
  color: #f87171;
}

.hwid-pill.full:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #fff;
}

.menu-editor-workspace {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 16px;
  min-height: 600px;
}

@media (max-width: 1200px) {
  .menu-editor-workspace {
    grid-template-columns: 1fr;
  }
}



.content-body {
  padding: 24px 36px !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
}

.page-header {
  margin-bottom: 24px !important;
}

.page-title {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px 0 !important;
}

.page-desc {
  color: var(--c-text-muted, #9ca3af) !important;
  font-size: 0.88rem !important;
  margin: 0 !important;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-bottom: 24px !important;
}

.setting-tier-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 16px;
}

.c-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.c-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.c-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 26px;
}

.c-switch-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
}

.c-switch input:checked + .c-switch-slider {
  background-color: var(--c-purple, #8b5cf6);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
}

.c-switch input:checked + .c-switch-slider:before {
  transform: translateX(22px);
}

.drop-zone {
  border: 2px dashed rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.03);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drop-zone:hover {
  border-color: var(--c-purple, #8b5cf6);
  background: rgba(139, 92, 246, 0.08);
}

.drop-zone .upload-icon {
  font-size: 2.2rem;
  color: var(--c-purple, #8b5cf6);
  margin-bottom: 10px;
}

.file-name-tag {
  display: inline-block;
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 10px;
  border-radius: 6px;
}


.alert-frozen-banner {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
  animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
  from { box-shadow: 0 0 10px rgba(6, 182, 212, 0.1); }
  to { box-shadow: 0 0 25px rgba(6, 182, 212, 0.3); }
}

.alert-frozen-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.alert-frozen-icon {
  font-size: 1.8rem;
  color: #38bdf8;
}

.badge-frozen {
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.4);
}




.flex-center-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.setting-maint-card {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 12px;
  padding: 18px 22px;
}

.payment-group-box {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 18px 20px;
}

.payment-toggles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 18px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-toggle-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(139, 92, 246, 0.35);
  transform: translateY(-1px);
}

.payment-toggle-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.payment-toggle-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.payment-toggle-text {
  min-width: 0;
  flex: 1;
}

.payment-toggle-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.payment-toggle-desc {
  font-size: 12px;
  color: var(--c-text-muted, #9ca3af);
  line-height: 1.35;
}

.c-switch {
  flex-shrink: 0 !important;
}

@media (max-width: 1000px) {
  .grid-2col {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {
  .grid-3col {
    grid-template-columns: 1fr !important;
  }
}

/* ========================================================
   RESPONSIVE MOBILE STYLES FOR PHONES (< 768px)
   ======================================================== */
@media (max-width: 768px) {
  html, body, #app-view, .app-layout, .main-wrapper {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .main-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .topbar {
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    padding: 0 10px !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
  }

  .topbar-left {
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .status-indicator {
    padding: 0 !important;
  }

  .status-indicator .status-text {
    display: none !important;
  }

  .status-dot {
    margin: 0 !important;
  }

  #maint-banner span {
    display: none !important;
  }

  .topbar-right {
    gap: 6px !important;
    flex-shrink: 0 !important;
    min-width: 0 !important;
  }

  .reseller-balance-pill {
    flex-wrap: nowrap !important;
    gap: 4px !important;
    padding: 2px 6px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 6px !important;
  }

  /* Hide individual day badges on phone header to prevent wrapping & overflow */
  .reseller-tier-badge {
    display: none !important;
  }

  #reseller-balance-box strong {
    font-size: 11.5px !important;
  }

  .currency-switch-group {
    display: inline-flex !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    padding: 1px !important;
    gap: 1px !important;
    margin: 0 !important;
  }

  .currency-switch-group .c-btn {
    padding: 2px 5px !important;
    font-size: 11px !important;
    min-width: 22px !important;
    height: 24px !important;
    line-height: 1 !important;
    border-radius: 4px !important;
  }

  .btn-icon {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .content-body {
    padding: 14px 10px !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .page-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }

  .page-actions {
    width: 100% !important;
  }

  .page-actions .c-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .page-title {
    font-size: 1.25rem !important;
    margin-bottom: 4px !important;
  }

  .page-desc {
    font-size: 0.8rem !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
  }

  .stat-card {
    padding: 10px !important;
    gap: 8px !important;
  }

  .stat-card .stat-value {
    font-size: 1.2rem !important;
  }

  .table-container, .c-card, .table-responsive {
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  table {
    min-width: 550px !important;
  }

  .modal-card {
    width: 95% !important;
    max-width: 95% !important;
    margin: 12px auto !important;
    padding: 16px 12px !important;
  }

  .tariff-buttons-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }

  .billing-tier-card {
    padding: 12px !important;
  }
}

/* Premium Topup Promo Card & Bonus Summary */
.topup-promo-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(30, 27, 75, 0.35));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.topup-promo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #a78bfa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.topup-promo-content {
  min-width: 0;
  flex: 1;
}
.topup-promo-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.topup-promo-tag {
  background: rgba(139, 92, 246, 0.25);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c4b5fd;
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.topup-promo-desc {
  font-size: 11.5px;
  color: #9ca3af;
  margin-top: 2px;
  line-height: 1.35;
}

.topup-summary-card {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 11px 14px;
  transition: all 0.2s ease;
}
.topup-summary-card.bonus-active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(34, 197, 94, 0.05));
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.topup-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}
.topup-summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 6px 0;
}
.topup-summary-row.highlight {
  font-size: 13.5px;
  font-weight: 700;
}
.summary-label {
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 6px;
}
.summary-total-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.summary-total-val {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.summary-sub-val {
  font-size: 11.5px;
  color: #9ca3af;
  font-weight: 500;
}
.topup-hint-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.35;
}

/* Menu JSON Dropzone */
.menu-dropzone {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(139, 92, 246, 0.05);
  border: 1px dashed rgba(139, 92, 246, 0.35);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 12px 14px 4px 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-dropzone:hover, .menu-dropzone.drag-over {
  background: rgba(139, 92, 246, 0.12);
  border-color: #a78bfa;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.2);
  transform: translateY(-1px);
}
.dropzone-icon {
  font-size: 22px;
  color: #a78bfa;
  flex-shrink: 0;
}
.dropzone-text {
  font-size: 12px;
  display: flex;
  flex-direction: column;
}
.dropzone-text strong {
  color: #f1f5f9;
  font-weight: 600;
}
.dropzone-text span {
  color: #94a3b8;
  font-size: 11px;
}
