@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #07090e;
  --bg-secondary: #0a0d14;
  --bg-sidebar: transparent;
  --bg-card: rgba(8, 12, 20, 0.52);
  --bg-card-inner: rgba(5, 8, 14, 0.42);
  --bg-pill: rgba(14, 19, 30, 0.60);
  --bg-input: rgba(6, 8, 13, 0.70);
  
  --border-color: rgba(255, 255, 255, 0.07);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-focus: #3b82f6;

  --accent-purple: #8b5cf6;
  --accent-purple-gradient: linear-gradient(90deg, #6366f1, #a855f7);
  --accent-orange-gradient: linear-gradient(90deg, #ea580c, #f97316);
  --accent-create-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #f97316 100%);
  --accent-blue: #2563eb;
  --accent-cyan: #00d2ff;
  --accent-green: #10b981;
  --accent-red: #ef4444;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-mono-dim: #475569;

  --sidebar-w: 240px;
  --topbar-h: 65px;
  --radius-lg: 14px;
  --radius-md: 8px;
  --radius-pill: 30px;

  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #03050a;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* ============================================================
   AUTH / LOGIN PAGE STYLES
   ============================================================ */

.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: #05070a;
}

.video-bg-wrap {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: #03050a;
}

.youtube-bg-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

@media (min-aspect-ratio: 16/9) {
  .youtube-bg-container {
    height: 56.25vw;
  }
}

@media (max-aspect-ratio: 16/9) {
  .youtube-bg-container {
    width: 177.78vh;
  }
}

.youtube-bg-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
  transform: scale(1.18);
  filter: brightness(0.55) contrast(1.15) saturate(1.1);
}

.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.1);
  transform: scale(1.02);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(10, 14, 23, 0.45) 0%, rgba(5, 7, 10, 0.90) 100%);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.ambient-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.auth-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  padding: 20px;
  animation: floatUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes floatUp {
  0% { opacity: 0; transform: translateY(25px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-card {
  background: rgba(6, 9, 16, 0.40);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(99, 102, 241, 0.50);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.75), 0 0 60px rgba(99,102,241,0.08), inset 0 1px 0 rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
}

.auth-top-toggle {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.admin-active-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #93c5fd;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.auth-logo-wrap {
  text-align: center;
  margin-bottom: 12px;
}

.auth-logo-img {
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.4));
  image-rendering: -webkit-optimize-contrast;
}

.auth-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 8px auto 22px;
  padding: 4px 14px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fca5a5;
  width: fit-content;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap i {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  font-size: 15px;
  pointer-events: none;
}

.auth-input {
  width: 100%;
  background: rgba(10, 15, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px 12px 42px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
}

.auth-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(15, 22, 35, 0.95);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

.btn-auth-submit {
  width: 100%;
  margin-top: 8px;
  padding: 13px 20px;
  background: #ffffff;
  color: #080c14;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-auth-submit:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
}

.server-status-pill {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.status-dot-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
}

.auth-alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sound-toggle-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 100;
  background: rgba(12, 17, 27, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(37, 99, 235, 0.15);
}

.sound-toggle-btn:hover {
  background: rgba(37, 99, 235, 0.25);
  border-color: rgba(37, 99, 235, 0.5);
  transform: scale(1.08);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(37, 99, 235, 0.3);
}

.sound-toggle-btn i {
  font-size: 18px;
  color: var(--text-main);
}

/* ============================================================
   APP SHELL / SIDEBAR (EXACT MATCH SCREENSHOT 2)
   ============================================================ */

.app-wrapper {
  display: flex;
  min-height: 100vh;
}

.app-sidebar {
  width: var(--sidebar-w);
  background: rgba(4, 6, 11, 0.12);
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
}

.sidebar-header {
  padding: 24px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.logo-link {
  text-decoration: none;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sidebar-logo-img {
  max-width: 260px;
  max-height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0, 210, 255, 0.35));
}

.logo-text-artx {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #00d2ff, #3b82f6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.4));
}

.sidebar-version {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 2px;
  margin-top: 6px;
  text-transform: uppercase;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Accordion Nav Sections */
.nav-section {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #3b82f6;
  cursor: pointer;
  border-radius: 6px;
  user-select: none;
  transition: var(--transition);
}

.nav-section-header:hover {
  background: rgba(59, 130, 246, 0.08);
}

.nav-section-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-section-badge {
  background: #1e3a8a;
  color: #93c5fd;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
}

.section-chevron {
  font-size: 9px;
  color: #60a5fa;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  max-height: 2000px;
  opacity: 1;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.nav-section.collapsed .nav-list {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.nav-section.collapsed .section-chevron {
  transform: rotate(-90deg);
}

.nav-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-item a i {
  font-size: 14px;
  width: 18px;
  text-align: center;
  color: var(--text-dim);
}

.nav-item a:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.nav-item.active a {
  background: #0ea5e9;
  color: #ffffff;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(14, 165, 233, 0.45);
}

.nav-item.active a i {
  color: #ffffff;
}

.chat-counter-badge {
  margin-left: auto;
  color: var(--accent-green);
  font-size: 11px;
  font-weight: 700;
}

/* Sidebar Footer (Profile Box) */
.sidebar-footer {
  padding: 14px;
  border-top: 1px solid var(--border-subtle);
  background: transparent;
}

.user-profile-box {
  background: rgba(10, 14, 22, 0.18);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  margin-bottom: 12px;
}

.user-profile-name {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.user-profile-role {
  font-size: 11px;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-top: 2px;
}

.user-profile-role.owner-role {
  color: #fbbf24;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.profile-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.circle-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 1px solid var(--border-color);
  background: #11141c;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.circle-action-btn.red { background: rgba(239, 68, 68, 0.12); color: #f87171; border-color: rgba(239, 68, 68, 0.25); }
.circle-action-btn.gold { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border-color: rgba(245, 158, 11, 0.25); }
.circle-action-btn.blue { background: rgba(37, 99, 235, 0.12); color: #60a5fa; border-color: rgba(37, 99, 235, 0.25); }

.circle-action-btn:hover {
  transform: scale(1.08);
}

.designed-by-tag {
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
}

.dev-author-name {
  background: linear-gradient(135deg, #00d2ff, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  font-size: 12px;
}

/* ============================================================
   MAIN CONTENT AREA & HEADERS
   ============================================================ */

.app-main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.content-header-bar {
  padding: 24px 32px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content-title-wrap h1 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.content-title-wrap p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.header-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-body-inner {
  padding: 0 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ============================================================
   RESELLER CREDIT MANAGEMENT BANNER (SCREENSHOT 2)
   ============================================================ */

.credit-banner-card {
  background: rgba(8, 12, 20, 0.50);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.banner-left-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.banner-lightning-icon {
  font-size: 20px;
  color: #fbbf24;
}

.banner-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.banner-subtitle {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 2px;
}

.badge-balance-green {
  color: var(--accent-green);
  font-weight: 700;
}

.banner-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-banner-redeem {
  background: #151b28;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-banner-redeem i {
  color: #f59e0b;
}

.btn-banner-redeem:hover {
  background: #1c2438;
  color: #fff;
}

.btn-banner-buy {
  background: linear-gradient(90deg, #2563eb, #8b5cf6);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}

.btn-banner-buy:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* ============================================================
   6 STAT CARDS GRID (SCREENSHOT 2)
   ============================================================ */

.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

@media (max-width: 1400px) {
  .dash-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .dash-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-card {
  background: rgba(8, 12, 20, 0.55);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 4px;
}

.stat-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.stat-icon-box.cyan { background: rgba(0, 210, 255, 0.1); color: #00d2ff; }
.stat-icon-box.green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.stat-icon-box.orange { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.stat-icon-box.purple { background: rgba(139, 92, 246, 0.1); color: #a855f7; }
.stat-icon-box.red { background: rgba(239, 68, 68, 0.1); color: #f43f5e; }
.stat-icon-box.teal { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }

.stat-sublink {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #38bdf8;
  text-decoration: none;
  margin-top: 4px;
}

.stat-sublink:hover {
  text-decoration: underline;
}

/* ============================================================
   RECENT SECTIONS (TWO COLS)
   ============================================================ */

.dash-two-cols-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 900px) {
  .dash-two-cols-grid {
    grid-template-columns: 1fr;
  }
}

.dark-section-card {
  background: rgba(8, 12, 20, 0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.section-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.section-card-link {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition);
}

.section-card-link:hover {
  color: #fff;
}

.section-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recent-item-row {
  background: rgba(6, 9, 16, 0.45);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recent-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.recent-item-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.recent-item-icon-box.cyan { background: rgba(0, 210, 255, 0.1); color: #00d2ff; }
.recent-item-icon-box.orange { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

.recent-item-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.recent-item-version {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
}

.status-pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
}

.status-pill.active {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-pill.unused {
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ============================================================
   BUTTONS & ACTIONS (KEYAUTH / ZYROX STYLE)
   ============================================================ */

button {
  font-family: inherit;
  cursor: pointer;
}

.btn-pill-action {
  background: #151824;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-pill-action:hover {
  background: #1e2333;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.btn-purple-gradient,
.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #7c3aed 100%);
  color: #ffffff !important;
  border: none;
  border-radius: var(--radius-pill);
  padding: 7px 20px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.45);
  text-decoration: none;
}

.btn-purple-gradient:hover,
.btn-primary:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.65);
}

.btn-gradient-glow {
  background: var(--accent-create-gradient);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.35);
  text-decoration: none;
}

.btn-gradient-glow:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-orange-glow {
  background: #ea580c;
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 12px rgba(234, 88, 12, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-orange-glow:hover {
  background: #f97316;
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.65);
}

.btn-outline-pill {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-outline-pill.red {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}
.btn-outline-pill.red:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.btn-outline-pill.green {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}
.btn-outline-pill.green:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
}

.btn-icon-sm {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
}

.btn-icon-sm:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Row Action Buttons in Tables */
.table-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.mini-action-pill {
  background: transparent !important;
  border: none !important;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease, background 0.15s ease;
  text-decoration: none;
  line-height: 1;
}

.mini-action-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06) !important;
}

.mini-action-pill.red {
  color: #ef4444;
}
.mini-action-pill.red:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.12) !important;
}

.mini-action-pill.green {
  color: #10b981;
}
.mini-action-pill.green:hover {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12) !important;
}

.mini-action-pill.orange {
  color: #fbbf24;
}
.mini-action-pill.orange:hover {
  color: #fde047;
  background: rgba(245, 158, 11, 0.12) !important;
}

.mini-action-pill.cyan {
  color: #38bdf8;
}
.mini-action-pill.cyan:hover {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12) !important;
}

/* ============================================================
   TOOLBAR & FILTER BAR
   ============================================================ */

.panel-toolbar {
  background: #0d111a;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-pill-input {
  background: #080a0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 14px;
  color: #fff;
  font-size: 13px;
  width: 220px;
  transition: var(--transition);
}

.search-pill-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.select-pill {
  background: #080a0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 14px;
  color: #cbd5e1;
  font-size: 13px;
  cursor: pointer;
}

.select-pill:focus {
  outline: none;
  border-color: #3b82f6;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.selected-counter-text {
  font-size: 12px;
  color: #64748b;
  margin-right: 4px;
  font-weight: 500;
}

/* ============================================================
   TABLE STYLING (EXACT KEYAUTH / ZYROX)
   ============================================================ */

.dark-table-card,
.glass-panel {
  background: #0b0e17;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.exact-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.exact-table th,
.data-table th {
  padding: 13px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
}

.exact-table td,
.data-table td {
  padding: 15px 18px;
  font-size: 13px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.025);
  vertical-align: middle;
}

.exact-table tr:hover td,
.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

.exact-table input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #6366f1;
  cursor: pointer;
  border-radius: 3px;
}

.key-code-text,
.code-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: #38bdf8;
  letter-spacing: 0.4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
  background: transparent;
  border: none;
}

.key-code-text:hover,
.code-badge:hover {
  color: #7dd3fc;
}

.key-code-sub {
  font-size: 11px;
  color: #475569;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.capsule-badge,
.badge-status {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.capsule-badge.unused,
.badge-status.unused {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.capsule-badge.active,
.badge-status.active {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.capsule-badge.banned,
.badge-status.banned {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.capsule-badge.dark,
.badge-status.dark {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.22);
  font-family: 'JetBrains Mono', monospace;
}

.table-pagination-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  font-size: 12px;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(0, 0, 0, 0.15);
}

.standard-input {
  width: 100%;
  background: #080a0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 13.5px;
  font-family: inherit;
  transition: var(--transition);
}

.standard-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
}

.form-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ============================================================
   CLIENTS CARD GRID
   ============================================================ */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.client-box-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
}

.client-box-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.client-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.client-card-userinfo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.client-avatar-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #171c26;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text-muted);
}

.client-username {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.client-meta-field {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.client-meta-label {
  color: var(--text-dim);
}

.client-meta-val {
  color: #e2e8f0;
  font-family: 'JetBrains Mono', monospace;
}

.client-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

/* ============================================================
   MODALS (EXACT SCREENSHOT 1 "NEW CLIENT" STYLE)
   ============================================================ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-exact-client {
  max-width: 460px;
  background: #11141c;
  border: 1px solid #1f2738;
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.95) translateY(10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-card {
  width: 100%;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.btn-modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-modal-close:hover {
  color: #fff;
}

.modal-form-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group-exact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label-exact {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.input-exact-dark, .select-exact-dark {
  width: 100%;
  background: #080a0f;
  border: 1px solid #1c2436;
  border-radius: 8px;
  padding: 11px 14px;
  color: #ffffff;
  font-size: 13.5px;
  font-family: inherit;
  transition: var(--transition);
}

.input-exact-dark:focus, .select-exact-dark:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.2);
}

.modal-row-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

.btn-modal-cancel {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-modal-cancel:hover {
  color: #ffffff;
}

.btn-modal-create-client {
  background: var(--accent-create-gradient);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
}

.btn-modal-create-client:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* ============================================================
   TOASTS
   ============================================================ */

/* ============================================================
   ABOUT PROJECT — MACOS TERMINAL (EXACT MATCH PICTURE 2)
   ============================================================ */

.btn-pill-action {
  background: #0f1422;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: inherit;
}

.btn-pill-action:hover {
  background: #182032;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.btn-purple-gradient {
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: #ffffff;
  border: none;
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 14px rgba(139, 92, 246, 0.45);
  font-family: inherit;
}

.btn-purple-gradient:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.65);
}

.macos-terminal-window {
  background: #060910;
  border: 1px solid #151d2d;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 1px rgba(255, 255, 255, 0.1);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  margin-bottom: 24px;
}

.terminal-titlebar {
  background: #0a0e18;
  border-bottom: 1px solid #141c2c;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.mac-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.mac-dot.red { background: #ff5f56; border: 1px solid #e0443e; }
.mac-dot.yellow { background: #ffbd2e; border: 1px solid #dea123; }
.mac-dot.green { background: #27c93f; border: 1px solid #1aab29; }

.terminal-path {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-path .git-branch {
  color: #a855f7;
  font-weight: 600;
}

.mini-action-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 4px 10px;
  color: #cbd5e1;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.mini-action-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.terminal-tabs-bar {
  background: #080c14;
  border-bottom: 1px solid #141c2c;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
}

.term-tab {
  padding: 9px 16px;
  font-size: 12px;
  color: #64748b;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.term-tab:hover {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.02);
}

.term-tab.active {
  color: #38bdf8;
  background: #0d121f;
  border-bottom-color: #38bdf8;
  font-weight: 600;
}

.terminal-body {
  padding: 22px 24px 30px;
  color: #f1f5f9;
  font-size: 12.5px;
  line-height: 1.6;
}

.term-last-login {
  font-size: 11.5px;
  color: #475569;
  margin-bottom: 16px;
}

.terminal-hero-box {
  background: #080c16;
  border: 1px solid #141c2d;
  border-radius: 8px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 1200px) {
  .terminal-hero-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.ascii-art-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ascii-banner-art {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.15;
  color: #00d2ff;
  text-shadow: 0 0 15px rgba(0, 210, 255, 0.45);
  font-weight: 700;
  white-space: pre;
}

.ascii-subtext {
  font-size: 11px;
  color: #64748b;
  margin-top: 8px;
  text-align: center;
  letter-spacing: 0.5px;
}

.terminal-specs-table {
  display: grid;
  grid-template-columns: 130px 1fr;
  row-gap: 7px;
  column-gap: 16px;
  font-size: 12px;
}

.spec-key {
  color: #f59e0b;
  font-weight: 600;
  white-space: nowrap;
}

.spec-val {
  color: #cbd5e1;
}

.spec-val.spec-highlight-blue {
  color: #38bdf8;
  font-weight: 700;
}

.spec-val.spec-highlight-green {
  color: #22c55e;
  font-weight: 700;
}

.term-prompt-line {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt-arrow { color: #22c55e; font-weight: 800; }
.prompt-dir { color: #38bdf8; font-weight: 700; }
.prompt-branch { color: #a855f7; }
.prompt-cmd { color: #f8fafc; font-weight: 600; }

.term-doc-card {
  background: #080c16;
  border: 1px solid #141c2d;
  border-radius: 8px;
  padding: 20px 22px;
}

.term-doc-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.term-doc-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 8px;
}

.term-feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

@media (max-width: 900px) {
  .term-feature-cards {
    grid-template-columns: 1fr;
  }
}

.term-feature-card {
  background: #0c111e;
  border: 1px solid #182238;
  border-radius: 6px;
  padding: 12px 14px;
}

.term-feat-header {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.term-feat-text {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

/* Interactive shell inside tab */
.interactive-term-window {
  background: #04060a;
  border: 1px solid #141c2d;
  border-radius: 8px;
  padding: 16px;
  font-size: 12px;
  min-height: 250px;
}
.shell-output {
  color: #cbd5e1;
  white-space: pre-wrap;
  margin-bottom: 12px;
  line-height: 1.5;
}
.shell-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.shell-input-field {
  background: transparent;
  border: none;
  outline: none;
  color: #38bdf8;
  font-family: inherit;
  font-size: 12px;
  flex: 1;
}

/* ============================================================
   PREMIUM GLOBAL PAGE ENTRY ANIMATIONS & STAGGERED CASCADES
   ============================================================ */

@keyframes pageHeaderDrop {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sectionCascadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cardPopIn {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  70% {
    transform: translateY(-2px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes buttonPopIn {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(8px);
  }
  60% {
    transform: scale(1.05) translateY(-1px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes modalBackdropFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes modalPopUp {
  0% {
    opacity: 0;
    transform: scale(0.88) translateY(24px);
  }
  70% {
    transform: scale(1.02) translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes glowShineSweep {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

/* Apply Header Entrance */
.content-header-bar {
  animation: pageHeaderDrop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Apply Cascade to Content Children */
.content-body-inner > *:nth-child(1) { animation: sectionCascadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both; }
.content-body-inner > *:nth-child(2) { animation: sectionCascadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both; }
.content-body-inner > *:nth-child(3) { animation: sectionCascadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both; }
.content-body-inner > *:nth-child(4) { animation: sectionCascadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both; }
.content-body-inner > *:nth-child(5) { animation: sectionCascadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both; }

/* Stat Cards Staggered Pop */
.dash-stats-grid .stat-card:nth-child(1) { animation: cardPopIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both; }
.dash-stats-grid .stat-card:nth-child(2) { animation: cardPopIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both; }
.dash-stats-grid .stat-card:nth-child(3) { animation: cardPopIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.20s both; }
.dash-stats-grid .stat-card:nth-child(4) { animation: cardPopIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.26s both; }
.dash-stats-grid .stat-card:nth-child(5) { animation: cardPopIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both; }
.dash-stats-grid .stat-card:nth-child(6) { animation: cardPopIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both; }

/* Buttons & Action Controls Entrance */
.header-actions-group button,
.header-actions-group a,
.banner-actions-group button,
.banner-actions-group a,
.btn-banner-buy,
.btn-banner-redeem,
.btn-pill-action,
.btn-purple-gradient,
.create-action-btn,
.btn-action {
  animation: buttonPopIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ============================================================
   COOL TAP & HOVER ANIMATION FOR ALL BUTTONS & CARDS
   ============================================================ */

button, 
.btn-pill-action, 
.btn-purple-gradient, 
.btn-banner-buy, 
.btn-banner-redeem, 
.circle-action-btn, 
.mini-action-pill,
.term-tab,
.nav-item a,
.stat-card,
.btn-auth-submit,
.btn-modal-create-client {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.22s ease, 
              border-color 0.22s ease, 
              background 0.22s ease, 
              filter 0.22s ease !important;
}

/* Tap / Active Press Effect */
button:active, 
.btn-pill-action:active, 
.btn-purple-gradient:active, 
.btn-banner-buy:active, 
.btn-banner-redeem:active, 
.circle-action-btn:active, 
.mini-action-pill:active,
.term-tab:active,
.nav-item a:active,
.btn-auth-submit:active,
.btn-modal-create-client:active {
  transform: scale(0.94) translateY(1px) !important;
  filter: brightness(1.2) !important;
}

/* Hover Elevation & Glow */
.btn-banner-buy:hover,
.btn-purple-gradient:hover,
.btn-modal-create-client:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-pill-action:hover,
.btn-banner-redeem:hover,
.mini-action-pill:hover {
  transform: translateY(-1px);
}

/* Shimmer Light Sweep on Hover */
.btn-banner-buy::before,
.btn-purple-gradient::before,
.btn-modal-create-client::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  transition: none;
}

.btn-banner-buy:hover::before,
.btn-purple-gradient:hover::before,
.btn-modal-create-client:hover::before {
  animation: glowShineSweep 0.75s ease-in-out;
}

/* ============================================================
   NEON RIPPLE EFFECT (SPAWNED ON TAP / CLICK)
   ============================================================ */

.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.6) 0%, rgba(139, 92, 246, 0.3) 60%, transparent 80%);
  transform: scale(0);
  animation: rippleAnimation 0.65s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
  pointer-events: none;
  z-index: 100;
}

@keyframes rippleAnimation {
  0% {
    transform: scale(0);
    opacity: 0.9;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* ============================================================
   COOL MODAL DIALOG POP ANIMATIONS
   ============================================================ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.82);
  backdrop-filter: blur(10px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop.active {
  display: flex;
  opacity: 1;
  animation: modalBackdropFadeIn 0.25s ease forwards;
}

.modal-backdrop.active .modal-dialog-card,
.modal-backdrop.active .modal-content-exact,
.modal-backdrop.active .modal-box {
  animation: modalPopUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}



/* ============================================================
   COOL ANIMATED TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
  pointer-events: none;
}

.toast-message {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 4px solid var(--accent-purple);
  border-radius: 8px;
  padding: 16px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.2);
  transform: translateX(120%) scale(0.9);
  opacity: 0;
  animation: slideInToast 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.toast-message.success {
  border-left-color: var(--accent-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.2);
}

.toast-message.danger {
  border-left-color: var(--accent-red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(239, 68, 68, 0.2);
}

.toast-message.warning {
  border-left-color: #f59e0b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.2);
}

.toast-message.hiding {
  animation: slideOutToast 0.4s cubic-bezier(0.36, 0, 0.66, -0.56) forwards;
}

@keyframes slideInToast {
  0% { transform: translateX(120%) scale(0.9); opacity: 0; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes slideOutToast {
  0% { transform: translateX(0) scale(1); opacity: 1; }
  100% { transform: translateX(120%) scale(0.9); opacity: 0; }
}


