:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-tertiary: #1f2937;
  --card-bg: rgba(17, 24, 39, 0.75);
  --card-border: rgba(255, 255, 255, 0.08);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-glow: rgba(59, 130, 246, 0.35);

  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.3);
  --warning: #f59e0b;
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.15);
  --danger-glow: rgba(239, 68, 68, 0.35);
  --purple: #8b5cf6;
  --cyan: #06b6d4;

  --sidebar-width: 280px;
  --topbar-height: 70px;
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body.dark-theme {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

/* Utilities */
.hidden { display: none !important; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.85rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.divider { border: 0; border-top: 1px solid var(--card-border); margin: 1rem 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  outline: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-main);
  border-color: var(--card-border);
}
.btn-secondary:hover {
  background: #374151;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--card-border);
}
.btn-outline:hover, .btn-outline.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-danger-soft {
  background: var(--danger-soft);
  color: #f87171;
}
.btn-danger-soft:hover {
  background: rgba(239, 68, 68, 0.3);
}

.btn-sm {
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
}

.btn-icon {
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: flex;
  gap: 0.25rem;
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.form-row {
  display: flex;
  gap: 1rem;
}
.form-row .col {
  flex: 1;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
textarea,
.select-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: #0f172a;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
input:focus, textarea:focus, .select-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Checkboxes */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Toast Container */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  min-width: 280px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: #1f2937;
  color: #fff;
  font-size: 0.875rem;
  border-left: 4px solid var(--primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  animation: slideInRight 0.3s ease;
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Login Screen */
.login-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1e293b 0%, #0b0f19 100%);
  z-index: 1000;
  padding: 1rem;
}
.login-card {
  width: 100%;
  max-width: 440px;
  padding: 2.2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
.login-header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.logo-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.8rem;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 20px var(--primary-glow);
}
.login-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
}
.login-header .subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.login-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}
.tab-btn {
  flex: 1;
  padding: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
}
.tab-btn.active {
  background: var(--bg-tertiary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.login-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* App Layout - Full Screen Expansion */
.app-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  border-top: none;
  border-bottom: none;
  border-left: none;
  z-index: 100;
  overflow-x: hidden;
  box-sizing: border-box;
}
.sidebar-brand {
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--card-border);
  white-space: nowrap;
}
.logo-icon-sm {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.brand-title {
  font-weight: 700;
  font-size: 1.15rem;
}
.brand-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 4px;
  color: #000;
  margin-left: 0.4rem;
}
.sidebar-nav {
  flex: 1;
  padding: 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow-y: auto;
  overflow-x: hidden;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}
.nav-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.nav-item svg {
  flex-shrink: 0;
}
.nav-count-badge {
  flex-shrink: 0;
  margin-left: auto;
}
.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}
.nav-item.active {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  font-weight: 600;
  border-left: 3px solid var(--primary);
}
.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--card-border);
}
.system-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}
.status-dot.pulse {
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Main Wrapper - Full Screen Fluid */
.main-wrapper {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  max-width: calc(100% - var(--sidebar-width));
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
}

/* Topbar */
.topbar {
  height: var(--topbar-height);
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-right: none;
  z-index: 90;
  white-space: nowrap;
  box-sizing: border-box;
  width: 100%;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  flex: 1;
}
.page-title {
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.user-quota-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  font-size: 0.825rem;
  border: 1px solid var(--card-border);
}
.user-profile-menu {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.user-meta {
  display: flex;
  flex-direction: column;
}
.username {
  font-size: 0.875rem;
  font-weight: 600;
}
.role-badge {
  font-size: 0.7rem;
  color: #60a5fa;
}

/* Content Body & Views - Full Screen Fluid */
.content-body {
  padding: 1.75rem 2rem;
  flex: 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.view-section {
  display: none;
  width: 100%;
  max-width: 100%;
  animation: fadeIn 0.3s ease;
}
.view-section.active {
  display: block;
  width: 100%;
  max-width: 100%;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.stat-card {
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon.purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.stat-icon.green { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.stat-icon.blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.stat-icon.red { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.stat-icon.orange { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.stat-data h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

/* Docker Containers Status */
.containers-status-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.panel-title-group h3 {
  font-size: 1.1rem;
  font-weight: 600;
}
.panel-title-group .subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.docker-badges-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.docker-card {
  flex: 1;
  min-width: 240px;
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.docker-title {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 0.95rem;
}
.docker-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
}
.badge-status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.badge-status.running {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}
.badge-status.stopped {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* Chart Panel */
.chart-panel {
  padding: 1.5rem;
}
.chart-wrapper {
  width: 100%;
  position: relative;
  margin-top: 1rem;
}
#telemetry-chart {
  width: 100%;
  height: 260px;
}

/* Toolbars & Tables */
.toolbar-panel {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #0f172a;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.8rem;
  min-width: 300px;
}
.search-box input {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.filters-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.filters-row.flex-wrap {
  flex-wrap: wrap;
}

.table-responsive {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}
.data-table th {
  padding: 0.9rem 1.2rem;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--card-border);
}
.data-table td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}
.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Device Status Indicators */
.online-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.8rem;
}
.online-indicator.online { color: var(--success); }
.online-indicator.offline { color: var(--text-dim); }
.online-indicator.suspended { color: var(--danger); }

.tag-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-tertiary);
  color: var(--text-main);
}
.tag-badge.shared {
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
}
.tag-badge.personal {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}
.tag-badge.blocked {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Logs & Terminal Viewer */
.logs-subnav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.subtab-btn {
  padding: 0.6rem 1.2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.subtab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.subview-container { display: none; }
.subview-container.active { display: block; }

.terminal-card {
  background: #050811;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  overflow: hidden;
}
.terminal-header {
  background: #0d1322;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--card-border);
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }
.terminal-title {
  margin-left: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.terminal-body {
  padding: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.825rem;
  color: #a7f3d0;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 480px;
  overflow-y: auto;
}

/* Provisioning View Grid */
.provisioning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 1.5rem;
}
.config-item-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}
.copy-input-group {
  display: flex;
  gap: 0.5rem;
}
.copy-input-group input {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  background: #090e1a;
}
.script-tabs {
  display: flex;
  border-bottom: 1px solid var(--card-border);
  padding: 0 1.5rem;
  gap: 1rem;
}
.script-content-panel {
  display: none;
  padding: 1.5rem;
}
.script-content-panel.active {
  display: block;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-card {
  width: 100%;
  max-width: 540px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--card-border);
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dim);
  cursor: pointer;
}
.modal-close:hover { color: #fff; }
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--card-border);
}
#form-device, #form-user {
  padding: 1.5rem;
}

/* Quick renew buttons */
.renew-quick-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
  .sidebar {
    width: 70px;
  }
  .brand-text, .nav-item span, .sidebar-footer {
    display: none;
  }
  .sidebar-brand {
    padding: 0;
    justify-content: center;
  }
  .nav-item {
    justify-content: center;
    padding: 0.9rem;
  }
  .main-wrapper {
    margin-left: 70px;
  }
}
@media (max-width: 600px) {
  .content-body {
    padding: 1rem;
  }
  .search-box {
    min-width: 100%;
  }
  .form-row {
    flex-direction: column;
  }
}


/* ==========================================================================
   CJ Desk Control - Extended Styles
   (Landing Page, Pricing Tiers, Login Experience & Brand Components)
   ========================================================================== */

/* Dashboard Brand & Sign Out Enhancements */
.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo-mini {
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.4));
  transition: transform 0.2s ease;
}
.brand-link:hover .brand-logo-mini {
  transform: scale(1.08);
}
.btn-signout {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

/* -------------------------------------------------------------
   Login Page Styling (public/login.html)
   ------------------------------------------------------------- */
body.login-body {
  background: radial-gradient(circle at 50% 20%, #1e293b 0%, #0f172a 60%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1.5rem 1rem;
}

.login-wrapper {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: fadeInDown 0.4s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem;
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}
.back-home-link:hover {
  color: #38bdf8;
  transform: translateX(-2px);
}

.server-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
}

.login-card {
  padding: 2.25rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(56, 189, 248, 0.08);
}

.brand-logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.brand-logo-img {
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.5));
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #ffffff 40%, #7dd3fc 80%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-tagline {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Tabs */
.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(15, 23, 42, 0.8);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  gap: 0.35rem;
  margin: 1.5rem 0 1.25rem 0;
  border: 1px solid var(--card-border);
}
.login-tabs .tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 0.6rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}
.login-tabs .tab-btn.active {
  background: #1e293b;
  color: #38bdf8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.admin-submode-pill {
  display: flex;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.25rem;
  border-radius: 6px;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}
.submode-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.4rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}
.submode-btn.active {
  background: #334155;
  color: #fff;
}

.input-with-action {
  position: relative;
  display: flex;
  align-items: center;
}
.input-with-action input {
  width: 100%;
  padding-right: 2.75rem;
}
.btn-toggle-eye {
  position: absolute;
  right: 0.6rem;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.btn-toggle-eye:hover, .btn-toggle-eye.visible {
  color: #38bdf8;
}

.input-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.4rem;
  line-height: 1.4;
}

.required-star {
  color: #ef4444;
  margin-left: 2px;
}

.form-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.25rem 0;
}
.checkbox-container {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.825rem;
  color: var(--text-muted);
  user-select: none;
}
.checkbox-container input[type="checkbox"] {
  accent-color: #38bdf8;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.btn-lg {
  padding: 0.75rem 1.25rem;
  font-size: 0.925rem;
}

.alert-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  margin-bottom: 1.25rem;
  animation: shake 0.3s ease-in-out;
}
.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.login-helper-box {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.825rem;
  color: var(--text-muted);
}
.highlight-link {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.35rem;
  transition: var(--transition);
}
.highlight-link:hover {
  text-decoration: underline;
  color: #7dd3fc;
}

.login-footer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--card-border);
  text-align: center;
}
.features-badge-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.f-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  color: var(--text-muted);
}
.copyright-text {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* -------------------------------------------------------------
   Landing Page (public/index.html)
   ------------------------------------------------------------- */
body.landing-page {
  background-color: #0b0f19;
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sticky Navbar - Full Width & Single-Line Menu */
.navbar-landing {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
}
.nav-container {
  max-width: 1720px;
  width: 100%;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: nowrap;
}
.brand-logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.brand-main-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-sub-badge {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nav-menu-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover {
  color: #38bdf8;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.btn-signin, .btn-get-started {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5rem 0 4rem 0;
  overflow: hidden;
  text-align: center;
}
.hero-glow-bg {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(37, 99, 235, 0.08) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}
.hero-container {
  position: relative;
  z-index: 1;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #7dd3fc;
  font-size: 0.8rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-description {
  max-width: 720px;
  margin: 0 auto 2.25rem auto;
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}
.btn-xl {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}
.metric-card {
  padding: 1.25rem 1rem;
  text-align: center;
  border-color: rgba(255, 255, 255, 0.06);
}
.metric-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 0.25rem;
}
.metric-label {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Sections Common */
.section-padding {
  padding: 5rem 0;
}
.section-header {
  margin-bottom: 3rem;
}
.section-subtitle {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #38bdf8;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.75rem;
}
.section-desc {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text-muted);
}
.text-center { text-align: center; }

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  padding: 2rem;
  transition: var(--transition);
  border-color: rgba(255, 255, 255, 0.06);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}
.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon-box.cyan { background: rgba(56, 189, 248, 0.12); color: #38bdf8; }
.feature-icon-box.blue { background: rgba(37, 99, 235, 0.12); color: #60a5fa; }
.feature-icon-box.purple { background: rgba(139, 92, 246, 0.12); color: #a78bfa; }
.feature-icon-box.green { background: rgba(16, 185, 129, 0.12); color: #34d399; }
.feature-icon-box.red { background: rgba(239, 68, 68, 0.12); color: #f87171; }
.feature-icon-box.amber { background: rgba(245, 158, 11, 0.12); color: #fbbf24; }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* Pricing Section & Tiers */
.pricing-section {
  background: linear-gradient(180deg, rgba(11, 15, 25, 0) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(11, 15, 25, 0) 100%);
}

.billing-switcher-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}
.billing-switch-pill {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--card-border);
  padding: 0.35rem;
  border-radius: 999px;
  gap: 0.25rem;
}
.billing-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}
.billing-btn.active {
  background: #3b82f6;
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}
.discount-badge {
  font-size: 0.7rem;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-weight: 700;
}
.discount-badge.highlight {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.25rem;
  border-radius: var(--radius);
  border-color: rgba(255, 255, 255, 0.08);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.pricing-card:hover {
  transform: translateY(-6px);
}
.pricing-card.popular {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.15);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.plan-header {
  margin-bottom: 1.25rem;
}
.plan-badge {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.plan-badge.hot {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.plan-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  min-height: 48px;
}

.plan-price-wrap {
  margin: 1.25rem 0 1.75rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  color: #fff;
}
.currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: #94a3b8;
}
.price-number {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: 'JetBrains Mono', monospace;
}
.price-number.text-custom {
  font-size: 1.75rem;
  color: #38bdf8;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.price-billing-note {
  font-size: 0.775rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

.plan-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.plan-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
}
.check-icon {
  color: #38bdf8;
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1;
}

.plan-footer {
  margin-top: auto;
}
.btn-glow {
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}

/* Feature Comparison Table */
.comparison-table-wrapper {
  padding: 2rem;
  border-radius: var(--radius);
}
.table-header-title {
  margin-bottom: 1.5rem;
}
.table-header-title h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-table th, .comparison-table td {
  padding: 0.9rem 1.25rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--card-border);
  text-align: center;
}
.comparison-table th.col-feature, .comparison-table td.feature-title {
  text-align: left;
  font-weight: 600;
  color: #cbd5e1;
}
.comparison-table th {
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.comparison-table td {
  color: #94a3b8;
}
.comparison-table .highlight-col {
  background: rgba(56, 189, 248, 0.05);
  color: #e2e8f0;
}
.table-check {
  color: #38bdf8;
  font-weight: 800;
  font-size: 1rem;
}

/* How It Works Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step-card {
  position: relative;
  padding: 2.25rem 1.75rem;
  text-align: center;
}
.step-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 28px;
  height: 28px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.step-card p {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* OS Download Buttons & Setup Box */
.os-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.os-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  text-decoration: none;
  transition: var(--transition);
  border-color: rgba(255, 255, 255, 0.06);
}
.os-card:hover {
  transform: translateY(-3px);
  border-color: #38bdf8;
  background: rgba(17, 24, 39, 0.9);
}
.os-icon { font-size: 1.75rem; }
.os-name { font-weight: 700; color: #fff; font-size: 0.95rem; }
.os-sub { font-size: 0.725rem; color: var(--text-dim); }
.os-arrow { margin-left: auto; color: var(--text-dim); font-size: 1.1rem; }
.os-card:hover .os-arrow { color: #38bdf8; transform: translateX(3px); }

.quick-setup-box {
  padding: 2rem;
}
.setup-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0 0 0;
}
.setup-field.full-width {
  grid-column: span 2;
}

/* FAQ Accordion */
.faq-accordion-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 0.975rem;
  color: #f1f5f9;
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon {
  font-size: 1.3rem;
  color: #38bdf8;
  transition: transform 0.2s ease;
}
details[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.75rem;
}

/* Footer Landing */
.footer-landing {
  background: #080c14;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4rem 0 2rem 0;
}
.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.75rem 0 1.25rem 0;
  line-height: 1.6;
}
.footer-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #34d399;
  font-family: 'JetBrains Mono', monospace;
}
.footer-links-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}
.footer-links-col a {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 0.65rem;
  transition: var(--transition);
}
.footer-links-col a:hover {
  color: #38bdf8;
  transform: translateX(2px);
}
.footer-contact-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  color: #cbd5e1;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 0.5rem;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-policy-links {
  display: flex;
  gap: 0.5rem;
}

/* Order Modal Custom Styles */
.order-summary-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}
.order-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  font-size: 0.875rem;
}
.order-summary-row.highlight {
  padding: 0.5rem 0;
  border-top: 1px dashed var(--card-border);
  border-bottom: 1px dashed var(--card-border);
  margin: 0.75rem 0;
}
.price-highlight {
  font-size: 1.25rem;
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
}
.payment-instructions-box {
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.contact-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.contact-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
}
.contact-pill .c-icon { font-size: 1.25rem; }
.contact-pill .c-title { font-size: 0.7rem; color: var(--text-dim); font-weight: 600; }
.contact-pill .c-val { font-size: 0.825rem; color: #fff; font-family: 'JetBrains Mono', monospace; }

/* Responsive Adjustments for Landing & Modals */
@media (max-width: 1200px) {
  .nav-container {
    padding: 0.75rem 1.25rem;
    gap: 1rem;
  }
  .nav-menu-links {
    gap: 1rem;
  }
  .nav-link {
    font-size: 0.85rem;
  }
  .btn-signin, .btn-get-started {
    padding: 0.45rem 0.8rem;
    font-size: 0.825rem;
  }
}

@media (max-width: 960px) {
  .nav-menu-links {
    display: none;
  }
  .pricing-cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .setup-fields-grid {
    grid-template-columns: 1fr;
  }
  .setup-field.full-width {
    grid-column: span 1;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.15rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-container {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  .contact-methods-grid {
    grid-template-columns: 1fr;
  }
}


/* -------------------------------------------------------------
   Security Policy & Gatekeeper Styles
   ------------------------------------------------------------- */
.security-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Channel Badges in Audit Logs */
.channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.channel-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.channel-badge .dot.green { background: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.6); }
.channel-badge .dot.orange { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.6); }
.channel-badge .dot.red { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.6); }
.channel-badge .dot.gray { background: #9ca3af; }

.channel-badge.web {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.channel-badge.direct {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.channel-badge.blocked {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.channel-badge.system {
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border: 1px solid var(--card-border);
}

/* Toggle Switch Control */
.switch-control {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}
.switch-control input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-control .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #334155;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 34px;
}
.switch-control .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
}
.switch-control input:checked + .slider {
  background-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}
.switch-control input:checked + .slider:before {
  transform: translateX(24px);
}

/* Countdown Pill */
.countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #7dd3fc;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.775rem;
  font-weight: 600;
}
.countdown-pill.expiring {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  animation: pulse 1s infinite;
}

/* =============================================================
 * Download Section & Public Security Policy (index.html)
 * ============================================================= */
.os-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.os-download-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.6);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.os-download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.4);
}
.os-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.os-badge-icon {
  font-size: 2rem;
  line-height: 1;
}
.os-card-title {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
}
.os-card-desc {
  font-size: 0.775rem;
  color: var(--text-dim);
}
.os-download-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.os-download-actions .btn {
  text-align: center;
  justify-content: center;
}

/* Security Policy Notice Card (Public index.html) */
.security-notice-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(15, 23, 42, 0.8) 100%);
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.security-notice-icon-box {
  font-size: 3rem;
  line-height: 1;
  flex-shrink: 0;
}
.security-notice-details {
  flex: 1;
}
.security-notice-details h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.15rem;
  color: #fbbf24;
}
.security-notice-text {
  margin: 0 0 0.75rem 0;
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.6;
}
.security-notice-text code {
  color: #38bdf8;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}
.security-notice-highlight {
  font-weight: 600;
  color: #fef08a;
  background: rgba(245, 158, 11, 0.15);
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border-left: 3px solid #f59e0b;
}
.btn-signin-security {
  white-space: nowrap;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .security-notice-card {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
  .security-notice-highlight {
    display: block;
  }
}

/* =============================================================
 * Dashboard Quick Client Setup Card & Banner (dashboard.html)
 * ============================================================= */
.alert-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  animation: slideDown 0.3s ease;
}
.alert-banner.alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}
.alert-banner .alert-icon {
  font-size: 2rem;
  line-height: 1;
}
.alert-banner .alert-content {
  flex: 1;
}
.alert-banner .alert-content h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  color: #ef4444;
  font-weight: 700;
}
.alert-banner .alert-content p {
  margin: 0;
  font-size: 0.85rem;
  color: #fecaca;
  line-height: 1.5;
}

/* Quick Client Setup Card */
.quick-client-setup-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.95) 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.title-with-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.title-with-badge h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #fff;
}
.badge-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-size: 0.725rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
}
.quick-setup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}
.setup-input-group.full-span {
  grid-column: span 2;
}
.setup-input-group label {
  display: block;
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.copy-input-wrap {
  display: flex;
  gap: 0.5rem;
}
.copy-input-wrap input {
  flex: 1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #93c5fd;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  padding: 0.55rem 0.85rem;
}

/* Config String Prominent Box */
.config-string-box {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.config-string-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.config-string-tag {
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.35rem;
}
.config-string-info h4 {
  margin: 0 0 0.25rem 0;
  font-size: 0.975rem;
  color: #fff;
}
.config-string-desc {
  margin: 0;
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.5;
}
.btn-copy-prominent {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
  flex-shrink: 0;
}

/* Quick Download Actions Row */
.quick-setup-actions-row {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.actions-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
}
.actions-buttons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .quick-setup-grid {
    grid-template-columns: 1fr;
  }
  .setup-input-group.full-span {
    grid-column: span 1;
  }
  .config-string-header {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-copy-prominent {
    width: 100%;
    justify-content: center;
  }
  .quick-setup-actions-row {
    flex-direction: column;
    align-items: stretch;
  }
  .actions-buttons {
    flex-direction: column;
  }
  .actions-buttons .btn {
    width: 100%;
  }
}

/* =============================================================
 * Gatekeeper & 120s Direct Cooldown Styles
 * ============================================================= */
.user-gatekeeper-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: rgba(15, 23, 42, 0.7);
  flex-wrap: wrap;
}
.gate-status-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.gate-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.gate-status-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}
.gate-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.gate-status-badge.authorized {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
}
.gate-status-badge.blocked {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}
.gate-status-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}
.gate-status-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.8rem;
  color: #cbd5e1;
}
.gate-status-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Channel Badges in Logs */
.channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.channel-badge.web {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}
.channel-badge.direct-cooldown {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fb7185;
}
.channel-badge.direct {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}
.channel-badge.blocked {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}
.channel-badge.system {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
}

/* Countdown Pills */
.countdown-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}
.countdown-pill.cooldown {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fb7185;
}
.countdown-pill.expiring {
  animation: pulse-border 1s infinite alternate;
}
@keyframes pulse-border {
  from { border-color: rgba(239, 68, 68, 0.4); }
  to { border-color: rgba(239, 68, 68, 1); box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
}

/* Soft Buttons */
.btn-success-soft {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  padding: 0.35rem 0.75rem;
  font-size: 0.775rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.btn-success-soft:hover {
  background: rgba(34, 197, 94, 0.25);
  color: #fff;
}
.btn-danger-soft {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  padding: 0.35rem 0.75rem;
  font-size: 0.775rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.btn-danger-soft:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #fff;
}

/* =============================================================
 * Sponsor-Us Page, PromptPay QR Frame & Admin Badge Styles
 * ============================================================= */
.nav-count-badge {
  margin-left: auto;
  background: #f43f5e;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  min-width: 20px;
  text-align: center;
}

.sponsor-landing-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(56, 189, 248, 0.25);
  align-items: center;
}
.sponsor-landing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}
.sponsor-quick-box {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.sponsor-quick-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-align: center;
}
.sponsor-quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.amount-chip-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
}
.amount-chip-link:hover,
.amount-chip-link.popular {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #fff;
}

/* Sponsor-Us Main Page */
.sponsor-main {
  padding: 6.5rem 0 4rem 0;
  min-height: 100vh;
}
.sponsor-hero {
  margin-bottom: 2.5rem;
}
.sponsor-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.75rem;
  align-items: start;
}
.sponsor-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.sponsor-step-header {
  margin-bottom: 1.25rem;
}
.sponsor-step-header h2 {
  font-size: 1.2rem;
  color: #fff;
  margin: 0.45rem 0 0.25rem 0;
}
.step-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}
.step-pill.green {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.35);
}

.quick-amounts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.amount-chip {
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.7);
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.amount-chip:hover {
  border-color: rgba(56, 189, 248, 0.5);
  color: #fff;
}
.amount-chip.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #fff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.amount-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.currency-prefix {
  position: absolute;
  left: 0.9rem;
  color: #38bdf8;
  font-weight: 700;
  font-size: 1rem;
}
.amount-input-wrap .input-control {
  padding-left: 2.2rem;
  font-weight: 700;
  font-size: 1.05rem;
}

/* Thai QR Payment Frame */
.promptpay-frame {
  margin-top: 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: #ffffff;
  color: #0f172a;
}
.promptpay-banner {
  background: linear-gradient(135deg, #0d3b66 0%, #11527d 100%);
  color: #fff;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.promptpay-title {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}
.promptpay-sub {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.16);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
}
.promptpay-qr-body {
  padding: 1.35rem 1.25rem;
  text-align: center;
}
.promptpay-qr-img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  margin: 0 auto 0.75rem auto;
  display: block;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.qr-loading {
  padding: 4rem 1rem;
  color: #64748b;
  font-weight: 600;
}
.qr-error {
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-size: 0.85rem;
}
.promptpay-locked-amount {
  display: inline-flex;
  flex-direction: column;
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  margin-bottom: 0.85rem;
}
.promptpay-locked-amount span {
  font-size: 0.72rem;
  color: #0369a1;
  font-weight: 600;
}
.promptpay-locked-amount strong {
  font-size: 1.45rem;
  color: #0f172a;
  font-family: 'JetBrains Mono', monospace;
}
.promptpay-account-box {
  padding-top: 0.65rem;
  border-top: 1px dashed #cbd5e1;
}
.promptpay-account-box .account-label {
  font-size: 0.75rem;
  color: #64748b;
}
.promptpay-account-box .account-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0.15rem 0 0.35rem 0;
}
.kbank-accept-note {
  font-size: 0.75rem;
  color: #059669;
  font-weight: 600;
}
.qr-actions {
  margin-top: 1rem;
}

/* Slip Upload Zone */
.slip-upload-zone {
  position: relative;
  border: 2px dashed rgba(148, 163, 184, 0.35);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  text-align: center;
  background: rgba(15, 23, 42, 0.5);
  cursor: pointer;
  transition: var(--transition);
}
.slip-upload-zone:hover {
  border-color: #38bdf8;
}
.slip-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.slip-upload-placeholder {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: #cbd5e1;
  font-size: 0.88rem;
}
.slip-preview-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.slip-preview-wrap img {
  max-height: 180px;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.form-error-alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.sponsor-success-box {
  text-align: center;
  padding: 1.5rem 1rem;
}
.sponsor-success-box .success-icon {
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}
.sponsor-success-box h3 {
  color: #4ade80;
  margin-bottom: 0.4rem;
}
.ref-code-box {
  margin: 1.25rem 0;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.ref-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.ref-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}
.ref-code-row code {
  font-size: 1.15rem;
  font-weight: 700;
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
}
.success-summary {
  font-size: 0.88rem;
  color: #cbd5e1;
}

@media (max-width: 900px) {
  .sponsor-grid,
  .sponsor-landing-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .quick-amounts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

