/* =========================================================
   MxM EMULATOR BYPASS — Master Admin & Reseller Portal v3.0 Stylesheet
   ========================================================= */

:root {
  --bg-main: #07090E;
  --bg-sidebar: #0B0E17;
  --bg-card: #101623;
  --bg-card-hover: #151D2E;
  --bg-input: #0B0F19;
  --border-color: #1E293B;
  --border-light: #2D3B55;

  --accent-cyan: #00E5FF;
  --accent-cyan-glow: rgba(0, 229, 255, 0.25);
  --accent-blue: #3B82F6;
  --accent-green: #10B981;
  --accent-green-glow: rgba(16, 185, 129, 0.25);
  --accent-purple: #8B5CF6;
  --accent-purple-glow: rgba(139, 92, 246, 0.25);
  --accent-yellow: #F59E0B;
  --accent-red: #EF4444;
  --accent-red-glow: rgba(239, 68, 68, 0.25);

  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  --shadow-glow-cyan: 0 0 25px rgba(0, 229, 255, 0.35);
  --shadow-glow-green: 0 0 25px rgba(16, 185, 129, 0.35);
  --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-main);
  color: var(--text-main);
  font-family: var(--font-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* Background Ambient Glows */
.glow-orb {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.15;
}
.glow-top-left {
  top: -150px;
  left: 100px;
  background: radial-gradient(circle, #00E5FF 0%, transparent 70%);
}
.glow-top-right {
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, #8B5CF6 0%, transparent 70%);
}

/* Layout */
.app-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ==================== OFFICIAL ENTERPRISE SIDEBAR ==================== */
.sidebar {
  width: 290px;
  background: linear-gradient(180deg, #090c15 0%, #06080e 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.5), inset -1px 0 0 rgba(0, 229, 255, 0.04);
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  flex-shrink: 0;
  z-index: 25;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}
.sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 229, 255, 0.35);
}

/* Sidebar Brand Header */
.sidebar-header {
  margin-bottom: 20px;
  padding: 4px 6px;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #00E5FF 0%, #2563EB 55%, #1E1B4B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #030712;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-icon:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.65);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-text h2 {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.25;
  background: linear-gradient(90deg, #FFFFFF 30%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  text-transform: uppercase;
}

.badge-reseller {
  font-size: 10px;
  font-weight: 700;
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  width: fit-content;
  letter-spacing: 0.3px;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.12);
}

/* Executive Reseller Profile Card */
.reseller-profile-card {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.8) 0%, rgba(9, 13, 22, 0.92) 100%);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 15px;
  padding: 14px;
  margin-bottom: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.reseller-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00E5FF, transparent);
  opacity: 0.6;
}

.profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.avatar-letter {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #FFF;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.4);
  flex-shrink: 0;
}

.profile-info {
  flex: 1;
  min-width: 0;
}

.profile-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}

.reseller-username {
  font-weight: 700;
  font-size: 13.5px;
  color: #F8FAFC;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-pill-role {
  background: rgba(0, 229, 255, 0.12);
  color: #00E5FF;
  border: 1px solid rgba(0, 229, 255, 0.3);
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.reseller-role {
  font-size: 11px;
  color: #64748B;
  display: block;
}

/* Balance Inset Display */
.profile-balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 9px;
  margin-bottom: 10px;
}

.balance-label {
  font-size: 11px;
  font-weight: 600;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.balance-val {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-weight: 800;
  font-size: 14px;
  color: #10B981;
  letter-spacing: -0.2px;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

/* Sidebar Profile Actions */
.sidebar-profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.btn-sidebar-rates {
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #FBBF24;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-sidebar-rates:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
  transform: translateY(-1px);
}

.btn-sidebar-recharge {
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34D399;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-sidebar-recharge:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
  transform: translateY(-1px);
}

/* Sidebar Navigation Menu */
.sidebar-nav {
  flex: 1;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0;
  margin: 0;
}

.nav-section-label {
  font-size: 9.5px;
  font-weight: 800;
  color: #475569;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 12px 12px 6px;
  list-style: none;
}

.nav-item {
  border-radius: 10px;
  transition: all 0.2s ease;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: #94A3B8;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  position: relative;
}

.nav-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #94A3B8;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.nav-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-item:hover .nav-link {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(3px);
}

.nav-item:hover .nav-icon-wrap {
  background: rgba(0, 229, 255, 0.08);
  color: #00E5FF;
}

/* Active Nav Item */
.nav-item.active .nav-link {
  color: #FFFFFF;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.12) 0%, rgba(37, 99, 235, 0.04) 100%);
  border: 1px solid rgba(0, 229, 255, 0.28);
  box-shadow: 0 4px 18px rgba(0, 229, 255, 0.08);
}

.nav-item.active .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #00E5FF;
  box-shadow: 0 0 8px #00E5FF;
}

.nav-item.active .nav-icon-wrap {
  background: rgba(0, 229, 255, 0.15);
  color: #00E5FF;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}

/* Badge Count */
.nav-badge-count {
  margin-left: auto;
  background: rgba(0, 229, 255, 0.15);
  color: #00E5FF;
  border: 1px solid rgba(0, 229, 255, 0.3);
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.15);
}

.nav-pill-tag {
  margin-left: auto;
  background: rgba(139, 92, 246, 0.15);
  color: #C084FC;
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
}

/* Logout Button */
.nav-item-logout .nav-link {
  color: #EF4444;
}
.nav-item-logout .nav-icon-wrap {
  color: #EF4444;
}
.nav-item-logout:hover .nav-link {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
  color: #F87171;
}
.nav-item-logout:hover .nav-icon-wrap {
  background: rgba(239, 68, 68, 0.18);
  color: #F87171;
}

/* Sidebar Footer */
.sidebar-footer {
  padding-top: 14px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #64748B;
}

.net-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseGreen 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn-refresh-balance {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.btn-refresh-balance:hover {
  color: #00E5FF;
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.1);
  transform: rotate(180deg);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

/* Role Badges for Modals & Tables */
.role-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}
.role-badge.master-admin {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #F87171;
}
.role-badge.senior-reseller {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #C084FC;
}
.role-badge.distributor {
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--accent-cyan);
}
.role-badge.standard-reseller {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 32px 40px;
}

/* Topbar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 16px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.crumb-sep {
  font-size: 10px;
  color: var(--text-dim);
}
.crumb-current {
  color: #FFF;
  font-weight: 600;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==================== RESELLER VIEW SELECTOR (ACTIVE ACCOUNT) ==================== */
.reseller-view-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(10, 15, 28, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.22);
  padding: 4px 6px 4px 12px;
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.reseller-view-selector:hover {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.selector-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.selector-label i {
  color: #00E5FF;
  font-size: 13px;
}

.selector-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.reseller-select-dropdown {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: #00E5FF;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 28px 5px 10px;
  border-radius: 16px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all 0.2s ease;
  max-width: 250px;
}

.reseller-select-dropdown:hover,
.reseller-select-dropdown:focus {
  background: rgba(0, 229, 255, 0.08);
  border-color: #00E5FF;
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}

.select-chevron {
  position: absolute;
  right: 10px;
  pointer-events: none;
  font-size: 9px;
  color: #00E5FF;
  transition: transform 0.2s ease;
}

.reseller-select-dropdown option {
  background: #0B0F19;
  color: #F1F5F9;
  font-weight: 600;
  padding: 8px 12px;
}

/* ==================== API LIVE BADGE ==================== */
.api-live-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.06) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34D399;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: liveRadarPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes liveRadarPing {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==================== NOTIFICATION CENTER ==================== */
.notification-wrapper {
  position: relative;
  display: inline-block;
}

.icon-btn.notif-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.icon-btn.notif-btn:hover {
  color: #00E5FF;
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.2);
}

.notif-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, #00E5FF 0%, #0077FF 100%);
  color: #020617;
  font-size: 9.5px;
  font-weight: 900;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
  border: 1.5px solid #090C15;
}

.notification-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 330px;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.96) 0%, rgba(9, 13, 22, 0.98) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 229, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 1000;
  backdrop-filter: blur(20px);
  animation: dropSlideIn 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-wrapper.show .notification-dropdown-menu {
  display: block;
}

.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.notif-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #F8FAFC;
}

.btn-mark-read {
  background: transparent;
  border: none;
  color: #00E5FF;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-mark-read:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.notif-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.notif-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.notif-item.unread {
  background: rgba(0, 229, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.15);
}

.notif-icon-box {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.notif-icon-box.cyan {
  background: rgba(0, 229, 255, 0.12);
  color: #00E5FF;
}
.notif-icon-box.green {
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
}
.notif-icon-box.purple {
  background: rgba(139, 92, 246, 0.12);
  color: #C084FC;
}

.notif-content {
  flex: 1;
}

.notif-text {
  font-size: 12px;
  color: #E2E8F0;
  line-height: 1.35;
  margin: 0 0 3px 0;
}
.notif-text strong {
  color: #00E5FF;
}

.notif-time {
  font-size: 10.5px;
  color: #64748B;
  font-weight: 600;
}

.notif-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.notif-view-all {
  color: #94A3B8;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.notif-view-all:hover {
  color: #00E5FF;
}

/* ==================== USER PILL & PROFILE DROPDOWN ==================== */
.user-pill-wrapper {
  position: relative;
  display: inline-block;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(10, 15, 28, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 4px 12px 4px 5px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.user-pill:hover {
  border-color: #00E5FF;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.2);
}

.user-pill-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00E5FF, #3B82F6);
  color: #030712;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13.5px;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.user-pill-info {
  display: flex;
  flex-direction: column;
}

.user-pill-name {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  color: #FFF;
}

.user-pill-cred {
  font-size: 10.5px;
  font-family: var(--font-mono, monospace);
  color: #10B981;
  font-weight: 700;
  line-height: 1.2;
}

.user-pill-arrow {
  font-size: 10px;
  color: #64748B;
  transition: transform 0.2s ease;
}

.user-pill-wrapper.show .user-pill-arrow {
  transform: rotate(180deg);
  color: #00E5FF;
}

/* Profile Dropdown Popup */
.profile-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 250px;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.96) 0%, rgba(9, 13, 22, 0.98) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 229, 255, 0.1);
  z-index: 1000;
  backdrop-filter: blur(20px);
  animation: dropSlideIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-pill-wrapper.show .profile-dropdown-menu {
  display: block;
}

@keyframes dropSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.profile-dropdown-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
}

.profile-drop-name {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.profile-drop-email {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.2;
  margin-bottom: 8px;
  word-break: break-all;
}

.profile-drop-credits-pill {
  display: inline-block;
  align-self: flex-start;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--accent-cyan);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: 14px;
}

.profile-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 10px 0;
}

.profile-dropdown-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.profile-drop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #E2E8F0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.profile-drop-item:hover {
  background: #172030;
  color: #FFFFFF;
  transform: translateX(2px);
}
.profile-drop-item i {
  font-size: 14px;
  width: 18px;
  text-align: center;
}

.profile-drop-item.sign-out {
  color: #F87171;
}
.profile-drop-item.sign-out:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
}
.text-purple {
  color: #A855F7;
}

/* ==================== VIEW PANELS ==================== */
.view-panel {
  display: none;
  flex-direction: column;
  gap: 20px;
}
.view-panel.active {
  display: flex;
}

/* Page Header Row */
.page-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.header-titles .title-with-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-titles h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFF;
}

.count-badge {
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

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

.header-action-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Buttons */
button {
  font-family: var(--font-main);
  cursor: pointer;
}

.btn-secondary {
  background: #151C2C;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: #1C263B;
  border-color: var(--border-light);
  color: #FFF;
}

.btn-primary-blue {
  background: linear-gradient(135deg, #00C6FF, #0072FF);
  border: 1px solid rgba(0, 198, 255, 0.4);
  color: #FFFFFF;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 114, 255, 0.35);
  transition: var(--transition);
}
.btn-primary-blue:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.5);
}

.btn-outline-cyan {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-outline-cyan:hover {
  background: rgba(0, 229, 255, 0.18);
  box-shadow: var(--shadow-glow-cyan);
}

.btn-danger-outline {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--accent-red);
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-danger-outline:hover {
  background: rgba(239, 68, 68, 0.18);
}
.danger-badge {
  background: var(--accent-red);
  color: #FFF;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}

.btn-glow-green {
  background: linear-gradient(135deg, #10B981, #059669);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #FFFFFF;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: var(--transition);
}
.btn-glow-green:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-warning-gold {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #000;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-danger {
  background: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #FFF;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}
.btn-ghost:hover {
  color: #FFF;
}

/* ==================== STATS CARDS ==================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.stat-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.stat-icon-wrapper.cyan {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
}
.stat-icon-wrapper.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
}
.stat-icon-wrapper.red {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
}
.stat-icon-wrapper.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-number.green-text {
  color: var(--accent-green);
}
.stat-number.emerald-text {
  color: #34D399;
}

.stat-footer {
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.bullet-dot.cyan { background: var(--accent-cyan); }
.bullet-dot.green { background: var(--accent-green); }
.bullet-dot.red { background: var(--accent-red); }

.balance-footer {
  justify-content: space-between;
}

.btn-micro-topup {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-micro-topup:hover {
  background: rgba(16, 185, 129, 0.25);
}

/* ==================== DISTRIBUTION BAR ==================== */
.distribution-bar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}

.dist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
}

.dist-title {
  color: var(--accent-cyan);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dist-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.legend-dot.green { background: var(--accent-green); }
.legend-dot.yellow { background: var(--accent-yellow); }
.legend-dot.red { background: var(--accent-red); }
.legend-dot.gray { background: #475569; }

.progress-track {
  height: 8px;
  background: #1E293B;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
}

.progress-bar-segment {
  height: 100%;
  transition: width 0.4s ease;
}
.progress-bar-segment.green { background: var(--accent-green); box-shadow: 0 0 10px var(--accent-green); }
.progress-bar-segment.yellow { background: var(--accent-yellow); }
.progress-bar-segment.red { background: var(--accent-red); }
.progress-bar-segment.gray { background: #64748B; }

/* ==================== TABLE CONTROLS ==================== */
.table-controls-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
}

.search-box {
  flex: 1;
  min-width: 220px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  font-size: 13px;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 9px 36px 9px 38px;
  color: #FFF;
  font-size: 13px;
  font-family: var(--font-main);
  outline: none;
  transition: var(--transition);
}
.search-box input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.15);
}

.btn-clear-search {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
}

.filter-tabs {
  display: flex;
  background: var(--bg-input);
  padding: 3px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.filter-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.filter-tab:hover {
  color: #FFF;
}
.filter-tab.active {
  background: #1E293B;
  color: #FFF;
}

.tab-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 5px;
  border-radius: 10px;
  font-size: 10px;
}

.product-pills {
  display: flex;
  gap: 4px;
}

.prod-pill {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  transition: var(--transition);
}
.prod-pill:hover {
  border-color: var(--text-dim);
  color: #FFF;
}
.prod-pill.active {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.sort-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sort-label {
  font-size: 12px;
  color: var(--text-muted);
}
.custom-select {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: #FFF;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius-md);
  outline: none;
  cursor: pointer;
}
.custom-select:focus {
  border-color: var(--accent-cyan);
}

/* Batch Action Bar */
.batch-action-bar {
  background: linear-gradient(90deg, #1E293B, #0F172A);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideDown 0.2s ease;
}
.batch-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
  font-size: 13px;
}
.batch-btns {
  display: flex;
  gap: 8px;
}

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

/* ==================== DATA TABLE ==================== */
.table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.data-table th {
  background: #0D131F;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: var(--transition);
}
.data-table tbody tr:hover {
  background: var(--bg-card-hover);
}

/* Table Checkbox */
.custom-checkbox {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  gap: 8px;
}
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  height: 16px;
  width: 16px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  display: inline-block;
  position: relative;
  transition: var(--transition);
}
.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--accent-cyan);
}
.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* User Cell */
.user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-avatar-tag {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #FFF;
  flex-shrink: 0;
}
.user-meta-info {
  display: flex;
  flex-direction: column;
}
.user-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.user-name-text {
  font-weight: 700;
  font-size: 13px;
  color: #FFF;
  font-family: var(--font-mono);
}
.btn-copy-mini {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 11px;
  padding: 2px 4px;
  transition: var(--transition);
}
.btn-copy-mini:hover {
  color: var(--accent-cyan);
}
.user-subtext {
  font-size: 11px;
  color: var(--text-dim);
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.status-badge.active {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.status-badge.expired {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.status-badge.paused {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-yellow);
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.status-badge.banned {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
  border: 1px solid #EF4444;
}

/* Duration Cell */
.duration-pill-display {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}
.duration-pill-display.expired-dur {
  color: #F87171;
  background: rgba(239, 68, 68, 0.1);
}

/* Product Access Badges */
.product-tag {
  display: inline-block;
  background: #1E293B;
  color: #E2E8F0;
  border: 1px solid #334155;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.product-tag.v2 {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
  color: #C084FC;
}
.product-tag.ffmax {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
  color: #FBBF24;
}

/* HWID Cell */
.hwid-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.hwid-auto {
  font-style: italic;
  color: var(--text-dim);
}

/* Table Actions Cell */
.action-cell-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-table-action {
  background: #161F30;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-table-action:hover {
  background: #202D45;
  color: #FFF;
}
.btn-table-action.btn-quick-extend {
  color: var(--accent-cyan);
  border-color: rgba(0, 229, 255, 0.3);
}
.btn-table-action.btn-quick-extend:hover {
  background: rgba(0, 229, 255, 0.15);
}
.btn-table-action.btn-delete-row {
  color: #F87171;
}
.btn-table-action.btn-delete-row:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: var(--accent-red);
}

/* Table Footer / Pagination */
.table-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.pagination-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-page {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.btn-page:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.btn-page:not(:disabled):hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ==================== PORTAL CARDS & GRIDS ==================== */
.portal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.portal-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #FFF;
}
.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.credits-plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.calc-result-box {
  background: #0B0E17;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.calc-total {
  font-size: 18px;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.payment-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #0B0E17;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}
.crypto-icon {
  font-size: 28px;
  color: #F7931A;
}
.discord-icon {
  font-size: 28px;
  color: #5865F2;
}
.pm-info {
  flex: 1;
}
.pm-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #FFF;
}
.pm-info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Discord Settings Navigation Tabs */
.discord-settings-nav-tabs {
  display: flex;
  gap: 8px;
  background: rgba(14, 20, 32, 0.7);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  width: fit-content;
}
.settings-nav-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.settings-nav-tab:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}
.settings-nav-tab.active {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

/* Discord Bot Layout Grid */
.discord-bot-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}
@media (max-width: 1024px) {
  .discord-bot-layout-grid {
    grid-template-columns: 1fr;
  }
}

.discord-bot-card {
  background: linear-gradient(180deg, #111827 0%, #0d121f 100%);
  border: 1px solid rgba(88, 101, 242, 0.25);
  border-radius: 16px;
  padding: 24px;
}
.bot-card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 18px;
}
.bot-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bot-title-icon {
  font-size: 32px;
  color: #5865F2;
  background: rgba(88, 101, 242, 0.15);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(88, 101, 242, 0.3);
}
.bot-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
}
.bot-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.bot-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bot-status-badge.online {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(5, 150, 105, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34D399;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.bot-status-badge.offline {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.14) 0%, rgba(185, 28, 28, 0.08) 100%);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #F87171;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: botStatusRadar 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  flex-shrink: 0;
}

@keyframes botStatusRadar {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 currentColor; }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px transparent; }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 transparent; }
}

.label-muted {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.btn-save-bot-config {
  width: 100%;
  padding: 14px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
  transition: all 0.2s ease;
}
.btn-save-bot-config:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  filter: brightness(1.1);
}

/* Right Checklist Card */
.discord-checklist-card {
  background: linear-gradient(180deg, #111827 0%, #0d121f 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
}
.checklist-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.checklist-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.checklist-step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.step-badge {
  background: #5865F2;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
}
.step-content p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}
.step-content code {
  background: rgba(88, 101, 242, 0.2);
  color: #a5b4fc;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* Code Snippet Card */
.code-doc-card {
  padding: 0;
  overflow: hidden;
}
.code-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: #0B0E17;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  font-weight: 600;
}
.btn-copy-code {
  background: #1E293B;
  border: 1px solid var(--border-color);
  color: #FFF;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}
.code-block {
  padding: 20px;
  background: #080B11;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: #E2E8F0;
  overflow-x: auto;
  max-height: 550px;
}

/* ==================== FORMS & INPUTS ==================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 4px;
}
.form-group .req {
  color: #EF4444;
  font-weight: 800;
}
.form-group .hint {
  font-size: 11px;
  color: var(--text-dim);
}

.custom-input,
.custom-select {
  width: 100%;
  height: 44px;
  background: #090E18 !important;
  border: 1px solid #1E283D !important;
  border-radius: 10px !important;
  padding: 0 14px !important;
  color: #FFFFFF !important;
  font-size: 13.5px !important;
  font-family: var(--font-main) !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.custom-input:focus,
.custom-select:focus {
  border-color: #00E5FF !important;
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.16), 0 0 16px rgba(0, 229, 255, 0.2) !important;
  background: #0C1322 !important;
}

.custom-input::placeholder {
  color: #475569;
  font-size: 13px;
}

.custom-input.small {
  padding: 6px 10px;
  font-size: 12px;
  width: 120px;
  height: 34px;
}

.custom-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  color: #FFF;
  font-size: 12px;
  outline: none;
  resize: vertical;
}

.input-with-actions,
.input-with-btn {
  display: flex;
  align-items: center;
  gap: 8px;
}
.input-with-actions input,
.input-with-btn input {
  flex: 1;
}
.btn-input-action {
  background: #1E293B;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.btn-input-action:hover {
  color: #FFF;
  border-color: var(--accent-cyan);
}

.duration-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.duration-pill {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}
.duration-pill:hover {
  border-color: var(--text-dim);
  color: #FFF;
}
.duration-pill.active {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.custom-duration-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.small-label {
  font-size: 12px;
  color: var(--text-muted);
}

.checkbox-group-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.bulk-preview-box {
  background: #0B0E17;
  border: 1px dashed var(--border-color);
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
}
.preview-label {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.user-creator-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: #00E5FF;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.12);
  text-transform: none;
}
.user-creator-badge i {
  font-size: 9.5px;
  color: #00E5FF;
}

/* ==================== DROPDOWNS ==================== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none !important;
  position: absolute !important;
  right: 0 !important;
  top: calc(100% + 4px) !important;
  background: #0E1526 !important;
  border: 1px solid rgba(0, 229, 255, 0.25) !important;
  min-width: 175px !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 229, 255, 0.12) !important;
  z-index: 9999 !important;
  padding: 6px 0 !important;
  overflow: hidden !important;
}

.dropdown.show .dropdown-content {
  display: flex !important;
  flex-direction: column !important;
  animation: dropFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

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

.dropdown-content a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 14px !important;
  color: #E2E8F0 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.15s ease !important;
}

.dropdown-content a:hover {
  background: rgba(0, 229, 255, 0.12) !important;
  color: #00E5FF !important;
  padding-left: 17px !important;
}

.dropdown-content a i {
  font-size: 13px !important;
  width: 16px !important;
  text-align: center !important;
}

.dropdown-content a.text-red {
  color: #F87171 !important;
}

.dropdown-content a.text-red:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #EF4444 !important;
}

/* ==================== MODALS ==================== */
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(4, 7, 14, 0.86) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 99999 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 20px !important;
}
.modal-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.modal-card {
  background: linear-gradient(180deg, #101726 0%, #0B101D 100%);
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: 18px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 229, 255, 0.1);
  overflow: hidden;
  transform: scale(0.96) translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-card.modal-sm {
  max-width: 440px;
}
.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

/* ==================== SUBSCRIPTION MODAL (SCREENSHOT MATCHED) ==================== */
.subscription-modal-card {
  max-width: 580px;
  background: #0D111A;
  border: 1px solid #1E2738;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 229, 255, 0.08);
}

.modal-title-bold {
  font-size: 19px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.3px;
}

.subscription-modal-body {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.label-with-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.label-with-action label {
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 700;
  color: #E2E8F0;
}
.btn-link-action {
  background: transparent;
  border: none;
  color: var(--accent-cyan);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: var(--transition);
}
.btn-link-action:hover {
  color: #FFF;
  text-shadow: 0 0 8px var(--accent-cyan);
}
.text-11 {
  font-size: 11px;
}

/* Duration Grid (9 Pills) */
.duration-grid-9 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.dur-card {
  background: #121824;
  border: 1px solid #1F293D;
  border-radius: 10px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.dur-card:hover {
  border-color: #384A6E;
  background: #172030;
}

.dur-name {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}
.dur-price {
  font-size: 11px;
  font-weight: 700;
  color: #10B981;
}

/* Active State (White Background with bold black text, exactly as in screenshot) */
.dur-card.active {
  background: #FFFFFF !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}
.dur-card.active .dur-name {
  color: #000000 !important;
  font-weight: 800;
}
.dur-card.active .dur-price {
  color: #000000 !important;
  font-weight: 800;
}

/* Packages 3-Grid */
.packages-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.package-card {
  background: #111722;
  border: 1px solid #1E283A;
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.package-card:hover {
  border-color: #384A6E;
  transform: translateY(-2px);
}

.pkg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.pkg-title {
  font-size: 12px;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pkg-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.pkg-badge.basic {
  background: rgba(59, 130, 246, 0.2);
  color: #60A5FA;
}
.pkg-badge.popular {
  background: rgba(168, 85, 247, 0.25);
  color: #C084FC;
}
.pkg-badge.vip {
  background: rgba(245, 158, 11, 0.25);
  color: #FBBF24;
}

.pkg-desc {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.3;
  margin-bottom: 8px;
}

.pkg-footer {
  font-size: 11px;
  font-weight: 700;
  margin-top: auto;
}
.pkg-lock {
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pkg-selected {
  color: #C084FC;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
}

/* Active Package Card (Purple Glowing Border & Gradient Background) */
.package-card.active {
  background: linear-gradient(180deg, #1C152B 0%, #13101E 100%) !important;
  border: 1.5px solid #A855F7 !important;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}
.package-card.active .pkg-title {
  color: #F3E8FF;
}

/* Creation Cost Summary Box */
.creation-cost-summary-box {
  background: #080C14;
  border: 1px solid #192233;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.summary-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #94A3B8;
}
.cost-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.summary-bottom-row {
  font-size: 12px;
  font-weight: 600;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}
.text-white {
  color: #FFFFFF;
  font-family: var(--font-mono);
}

/* Subscription Modal Footer */
.subscription-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 26px;
  background: #0A0E17;
  border-top: 1px solid #1E2738;
}

.btn-cancel-modal {
  background: #171F2E;
  border: 1px solid #28354A;
  color: #E2E8F0;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-cancel-modal:hover {
  background: #202C40;
  color: #FFF;
}

.btn-create-subscription {
  background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
  border: 1px solid #4A5568;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-create-subscription:hover {
  background: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
  border-color: #00E5FF;
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.4);
  transform: translateY(-1px);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: rgba(13, 19, 33, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.modal-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.modal-title-box i {
  font-size: 18px;
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}
.modal-title-box h3 {
  font-size: 17px;
  font-weight: 700;
  color: #FFF;
  margin: 0;
  letter-spacing: -0.3px;
}
.btn-modal-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-modal-close:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: #EF4444;
  color: #EF4444;
  transform: rotate(90deg);
}

.modal-body {
  padding: 24px;
  max-height: 72vh;
  overflow-y: auto;
}
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(8, 12, 22, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.rates-table th, .rates-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

/* ==================== TOAST NOTIFICATIONS ==================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}
.toast {
  background: #131B2C;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: #FFF;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  min-width: 280px;
  max-width: 420px;
  animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.success {
  border-color: var(--accent-green);
  border-left-width: 4px;
}
.toast.success i { color: var(--accent-green); }
.toast.error {
  border-color: var(--accent-red);
  border-left-width: 4px;
}
.toast.error i { color: var(--accent-red); }
.toast.info {
  border-color: var(--accent-cyan);
  border-left-width: 4px;
}
.toast.info i { color: var(--accent-cyan); }

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

/* Table Loader */
.table-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  color: var(--accent-cyan);
  font-size: 14px;
}

/* Footer */
.app-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
}
.footer-powered {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-cyan);
}
.powered-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

/* ==================== BUY CREDITS & PLANS (EXACT SCREENSHOT STYLES) ==================== */

/* Hero Balance Card */
.buy-credits-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(13, 22, 38, 0.9), rgba(9, 14, 26, 0.95));
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.05);
  flex-wrap: wrap;
  gap: 20px;
}

.hero-left-balance {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.hero-label-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.hero-username-badge {
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--accent-cyan);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
}

.hero-balance-val {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-top: 2px;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.hero-right-action {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.exchange-rate-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
}

.btn-direct-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  border: none;
  color: #FFF;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-direct-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Section Header */
.package-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.sec-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #FFF;
}

.sec-subtitle-hint {
  font-size: 12px;
}

/* 4 Package Cards Grid */
.reseller-packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1280px) {
  .reseller-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .reseller-packages-grid {
    grid-template-columns: 1fr;
  }
}

.package-plan-card {
  background: rgba(13, 20, 36, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}
.package-plan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.package-plan-card.selected {
  border-color: var(--accent-cyan);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.08) 0%, rgba(13, 20, 36, 0.95) 100%);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.15), inset 0 0 15px rgba(0, 229, 255, 0.05);
}

.plan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.plan-type-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.plan-type-badge.cyan {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}
.plan-type-badge.purple {
  background: rgba(168, 85, 247, 0.15);
  color: #C084FC;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.plan-type-badge.gold {
  background: rgba(234, 179, 8, 0.15);
  color: var(--accent-yellow);
  border: 1px solid rgba(234, 179, 8, 0.3);
}
.plan-type-badge.blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.plan-selected-pill {
  background: #FFF;
  color: #0A0F1D;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.plan-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.plan-title-row h3 {
  font-size: 15px;
  font-weight: 700;
  color: #FFF;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.plan-usd-val {
  font-size: 26px;
  font-weight: 800;
  color: #FFF;
  font-family: var(--font-mono);
}
.plan-bdt-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-yellow);
  font-family: var(--font-mono);
}

.plan-desc-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 14px;
  min-height: 34px;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-main);
  flex-grow: 1;
}
.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.plan-features-list li i {
  font-size: 11px;
  margin-top: 2px;
}

.plan-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.plan-credits-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.btn-plan-order {
  background: #19243B;
  border: 1px solid var(--border-color);
  color: #FFF;
  font-size: 11px;
  font-weight: 800;
  padding: 7px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-plan-order:hover,
.btn-plan-order.glow-cyan {
  background: linear-gradient(135deg, #00E5FF, #0072FF);
  border-color: #00E5FF;
  color: #0A0F1D;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

/* Section 2: Custom Top-Up Card */
.custom-topup-card {
  background: linear-gradient(180deg, rgba(234, 179, 8, 0.04) 0%, rgba(13, 20, 36, 0.95) 100%);
  border: 1px solid rgba(234, 179, 8, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(234, 179, 8, 0.05);
}

.custom-topup-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.topup-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.topup-header-titles {
  flex: 1;
  min-width: 260px;
}

.topup-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.tag-gold-star {
  background: rgba(234, 179, 8, 0.2);
  color: var(--accent-yellow);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(234, 179, 8, 0.4);
}
.tag-rate-pill {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.tag-min-pill {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.topup-main-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFF;
  margin: 0 0 4px 0;
}
.topup-main-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.btn-topup-header-order {
  background: #1B2438;
  border: 1px solid var(--border-color);
  color: #FFF;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-topup-header-order:hover {
  background: var(--accent-yellow);
  color: #0A0F1D;
}

/* Quick Presets Grid */
.presets-section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--accent-yellow);
}

.quick-presets-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
@media (max-width: 1024px) {
  .quick-presets-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .quick-presets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.preset-box {
  background: #0D1527;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}
.preset-box:hover, .preset-box.active {
  border-color: var(--accent-yellow);
  background: rgba(234, 179, 8, 0.08);
  transform: translateY(-2px);
}
.preset-credits {
  font-size: 13px;
  font-weight: 700;
  color: #FFF;
}
.preset-usd {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-green);
  margin-top: 2px;
}
.preset-bdt {
  font-size: 10px;
  color: var(--text-dim);
}

/* Slider Controls */
.slider-control-section {
  background: #0B1120;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.slider-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.slider-value-pill {
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: var(--accent-yellow);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}

.custom-gold-slider {
  width: 100%;
  accent-color: #EAB308;
  height: 6px;
  background: #1F293D;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.slider-markers-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 4px;
}

.stepper-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.btn-stepper {
  width: 32px;
  height: 32px;
  background: #182238;
  border: 1px solid var(--border-color);
  color: #FFF;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.btn-stepper:hover {
  background: #23314F;
  border-color: var(--accent-yellow);
}
.stepper-input-box {
  display: flex;
  align-items: center;
  background: #0E1628;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0 10px;
  height: 32px;
}
.stepper-input-box input {
  width: 50px;
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  outline: none;
}
.stepper-unit {
  font-size: 11px;
  color: var(--text-dim);
}

/* Custom Selection Summary Bar (Bottom Green container) */
.custom-selection-summary-bar {
  background: linear-gradient(90deg, #063C2D 0%, #08291F 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.summary-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.check-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #10B981;
  color: #06281E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
}
.summary-qty-info {
  display: flex;
  flex-direction: column;
}
.summary-qty-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
}
.summary-qty-val {
  font-size: 18px;
  font-weight: 800;
  color: #FFF;
}

.summary-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.summary-price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.summary-price-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
}
.summary-price-vals {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.summary-usd {
  font-size: 20px;
  font-weight: 800;
  color: #34D399;
}
.summary-bdt {
  font-size: 13px;
  color: var(--accent-yellow);
}

.btn-summary-order {
  background: linear-gradient(135deg, #10B981, #059669);
  border: none;
  color: #06281E;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  transition: var(--transition);
}
.btn-summary-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

/* Selected Plan Bottom Bar */
.selected-plan-banner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.08) 0%, rgba(13, 20, 36, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 16px 22px;
  flex-wrap: wrap;
  gap: 16px;
}

.plan-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.banner-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.banner-text h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 2px 0 0 0;
  color: #FFF;
}

.btn-banner-order {
  background: linear-gradient(135deg, #00E5FF, #0072FF);
  border: none;
  color: #0A0F1D;
  font-size: 12px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.35);
  transition: var(--transition);
}
.btn-banner-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.5);
}

/* History Table */
.method-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.method-badge.binance {
  background: rgba(234, 179, 8, 0.12);
  color: var(--accent-yellow);
  border: 1px solid rgba(234, 179, 8, 0.3);
}

/* ==================== CHECKOUT & PAYMENT MODAL (EXACT SCREENSHOT) ==================== */
.modal-checkout-card {
  max-width: 680px;
  width: 95%;
  background: #0E1626;
  border: 1px solid rgba(0, 229, 255, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 229, 255, 0.1);
  border-radius: var(--radius-lg);
}

.checkout-modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 16px 22px;
}

.checkout-modal-body {
  padding: 20px 22px;
}

.checkout-field-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

/* Top Summary Hero in Checkout */
.checkout-summary-hero {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.08) 0%, rgba(13, 20, 36, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-hero-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-hero-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-hero-badge {
  background: rgba(0, 229, 255, 0.18);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--accent-cyan);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  font-family: var(--font-mono);
}

.plan-hero-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFF;
}

.plan-hero-subtag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-dim);
}

.summary-hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero-usd-val {
  font-size: 20px;
  font-weight: 800;
}

.hero-bdt-val {
  font-size: 13px;
  font-weight: 700;
}

/* Payment Method Cards Grid (3 exact cards) */
.payment-method-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 600px) {
  .payment-method-cards-grid {
    grid-template-columns: 1fr;
  }
}

.pay-method-card {
  background: #0B1120;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
}
.pay-method-card:hover {
  background: #111A30;
  border-color: rgba(234, 179, 8, 0.4);
}
.pay-method-card.active {
  background: rgba(234, 179, 8, 0.08);
  border-color: #EAB308;
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.2);
}

.pay-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.pay-card-icon.binance {
  background: rgba(234, 179, 8, 0.15);
  color: #EAB308;
}
.pay-card-icon.bkash {
  background: rgba(236, 72, 153, 0.15);
  color: #EC4899;
}
.pay-card-icon.nagad {
  background: rgba(249, 115, 22, 0.15);
  color: #F97316;
}

.pay-card-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pay-card-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pay-card-title {
  font-size: 11px;
  font-weight: 800;
  color: #FFF;
  white-space: nowrap;
}

.pay-active-pill {
  background: #EAB308;
  color: #0A0F1D;
  font-size: 8px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 4px;
}

.pay-card-sub {
  font-size: 10px;
  margin-top: 1px;
  white-space: nowrap;
}

/* Payment Active Details Card (QR Code on Left, Info on Right) */
.payment-active-details-card {
  background: #090F1C;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
}

@media (max-width: 640px) {
  .payment-active-details-card {
    grid-template-columns: 1fr;
  }
}

.qr-code-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #0D1527;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px;
}

.qr-top-badge {
  background: rgba(234, 179, 8, 0.15);
  color: var(--accent-yellow);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.qr-image-wrapper {
  background: #FFF;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-image-wrapper img {
  width: 140px;
  height: 140px;
  display: block;
}

.qr-number-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #060B16;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
}

.btn-qr-action {
  background: transparent;
  border: none;
  color: var(--accent-cyan);
  cursor: pointer;
  padding: 2px 4px;
}
.btn-qr-action:hover {
  color: #FFF;
}

.qr-sub-status {
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Receiver Info Box */
.receiver-info-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.receiver-type-label {
  font-size: 12px;
  font-weight: 800;
  color: #FFF;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.verified-badge {
  font-size: 10px;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

.receiver-input-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #050914;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 14px;
}

.receiver-val-text {
  font-size: 16px;
  font-weight: 800;
  color: #FFF;
  letter-spacing: 0.5px;
}

.btn-copy-receiver {
  background: #141E34;
  border: 1px solid var(--border-color);
  color: #FFF;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-copy-receiver:hover {
  background: var(--accent-cyan);
  color: #0A0F1D;
}

.receiver-secondary-row {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-mini-copy {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 2px 4px;
}
.btn-mini-copy:hover {
  color: var(--accent-cyan);
}

.payable-highlight-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.payable-row {
  font-size: 12px;
  display: flex;
  align-items: baseline;
}

.payable-instruction-text {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
}

.checkout-input {
  background: #070D1A;
}

/* Modal Footer in Checkout */
.checkout-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding: 16px 22px;
}

.btn-checkout-cancel {
  background: #151C2C;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.checkout-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-checkout-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  border: none;
  color: #FFF;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-checkout-submit {
  background: linear-gradient(135deg, #00E5FF, #0072FF);
  border: none;
  color: #0A0F1D;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
  transition: var(--transition);
}
.btn-checkout-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.6);
}

/* Helper utility classes */
.text-cyan { color: var(--accent-cyan); }
.text-green { color: var(--accent-green); }
.text-yellow { color: var(--accent-yellow); }
.text-red { color: var(--accent-red); }
.text-pink { color: #EC4899; }
.text-purple { color: #A855F7; }
.green-text { color: var(--accent-green); }
.font-mono { font-family: var(--font-mono); }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.ms-1 { margin-left: 4px; }
.ms-2 { margin-left: 8px; }

/* Responsive */
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .discord-bot-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .sidebar {
    position: fixed;
    left: -290px;
    transition: left 0.3s ease;
  }
  .sidebar.open {
    left: 0;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .bot-features-list {
    grid-template-columns: 1fr;
  }
  .main-content {
    padding: 16px;
  }
}

/* ==================== LABEL WITH ACTION BUTTONS ==================== */
.label-with-action {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 6px !important;
}

.label-with-action label {
  margin-bottom: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #E2E8F0 !important;
}

.btn-link-action {
  background: rgba(0, 229, 255, 0.08) !important;
  border: 1px solid rgba(0, 229, 255, 0.25) !important;
  color: var(--accent-cyan) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  font-family: var(--font-main) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  cursor: pointer !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
}

.btn-link-action:hover {
  background: rgba(0, 229, 255, 0.2) !important;
  border-color: var(--accent-cyan) !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.35) !important;
  transform: translateY(-1px) !important;
}

.btn-link-action i {
  font-size: 10px !important;
}

/* ==================== INPUT WITH ACTION BUTTONS ==================== */
.input-with-action,
.input-with-actions {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.input-with-action .custom-input,
.input-with-actions .custom-input {
  width: 100% !important;
  padding-right: 44px !important;
}

.input-with-action .btn-input-action,
.input-with-actions .btn-input-action {
  position: absolute !important;
  right: 6px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: rgba(0, 229, 255, 0.12) !important;
  border: 1px solid rgba(0, 229, 255, 0.3) !important;
  color: var(--accent-cyan) !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  z-index: 5 !important;
}

.input-with-action .btn-input-action:hover,
.input-with-actions .btn-input-action:hover {
  background: var(--accent-cyan) !important;
  color: #07090E !important;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.6) !important;
}

/* ==================== DISCORD BOT VIEW THEMED STYLES ==================== */
.discord-bot-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
}

.discord-bot-card {
  background: #0D121F;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.bot-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bot-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bot-title-icon {
  font-size: 28px;
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.bot-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 4px 0;
}

.bot-desc {
  font-size: 13px;
  color: #94A3B8;
  margin: 0;
}



.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.btn-save-bot-config {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #00C6FF, #0072FF);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 114, 255, 0.4);
  transition: all 0.25s ease;
}

.btn-save-bot-config:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 229, 255, 0.5);
  border-color: #00E5FF;
}

.discord-checklist-card {
  background: #0D121F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
}

.checklist-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}

.checklist-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.checklist-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checklist-step-item {
  display: flex;
  gap: 12px;
}

.step-badge {
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: #00E5FF;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 13px;
  font-weight: 600;
  color: #E2E8F0;
  margin: 0 0 4px 0;
}

.step-content p {
  font-size: 12px;
  color: #94A3B8;
  margin: 0;
  line-height: 1.4;
}

.step-content code {
  background: rgba(0, 229, 255, 0.1);
  color: #00E5FF;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}

