/* ==========================================================================
   TitanX Staff & Reseller Portal — Deep Obsidian & Moving Starfield Theme
   Darker tone (#030206), zero emojis, pure vector icons, no white glares.
   ========================================================================== */

:root {
  --bg: #030206;
  --bg-card: rgba(10, 6, 20, 0.72);
  --border: rgba(139, 92, 246, 0.20);
  --border-focus: rgba(139, 92, 246, 0.60);
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --purple-dark: #6d28d9;
  --purple-text: #ece5fa;
  --dim: #9b90b8;
  --dimmer: #5e5478;
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --emerald: #10b981;
  --emerald-light: #34d399;
  --amber: #f59e0b;
  --red: #ef4444;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* SILENCE ALL WHITE FOCUS RINGS ACROSS ENTIRE APPLICATION */
*:focus, *:focus-visible, *:focus-within, *:active,
button:focus, button:focus-visible, button:active,
input:focus, input:focus-visible, input:active {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

body {
  background: var(--bg);
  color: var(--purple-text);
  font-family: var(--font);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ═══ Moving Canvas Starfield ═══ */
#star-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.orb-hq {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  transform: translate3d(0,0,0);
  animation: orbDrift ease-in-out infinite;
}

@keyframes orbDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(var(--dx, 40px), var(--dy, -30px), 0) scale(var(--sc, 1.1)); }
  66% { transform: translate3d(calc(var(--dx, 40px) * -0.6), calc(var(--dy, -30px) * -0.8), 0) scale(1); }
}

/* ═══ Layout & Navigation ═══ */
.app-container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.12);
  background: rgba(3, 2, 6, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#nav-reseller-api-wrap {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav-api-docs-badge,
#nav-btn-api-docs {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c084fc;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.15);
  user-select: none;
}

.nav-api-docs-badge:hover,
#nav-btn-api-docs:hover {
  background: rgba(139, 92, 246, 0.28) !important;
  border-color: rgba(168, 85, 247, 0.6) !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.35) !important;
  transform: translateY(-1px);
}

.nav-api-docs-badge:active,
#nav-btn-api-docs:active {
  transform: translateY(0);
}

.nav-api-docs-label {
  font-weight: 700;
  color: #f3e8ff;
  letter-spacing: 0.02em;
}

.nav-api-status-divider {
  color: var(--dimmer);
  font-size: 10px;
}

#nav-reseller-api-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: activityPulse 2.2s infinite ease-in-out;
}

#nav-reseller-api-text {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: #34d399;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  background: transparent;
  border: none;
  box-shadow: none;
}

.brand-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--purple-text);
}

.brand-sub {
  font-size: 10px;
  color: var(--dimmer);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.18);
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-text);
}

.role-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.role-support {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.30);
}

.role-reseller {
  background: rgba(139, 92, 246, 0.18);
  color: var(--purple-light);
  border: 1px solid rgba(139, 92, 246, 0.30);
}

/* ═══ Glassmorphism Cards ═══ */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.015) inset,
    0 24px 64px rgba(0, 0, 0, 0.75),
    0 0 45px rgba(76, 29, 149, 0.15);
  border-radius: 18px;
  padding: 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 24px 64px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(139, 92, 246, 0.18);
}

/* ═══ Comet Canvas Loader Hero (Zero contours, no background aura, pure particle comet) ═══ */
.comet-loader-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#comet-canvas {
  position: absolute;
  inset: 0;
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: 2;
}

/* Pure Floating Monogram (Crisp, sharp, no background blob, no box) */
.titan-logo-wrap {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoHoverBreathe 3.5s ease-in-out infinite alternate;
}

.titan-monogram-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  /* Crisp, subtle glow: no giant background muddy aura */
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.4));
  transition: transform 0.25s ease, filter 0.25s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.titan-monogram-img:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 10px rgba(192, 132, 252, 0.65));
}

@keyframes logoHoverBreathe {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(1px); }
}

/* ═══ Inputs ═══ */
.input-group {
  margin-bottom: 16px;
}

.input-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.input-field {
  width: 100%;
  padding: 12px 14px;
  background: rgba(6, 4, 12, 0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--purple-text);
  font-size: 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.input-field:focus {
  border-color: var(--border-focus) !important;
  background: rgba(10, 6, 20, 0.95);
}

.input-field::placeholder {
  color: rgba(148, 130, 185, 0.42);
  font-size: 13px;
  font-family: inherit;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.input-field:focus::placeholder {
  opacity: 0.15;
  transform: translateX(4px);
}

/* Giant Support Input */
.support-giant-input-wrap {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.support-giant-input {
  width: 100%;
  padding: 18px 24px;
  padding-left: 54px;
  background: rgba(10, 6, 20, 0.88);
  border: 1.5px solid rgba(139, 92, 246, 0.30);
  border-radius: 16px;
  color: var(--purple-text);
  font-size: 17px;
  font-family: monospace;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.support-giant-input:focus {
  border-color: var(--purple-light) !important;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.25), 0 8px 32px rgba(0, 0, 0, 0.6) !important;
}

.support-input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--purple-light);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.support-clear-btn {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--dim);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}

.support-clear-btn:hover {
  color: var(--purple-text);
}

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid transparent;
  user-select: none;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 25% 20%, #431687 0%, #29075c 50%, #130233 100%);
  color: #efe8fc;
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 4px 14px rgba(0, 0, 0, 0.5);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 40%,
    rgba(255, 255, 255, 0.09) 50%,
    transparent 60%
  );
  transform: rotate(25deg) translateX(-120%);
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.btn-primary:hover::after {
  transform: rotate(25deg) translateX(120%);
}

.btn-primary:hover {
  filter: brightness(1.2);
  color: #fff;
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.45);
}

.btn-primary:active {
  filter: brightness(0.9);
}

.btn-cyan {
  background: radial-gradient(circle at 25% 20%, #0e7490 0%, #083344 60%, #02121a 100%);
  color: #cffafe;
  border: 1px solid rgba(6, 182, 212, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.btn-cyan:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.btn-amber {
  background: radial-gradient(circle at 25% 20%, #9a3412 0%, #431407 60%, #180502 100%);
  color: #ffedd5;
  border: 1px solid rgba(249, 115, 22, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.btn-amber:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

/* ═══ Intuitive Support Action Buttons ═══ */
.btn-reset-hwid {
  background: radial-gradient(circle at 25% 20%, #047857 0%, #064e3b 60%, #022c22 100%);
  color: #d1fae5;
  border: 1px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 14px rgba(16, 185, 129, 0.18);
  transition: all 0.2s ease;
}

.btn-reset-hwid:hover {
  filter: brightness(1.2);
  border-color: rgba(16, 185, 129, 0.8);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.5);
}

.btn-freeze {
  background: radial-gradient(circle at 25% 20%, #0369a1 0%, #0c4a6e 60%, #082f49 100%);
  color: #e0f2fe;
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 14px rgba(56, 189, 248, 0.2);
  transition: all 0.2s ease;
}

.btn-freeze:hover {
  filter: brightness(1.2);
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.5);
}

.btn-unfreeze {
  background: radial-gradient(circle at 25% 20%, #b45309 0%, #78350f 60%, #451a03 100%);
  color: #fef3c7;
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.btn-unfreeze:hover {
  filter: brightness(1.2);
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.5);
}

.btn-danger {
  background: #ef4444 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35) !important;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-danger:hover {
  background: #dc2626 !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.30) !important;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.45) !important;
}

.btn-danger:active {
  transform: scale(0.98);
}

.btn-warning {
  background: #f59e0b !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-warning:hover {
  background: #d97706 !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.30) !important;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45) !important;
}

.btn-warning:active {
  transform: scale(0.98);
}

.btn-ghost {
  background: rgba(139, 92, 246, 0.05);
  color: var(--dim);
  border: 1px solid rgba(139, 92, 246, 0.12);
}

.btn-ghost:hover {
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple-text);
  border-color: rgba(139, 92, 246, 0.25);
}

/* ═══ Details & Info Cards ═══ */
.key-details-card {
  width: 100%;
  max-width: 720px;
  margin: 20px auto 0;
  animation: slideDown 0.25s ease-out;
}

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

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.30);
}

.status-frozen {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.32);
}

.status-unused {
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple-light);
  border: 1px solid rgba(139, 92, 246, 0.30);
}

.status-expired {
  background: rgba(155, 144, 184, 0.12);
  color: var(--dim);
  border: 1px solid rgba(155, 144, 184, 0.20);
}

.status-banned {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.30);
}

/* ═══ Security Shield Chip ═══ */
.shield-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.16);
  font-size: 11px;
  color: var(--dim);
  margin-top: 24px;
}

.shield-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-light);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ═══ Toast Alerts ═══ */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.2s ease-out;
}

.toast-success {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #d1fae5;
}

.toast-error {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fee2e2;
}

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

/* ═══ Tables ═══ */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th {
  text-align: left;
  padding: 12px 16px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dim);
  background: rgba(139, 92, 246, 0.03);
  border-bottom: 1px solid var(--border);
}

td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.08);
  color: var(--purple-text);
}

tr:hover td {
  background: rgba(139, 92, 246, 0.04);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #231d38;
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════════════ */
/*  ACETERNITY ANIMATED MODAL + LIQUID GLASS STYLING                 */
/* ══════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  perspective: 800px;
  -webkit-perspective: 800px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 10, 0.35) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 460px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

/* ═══ Pure Liquid Glass Modal (Clean Translucent Glass, No Purple Glow/Halo) ═══ */
.modal-liquid-card {
  position: relative;
  width: 100%;
  background: rgba(12, 8, 22, 0.58) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  padding: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 24px 64px rgba(0, 0, 0, 0.85) !important;
  outline: none !important;
  
  /* Aceternity 3D Entrance Spring */
  opacity: 0;
  transform: translateY(40px) scale(0.65) rotateX(32deg);
  transition: transform 0.38s cubic-bezier(0.34, 1.45, 0.64, 1), opacity 0.28s ease;
  overflow: visible;
}

#custom-confirm-modal .modal-liquid-card {
  background: rgba(12, 8, 22, 0.62) !important;
  backdrop-filter: blur(26px) !important;
  -webkit-backdrop-filter: blur(26px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 24px 64px rgba(0, 0, 0, 0.85) !important;
}

/* Active State */
.modal-overlay.modal-active .modal-backdrop {
  opacity: 1;
}

.modal-overlay.modal-active .modal-liquid-card {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
}

/* Closing State */
.modal-overlay.modal-closing .modal-backdrop {
  opacity: 0;
}

.modal-overlay.modal-closing .modal-liquid-card {
  opacity: 0;
  transform: translateY(24px) scale(0.85) rotateX(15deg);
  transition: transform 0.22s ease-in, opacity 0.18s ease-in;
}

/* Close Button (Aceternity style rotate & scale) */
.modal-close-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--dim);
  border-radius: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.modal-close-btn:hover {
  color: #ffffff;
  background: rgba(168, 85, 247, 0.22);
  border-color: rgba(168, 85, 247, 0.45);
  transform: rotate(90deg) scale(1.10);
}

/* Glass Inputs inside Modals */
.modal-liquid-card .input-field {
  background: rgba(8, 5, 18, 0.42) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4) !important;
  color: #ede9fe !important;
}

.modal-liquid-card .input-field:focus {
  border-color: rgba(168, 85, 247, 0.45) !important;
  background: rgba(14, 8, 28, 0.65) !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

/* Format Cards in Export Modal */
.modal-liquid-card .export-format-card {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.modal-liquid-card .export-format-card.is-selected {
  background: rgba(139, 92, 246, 0.14) !important;
  border: 1px solid rgba(168, 85, 247, 0.40) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
}

.modal-liquid-card .export-format-card:not(.is-selected) {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.modal-liquid-card .export-format-card:not(.is-selected):hover {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(168, 85, 247, 0.25) !important;
}

/* ══════════════════════════════════════════════════════════════════ */
/*  CUSTOM LIQUID GLASS DROPDOWN SYSTEM                              */
/* ══════════════════════════════════════════════════════════════════ */
.liquid-select {
  position: relative;
  width: 100%;
}

.liquid-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(6, 4, 12, 0.88);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--purple-text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.liquid-select-trigger:hover {
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(12, 7, 24, 0.95);
}

.liquid-select.is-open .liquid-select-trigger {
  border-color: rgba(168, 85, 247, 0.70);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.30);
  background: rgba(12, 7, 24, 0.98);
}

.liquid-select-chevron {
  color: var(--purple-light);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
  margin-left: 8px;
}

.liquid-select.is-open .liquid-select-chevron {
  transform: rotate(180deg);
}

/* Liquid Glass Dropdown Menu */
.liquid-select-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 70;
  background: rgba(12, 7, 25, 0.96);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 16px 40px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(139, 92, 246, 0.22);
  padding: 6px;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 220px;
  overflow-y: auto;
}

.liquid-select.is-open .liquid-select-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Options */
.liquid-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--purple-text);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  user-select: none;
}

.liquid-option:hover {
  background: rgba(139, 92, 246, 0.20);
  color: #ffffff;
}

.liquid-option.selected {
  background: rgba(139, 92, 246, 0.30);
  color: var(--purple-light);
  font-weight: 600;
}

.liquid-option.selected svg {
  color: var(--purple-light);
  flex-shrink: 0;
  margin-left: 8px;
}

/* ═══ Compact Toolbar Custom Duration Dropdown ═══ */
.custom-duration-dropdown {
  position: relative;
  display: inline-block;
  user-select: none;
}

.custom-duration-dropdown .liquid-select-trigger {
  height: 32px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 8px;
  background: rgba(14, 9, 28, 0.50);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #ded7f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.custom-duration-dropdown .liquid-select-trigger:hover {
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(20, 14, 38, 0.70);
  color: #ffffff;
}

.custom-duration-dropdown.is-open .liquid-select-trigger {
  border-color: rgba(168, 85, 247, 0.65);
  background: rgba(22, 15, 42, 0.90);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.25);
}

.custom-duration-dropdown.is-open .liquid-select-chevron {
  transform: rotate(180deg);
}

.custom-duration-dropdown .liquid-select-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 5px);
  z-index: 100;
  min-width: 145px;
  background: rgba(13, 9, 26, 0.96) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px;
  padding: 5px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 16px 40px rgba(0, 0, 0, 0.85),
    0 0 20px rgba(139, 92, 246, 0.18) !important;
  opacity: 0;
  transform: translateY(-6px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 240px;
  overflow-y: auto;
}

.custom-duration-dropdown.is-open .liquid-select-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.custom-duration-dropdown .liquid-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  color: #d8d0ee;
  cursor: pointer;
  transition: all 0.15s ease;
}

.custom-duration-dropdown .liquid-option:hover {
  background: rgba(139, 92, 246, 0.20);
  color: #ffffff;
}

.custom-duration-dropdown .liquid-option.selected {
  background: rgba(139, 92, 246, 0.32);
  color: #ffffff;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════ */
/*  SUPPORT WORKSPACE CENTERED LAYOUT & ACTIVITY FEED                 */
/* ══════════════════════════════════════════════════════════════════ */
#view-support {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr minmax(auto, 680px) 1fr;
  align-items: center;
  justify-items: center;
  box-sizing: border-box;
  padding: 32px 36px;
  gap: 28px;
}

/* Left Flank: Support Activity Panel (centered in left region, large & spacious) */
.support-activity-panel {
  grid-column: 1;
  justify-self: center;
  align-self: center;
  width: 100%;
  max-width: 380px;
  min-width: 300px;
  margin: 0;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: calc(100vh - 140px);
  min-height: 280px;
  overflow: hidden;
  background: rgba(10, 6, 20, 0.92);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  position: relative;
  z-index: 5;
}

/* Center Column: Support Workspace Input (centered in viewport) */
.support-center-workspace {
  grid-column: 2;
  justify-self: center;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.support-header-clean {
  margin-bottom: 24px;
  text-align: center;
}

/* Right Flank: Symmetric Balance Spacer */
.support-right-spacer {
  grid-column: 3;
  width: 100%;
  max-width: 380px;
  min-width: 300px;
  pointer-events: none;
  visibility: hidden;
}

@media (max-width: 1280px) {
  #view-support {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 36px 20px 80px;
    gap: 32px;
  }
  .support-right-spacer {
    display: none;
  }
  .support-center-workspace {
    order: 1;
  }
  .support-activity-panel {
    order: 2;
    max-width: 680px;
    width: 100%;
  }
}

.support-activity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.14);
  margin-bottom: 14px;
}

.activity-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  display: inline-block;
  animation: activityPulse 2.2s infinite ease-in-out;
}

@keyframes activityPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

.activity-refresh-btn {
  background: transparent;
  border: none;
  color: var(--dim);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, transform 0.25s ease;
}

.activity-refresh-btn:hover {
  color: var(--purple-light);
  transform: rotate(90deg);
}

.support-activity-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.activity-stat-box {
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.14);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.activity-stat-box .stat-number {
  font-size: 16px;
  font-weight: 700;
  color: var(--purple-light);
}

.activity-stat-box .stat-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--dimmer);
  letter-spacing: 0.04em;
  margin-top: 1px;
}

.support-logs-container {
  overflow-y: auto;
  max-height: 320px;
  flex: 1;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.support-logs-container::-webkit-scrollbar {
  width: 4px;
}

.support-logs-container::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.25);
  border-radius: 4px;
}

.support-log-item {
  padding: 10px 12px;
  background: rgba(6, 4, 12, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.support-log-item:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateX(2px);
}

.log-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.log-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.log-badge-reset {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.log-badge-freeze {
  background: rgba(2, 132, 199, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.log-badge-unfreeze {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.log-time {
  font-size: 10px;
  color: var(--dimmer);
}

.log-key-str {
  font-family: monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--purple-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.log-note-text {
  font-size: 10px;
  color: var(--dim);
  line-height: 1.35;
  word-break: break-word;
}

/* ══════════════════════════════════════════════════════════════════ */
/*  RESELLER KEY GENERATOR (ADMIN-ALIGNED STEPPER & DURATION TIERS)   */
/* ══════════════════════════════════════════════════════════════════ */
.dur-pills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 520px) {
  .dur-pills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dur-pill {
  position: relative;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.dur-pill:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
  transform: translateY(-1px);
}

.dur-pill.is-active {
  background: rgba(139, 92, 246, 0.22);
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.dur-pill-name {
  font-size: 13px;
  font-weight: 700;
  color: #f1edfa;
  margin-bottom: 3px;
}

.dur-pill.is-active .dur-pill-name {
  color: #ffffff;
}

.dur-pill-price {
  font-size: 10.5px;
  font-weight: 600;
  color: #34d399;
  letter-spacing: 0.02em;
}

/* Stepper Component */
.count-stepper-wrap {
  display: flex;
  align-items: center;
  background: rgba(8, 5, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
  transition: border-color 0.18s ease;
}

.count-stepper-wrap:focus-within {
  border-color: rgba(168, 85, 247, 0.45);
}

.count-step-btn {
  background: rgba(255, 255, 255, 0.03);
  border: none;
  color: var(--dim);
  font-size: 18px;
  font-weight: 400;
  width: 48px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.count-step-btn:hover {
  background: rgba(139, 92, 246, 0.20);
  color: var(--purple-light);
}

.count-step-btn:active {
  background: rgba(139, 92, 246, 0.32);
}

.count-step-input {
  flex: 1;
  background: transparent;
  border: none;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--purple-light);
  height: 44px;
  outline: none;
  -moz-appearance: textfield;
}

.count-step-input::-webkit-outer-spin-button,
.count-step-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.count-presets-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.count-preset-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(139, 92, 246, 0.16);
  border-radius: 8px;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--dim);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.count-preset-btn:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
  color: var(--purple-light);
}

.count-preset-btn.is-active {
  background: rgba(139, 92, 246, 0.28);
  border-color: rgba(168, 85, 247, 0.60);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.25);
}

/* Modal Footer Summary */
.modal-footer-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
  gap: 12px;
  flex-wrap: wrap;
}

.modal-summary-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--dim);
}

.sum-highlight {
  font-weight: 700;
  color: var(--purple-light);
}

.sum-dot {
  color: var(--dimmer);
  font-weight: 700;
}

.sum-dur {
  color: #ded7f0;
}

.sum-cost {
  color: #34d399;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════════ */
/*  RESELLER HUB STATUS FILTER TABS (All / Active / Unused / Frozen)  */
/* ══════════════════════════════════════════════════════════════════ */
.reseller-status-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(14, 9, 28, 0.40);
  padding: 3px 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.reseller-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dim);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reseller-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.reseller-tab-btn.active {
  color: #fff;
  background: rgba(139, 92, 246, 0.22);
  border-color: rgba(168, 85, 247, 0.40);
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.20);
}

.reseller-tab-count {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--dim);
  transition: all 0.2s ease;
}

.reseller-tab-btn.active .reseller-tab-count {
  background: rgba(168, 85, 247, 0.35);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════════ */
/*  TACTILE CLICK-TO-COPY LICENSE KEY FEEDBACK (ADMINSITE ALIGNED)    */
/* ══════════════════════════════════════════════════════════════════ */
.copyable-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: all;
  border: 1px solid transparent;
}

.copyable-key:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(168, 85, 247, 0.25);
}

.copyable-key .icon-copy {
  opacity: 0.35;
  transition: opacity 0.15s ease;
  color: var(--dim);
  flex-shrink: 0;
}

.copyable-key:hover .icon-copy {
  opacity: 0.95;
  color: var(--purple-light);
}

.copyable-key.is-copied {
  background: rgba(16, 185, 129, 0.18) !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
  color: #34d399 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.copyable-key.is-copied .key-str {
  color: #34d399 !important;
  font-weight: 700;
}

.copyable-key.is-copied .icon-copy {
  display: none !important;
}

.copyable-key.is-copied .icon-check {
  display: inline-block !important;
  color: #34d399 !important;
  flex-shrink: 0;
}

.copyable-key.is-copied .key-copied-badge {
  display: inline-block !important;
  font-size: 10px;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════════ */
/*  RESELLER HUB TOOLBAR, SEARCH & ENHANCED TABLE STYLING             */
/* ══════════════════════════════════════════════════════════════════ */
.reseller-toolbar-wrap .input-field:focus {
  border-color: rgba(168, 85, 247, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

#btn-clear-search:hover {
  color: #fff !important;
}

#btn-reset-filters:hover {
  background: rgba(139, 92, 246, 0.20) !important;
  color: #fff !important;
  border-color: rgba(168, 85, 247, 0.40) !important;
}

#btn-toggle-reveal-api:hover {
  color: var(--purple-light) !important;
}

/* Polished Table Appearance */
.table-wrap table tbody tr {
  transition: background 0.15s ease;
}

.table-wrap table tbody tr:hover {
  background: rgba(139, 92, 246, 0.05);
}

.table-wrap table tbody td {
  padding: 12px 16px;
  vertical-align: middle;
}

/* ══════════════════════════════════════════════════════════════════ */
/*  CUSTOM LIQUID GLASS DROPDOWN (DURATION FILTER)                     */
/* ══════════════════════════════════════════════════════════════════ */
.custom-duration-dropdown {
  position: relative;
  user-select: none;
}

.custom-duration-dropdown .liquid-select-trigger {
  width: 100%;
  height: 32px;
  padding: 0 10px 0 12px;
  background: rgba(11, 6, 22, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 8px;
  color: var(--purple-text);
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.custom-duration-dropdown .liquid-select-trigger:hover {
  background: rgba(18, 10, 38, 0.95);
  border-color: rgba(168, 85, 247, 0.45);
  color: #fff;
}

.custom-duration-dropdown.is-open .liquid-select-trigger {
  background: rgba(18, 10, 38, 0.98);
  border-color: rgba(168, 85, 247, 0.65);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #fff;
}

.custom-duration-dropdown .liquid-select-chevron {
  color: var(--purple-light);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.custom-duration-dropdown.is-open .liquid-select-chevron {
  transform: rotate(180deg);
  color: #fff;
}

.custom-duration-dropdown .liquid-select-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  min-width: 140px;
  background: rgba(11, 6, 24, 0.96);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 12px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 30px rgba(139, 92, 246, 0.2);
  padding: 5px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transition: opacity 0.16s ease, transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.16s;
  pointer-events: none;
}

.custom-duration-dropdown.is-open .liquid-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.custom-duration-dropdown .liquid-option {
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--purple-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.12s ease;
}

.custom-duration-dropdown .liquid-option:hover {
  background: rgba(139, 92, 246, 0.20);
  color: #fff;
}

.custom-duration-dropdown .liquid-option.selected {
  background: rgba(139, 92, 246, 0.28);
  color: #fff;
  font-weight: 700;
}

.custom-duration-dropdown .liquid-option.selected::after {
  content: '✓';
  font-size: 11px;
  color: var(--purple-light);
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════════ */
/*  RESELLER KEYS PAGINATION (10 KEYS PER PAGE)                       */
/* ══════════════════════════════════════════════════════════════════ */
.reseller-pagination-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 28px;
  padding-bottom: 8px;
  width: 100%;
}

.reseller-pagination-info {
  font-size: 12px;
  color: var(--dim);
}

@media (min-width: 640px) {
  .reseller-pagination-info {
    position: absolute;
    left: 4px;
  }
}

.reseller-pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}

.reseller-page-btn {
  height: 32px;
  min-width: 32px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--purple-text);
  outline: none;
}

.reseller-page-btn:hover:not(:disabled) {
  background: rgba(139, 92, 246, 0.20);
  border-color: rgba(168, 85, 247, 0.40);
  color: #fff;
}

.reseller-page-btn.is-active {
  background: #8b5cf6 !important;
  border-color: #a855f7 !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.45);
}

.reseller-page-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  pointer-events: none;
}
