:root {
  --bg-dark: #666874;
  --bg-panel: #282930;
  --border-color: rgba(255, 255, 255, 0.1);
  --text-main: #ffffff;
  --text-muted: #c4ced6;
  --primary-accent: #6b21a8;
  /* purple */
  --primary-gradient: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
  --button-hover: rgba(255, 255, 255, 0.15);

  --shadow-glow: 0 0 20px rgba(168, 85, 247, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  padding-top: 80px;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(107, 33, 168, 0.15), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.15), transparent 25%);
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.glass-panel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;

  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-panel);
}

.nav-toggle {
  display: none;
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.95rem;
  color: #ffffffff !important;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(107, 33, 168, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-success {
  background: linear-gradient(to right, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-pink {
  background: linear-gradient(to right, #ec4899, #be185d);
  color: white;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.btn-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

.btn-purple {
  background: linear-gradient(to right, #a855f7, #7c3aed);
  color: white;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  background: var(--button-hover);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.4);
}

/* Typography & Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  flex: 1;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Margins & Paddings */
.m-0 {
  margin: 0 !important;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.ml-1 {
  margin-left: 0.5rem;
}

.ml-2 {
  margin-left: 1rem;
}


/*
Source - https://stackoverflow.com/a/10415275
Posted by jdw, modified by community. See post 'Timeline' for change history
Retrieved 2026-04-27, License - CC BY-SA 4.0
*/

input[type=checkbox] {
  /* Double-sized Checkboxes */
  -ms-transform: scale(1.2);
  /* IE */
  -moz-transform: scale(1.2);
  /* FF */
  -webkit-transform: scale(1.2);
  /* Safari and Chrome */
  -o-transform: scale(1.2);
  /* Opera */
  transform: scale(1.2);
  padding: 10px;

}


/* Might want to wrap a span around your checkbox text */
.mr-1 {
  /* Checkbox text */
  font-size: 11%;
  display: inline;
  margin-right: 1rem;
}

.mr-2 {
  margin-right: 1rem;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.p-3 {
  padding: 1.5rem;
}

.p-4 {
  padding: 2rem;
}

.p-5 {
  padding: 3rem;
}

.py-1 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.px-1 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-2 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-3 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Positioning & Layout Utilities */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-400 {
  max-width: 400px;
}

.w-100 {
  width: 100% !important;
}

.d-none {
  display: none !important;
}

.d-inline {
  display: inline !important;
}

.d-block {
  display: block !important;
}

.max-w-520 {
  max-width: 520px;
}

.break-all {
  word-break: break-all;
}

.flex-1 {
  flex: 1;
}

.min-w-200 {
  min-width: 200px;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.bg-white-05 {
  background: rgba(255, 255, 255, 0.05);
}

/* Borders */
.border-0 {
  border: 0 !important;
}

.border-dashed {
  border: 1px dashed var(--border-color);
}

.rounded-lg {
  border-radius: 12px !important;
}

.border-warning {
  border-color: rgba(245, 158, 11, 0.4) !important;
}

.border-success {
  border-color: rgba(74, 222, 128, 0.4) !important;
}

/* Buttons Extra */
.bg-gradient-primary {
  background: var(--primary-gradient) !important;
}

/* Payment History Components */
.ph-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s;
}

.ph-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.ph-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ph-badge {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}

.ph-badge-success {
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
}

.ph-amount {
  font-size: 1.15rem;
  font-weight: 700;
  color: #4ade80;
}

.ph-items {
  padding: 0.8rem 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.ph-pagination {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.ph-pagination a,
.ph-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.ph-pagination a {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ph-pagination a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ph-pagination span.active {
  background: #6d28d9;
  color: #fff;
  border: 1px solid #6d28d9;
}

/* Support Ticket Bubbles */
.staff-bubble {
  background: rgba(168, 85, 247, 0.05);
  border-left: 4px solid #4ade80;
}

.user-bubble {
  margin-left: 3rem;
  border-left: 4px solid #64748b;
}

@media (max-width: 768px) {
  .user-bubble {
    margin-left: 1rem !important;
  }

  .support-bubble {
    padding: 1.25rem !important;
  }
}

.ticket-closed-notice {
  margin-top: 3rem;
  color: var(--text-muted);
  padding: 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  text-align: center;
}

/* Service Configure Panels */
.service-panel-mail {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.1);
}

.service-panel-bio {
  background: rgba(236, 72, 153, 0.05);
  border: 1px solid rgba(236, 72, 153, 0.1);
}

.service-panel-hosting {
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.1);
}

.text-warning-bright {
  color: #f59e0b !important;
}

.text-pink-bright {
  color: #ec4899 !important;
}

.text-purple-bright {
  color: #a855f7 !important;
}

.bg-pink-light {
  background: rgba(236, 72, 153, 0.1) !important;
}

.border-pink {
  border-color: rgba(236, 72, 153, 0.4) !important;
}

.border-top-success {
  border-top: 4px solid #4ade80;
}

.max-w-600 {
  max-width: 600px;
}

.h-50 {
  height: 50px;
}

.input-separator {
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: none;
  border-right: none;
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-weight: bold;
}

/* Bio card */
.bio-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.bio-card-active {
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.bio-card-inactive {
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.bio-icon {
  width: 48px;
  height: 48px;
  background: rgba(236, 72, 153, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.badge-active-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-inactive-pill {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Divider */
.divider-top {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

/* Referral / Info Panels */
.info-panel {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.min-w-250 {
  min-width: 250px;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Misc */
.lh-relaxed {
  line-height: 1.6;
}

.break-word {
  overflow-wrap: break-word;
}

.text-slate {
  color: #cbd5e1;
}

.text-blue {
  color: #60a5fa !important;
}

.text-purple {
  color: #a855f7 !important;
}

.text-pink {
  color: #ec4899 !important;
}

.text-info {
  color: #60a5fa !important;
}

.text-white {
  color: #fff !important;
}

.fs-xl {
  font-size: 1.1rem;
}

.fs-3xl {
  font-size: 3rem;
}

.max-w-250 {
  max-width: 250px;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.bg-purple {
  background: #6b21a8 !important;
}

.bg-gray {
  background: #6b7280 !important;
}

.bg-success {
  background: #10b981 !important;
}

.bg-danger {
  background: #ef4444 !important;
}

.bg-warning {
  background: #f59e0b !important;
}

.bg-info {
  background: #3b82f6 !important;
}

.bg-purple-light {
  background: rgba(168, 85, 247, 0.15) !important;
}

.bg-gray-light {
  background: rgba(107, 114, 128, 0.15) !important;
}

.bg-success-light {
  background: rgba(16, 185, 129, 0.1) !important;
}

.bg-danger-light {
  background: rgba(239, 68, 68, 0.1) !important;
}

.bg-warning-light {
  background: rgba(249, 115, 22, 0.05) !important;
}

.bg-info-light {
  background: rgba(59, 130, 246, 0.05) !important;
}

.btn-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0.85rem;
}

.btn-disabled {
  pointer-events: none;
  filter: grayscale(1);
  opacity: 0.5;
}

/* Components */
.cart-badge {
  padding: 2px 6px;
  background: #ef4444;
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  margin-left: 5px;
}

.expiry-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-left: 6px;
}

.expiry-expired {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.expiry-urgent {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
}

.expiry-warning {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
}

.bg-gradient-purple {
  background: linear-gradient(135deg, #6366f1, #a855f7) !important;
}

.hero-title {
  font-size: 3rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  transition: opacity 0.5s ease;
}

.hero-subtitle {
  max-width: 600px;
  margin: 1rem auto;
}

.feature-grid>div {
  flex: 1;
}

/* Loading Overlay */
.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1.5rem;
}

@keyframes loadingSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes loadingPulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.loading-overlay .loading-spinner {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: #a855f7;
  border-right-color: #3b82f6;
  border-radius: 50%;
  animation: loadingSpin 0.8s linear infinite;
}

.loading-overlay .loading-text {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  animation: loadingPulse 1.5s ease-in-out infinite;
}

.loading-overlay .loading-subtext {
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  margin-top: -0.5rem;
}

/* Support Notification Toast */
.support-toast {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
  width: 320px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  z-index: 99999;
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-direction: row;
  gap: 15px;
  align-items: center;
}

.support-toast-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  color: #a855f7;
}

.support-toast-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  top: 8px;
  right: 12px;
  padding: 0;
}

/* Flexbox */
.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: flex-start;
}

.align-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

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

.justify-end {
  justify-content: flex-end;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

/* Typography Helpers */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.fw-800 {
  font-weight: 800;
}

.fs-sm {
  font-size: 0.85rem;
}

.fs-xs {
  font-size: 0.75rem;
}

.fs-lg {
  font-size: 1.2rem;
}

.fs-xl {
  font-size: 1.5rem;
}

/* Colors */
.text-white {
  color: #fff !important;
}

.text-primary {
  color: #3b82f6 !important;
}

.text-success {
  color: #10b981 !important;
}

.text-danger {
  color: #ef4444 !important;
}

.text-warning {
  color: #f59e0b !important;
}

.text-info {
  color: #0ea5e9 !important;
}

.text-purple {
  color: #fffeff !important;
}

.text-pink {
  color: #ec4899 !important;
}

/* Backgrounds */
.bg-danger-light {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.bg-success-light {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.bg-warning-light {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.bg-info-light {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.bg-purple-light {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

/* Search Bar */
.search-wrapper {
  display: flex;
  margin: 2rem auto;
  max-width: 600px;
  position: relative;
}

.search-wrapper .form-control {
  border-radius: 50px 0 0 50px;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
}

.search-wrapper .domain-ext {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-left: none;
  padding: 0 1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
}

.search-wrapper .btn {
  border-radius: 0 50px 50px 0;
  padding: 1rem 2rem;
  margin-left: -1px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Table */
.modern-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.modern-table th,
.modern-table td {
  padding: 1rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.modern-table th {
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.modern-table tr:last-child td {
  border-bottom: none;
}

/* Badges */
.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-active {
  background: #064e3b;
  color: #4ade80;
}

.badge-suspended {
  background: #7f1d1d;
  color: #f87171;
}

/* Premium Framed Alerts */
.alert {
  padding: 1.1rem 1.4rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.98rem;
  line-height: 1.5;
  border: 1px solid transparent;
  background: #282930;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.4s ease-out forwards;
  word-break: break-word;
}

.alert::before {
  font-size: 1.6rem;
  flex-shrink: 0;
  display: block;
}

.alert-success {
  background: #064e3b;
  border: 1.5px solid #10b981;
  color: #fff;
}

.alert-success::before {
  content: "\2705";
}

.alert-error {
  background: #7f1d1d;
  border: 1.5px solid #ef4444;
  color: #fff;
}

.alert-error::before {
  content: "\26A0";
}

.alert-info {
  background: #1e3a8a;
  border: 1.5px solid #3b82f6;
  color: #fff;
}

.alert-info::before {
  content: "\2139";
}

.alert-warning {
  background: #78350f;
  border: 1.5px solid #f59e0b;
  color: #fff;
}

.alert-warning::before {
  content: "\1f4a1";
}

.alert-title {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}


.footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

/* Tabs System */
.tab-container {
  margin-bottom: 2rem;
}

.tab-header {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.tab-btn {
  padding: 1rem 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
  white-space: nowrap;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  color: #a855f7;
  border-bottom-color: #a855f7;
  background: rgba(168, 85, 247, 0.05);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.tab-content.active {
  display: block;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .4s;
  border-radius: 34px;
  border: 1px solid var(--border-color);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
  background-color: #a855f7;
  border-color: #a855f7;
}

input:focus+.slider {
  box-shadow: 0 0 1px #a855f7;
}

input:checked+.slider:before {
  transform: translateX(24px);
}

/* Status Pulse */
.pulse-green {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 2rem;
}

/* Premium Stat Cards */
.stat-card {
  padding: 1.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--accent-color, #a855f7);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent);
  pointer-events: none;
}

.stat-card:hover {
  background: var(--bg-panel);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
}

.stat-card .label {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-card .value {
  font-size: 2.25rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-card .icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.05);
}

/* Sidebar Refinement */
.side-nav {
  list-style: none;
  padding: 0;
}

.side-nav li {
  margin-bottom: 0.5rem;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.side-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.side-nav li.active a {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.side-nav i {
  font-size: 1.1rem;
}

/* Utility to hide/show details */
.detail-row {
  transition: all 0.3s ease;
}

/* ================================================================
   DASHBOARD LAYOUT SYSTEM
   Professional two-column layout with sticky sidebar
   ================================================================ */

.dashboard-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}

.dashboard-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: none;
}

.dashboard-sidebar::-webkit-scrollbar {
  display: none;
}

.dashboard-content {
  flex: 1;
  min-width: 0;
  width: calc(100% - 280px - 2rem);
}

/* ================================================================
   PAGE HEADER — reusable top bar for every dashboard sub-page
   ================================================================ */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-header h2 {
  margin: 0;
}

.page-header .subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ================================================================
   RESPONSIVE TABLES
   ================================================================ */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
  border-radius: 12px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.table-responsive::-webkit-scrollbar {
  display: none;
}

/* ================================================================
   ACTION BUTTON ROW — consistent icon buttons across all pages
   ================================================================ */
.action-btn {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0.85rem;
}

/* ================================================================
   MOBILE RESPONSIVE BREAKPOINTS
   ================================================================ */

/* Tablet */
@media (max-width: 992px) {
  .container {
    padding: 1.5rem;
  }

  .dashboard-sidebar {
    width: 240px;
  }

  .dashboard-content {
    width: calc(100% - 240px - 2rem);
  }
}

/* Mobile */
@media (max-width: 768px) {
  body {
    padding-top: 0;
  }

  .container {
    padding: 1rem;
  }

  /* Generic flex stacking */
  .flex {
    flex-direction: column;
  }

  .gap-4 {
    gap: 1rem;
  }

  /* Navbar */
  .navbar {
    position: relative;
    padding: 1rem 5%;
  }

  /* Dashboard layout → vertical stack */
  .dashboard-layout {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .dashboard-sidebar {
    width: 100% !important;
    position: static !important;
    max-height: none !important;
    overflow-y: visible !important;
  }

  .dashboard-content {
    width: 100% !important;
  }

  /* Sidebar collapses into horizontal scroll on mobile */
  .dashboard-sidebar .side-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .dashboard-sidebar .side-nav li {
    margin-bottom: 0;
  }

  .dashboard-sidebar .side-nav a {
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
    white-space: nowrap;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    gap: 6px;
  }

  .dashboard-sidebar .side-nav li.active a {
    border-color: rgba(168, 85, 247, 0.4);
  }

  /* Hide user avatar section on mobile to save space */
  .dashboard-sidebar>div:first-child {
    display: none !important;
  }

  /* Hide section labels on mobile */
  .dashboard-sidebar .nav-section-label {
    display: none !important;
  }

  /* Tab Header Scrolling */
  .tab-header {
    overflow-x: auto !important;
    white-space: nowrap !important;
    display: flex !important;
    padding: 0.5rem !important;
  }

  .tab-btn {
    flex: 0 0 auto !important;
    min-width: 120px;
    padding: 0.75rem 1rem !important;
  }

  /* Mobile Menu Toggle */
  .nav-toggle {
    display: block !important;
    cursor: pointer;
    padding: 10px;
  }

  .nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 17, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    gap: 1.5rem;
    max-height: calc(100vh - 56px);
    /* Fix for scrolling */
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    margin: 0;
    font-size: 1.1rem;
    width: 100%;
    padding: 0.5rem 0;
  }

  /* Search bar */
  .search-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .search-wrapper .form-control {
    flex: 1;
    width: auto !important;
  }

  .search-wrapper .domain-ext {
    width: 110px !important;
    flex: none;
  }

  .search-wrapper .btn {
    width: 100% !important;
  }

  .search-wrapper .form-control,
  .search-wrapper .domain-ext,
  .search-wrapper .btn {
    border-radius: 8px !important;
    border: 1px solid var(--border-color) !important;
    justify-content: center;
    height: 50px !important;
    margin: 0 !important;
  }

  /* Stat grid */
  .stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Glass panel padding */
  .glass-panel {
    padding: 1.25rem !important;
  }

  /* Professional Global Flex & Inline Form Patch */
  form[style*="display: flex"],
  div[style*="display: flex"] {
    flex-wrap: wrap !important;
  }

  /* Normalize button and input widths when forced to wrap in inline forms */
  form[style*="display: flex"]>.form-control,
  form[style*="display: flex"]>select,
  form[style*="display: flex"]>.btn {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0.5rem;
  }

  /* Avoid squishing buttons */
  .btn {
    white-space: normal !important;
    height: auto !important;
    min-height: 42px;
  }

  /* =========================================
       TABLE TO CARD UI TRANSFORMATION
       ========================================= */
  .table-responsive {
    overflow-x: visible !important;
    -webkit-overflow-scrolling: auto;
  }

  table.modern-table,
  table.modern-table tbody {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
  }

  table.modern-table thead {
    display: none;
  }

  table.modern-table tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem;
  }

  table.modern-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
    gap: 1rem;
    flex-wrap: wrap;
  }

  table.modern-table td:last-child {
    border-bottom: none;
    padding-bottom: 0 !important;
    justify-content: flex-end;
    margin-top: 0.5rem;
  }

  table.modern-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    text-align: left;
    letter-spacing: 0.5px;
  }

  /* Admin */
  .admin-nav-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Page header stacks */
  .page-header {
    flex-direction: column;
    align-items: flex-start !important;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem !important;
  }

  h2 {
    font-size: 1.3rem !important;
  }

  .admin-nav-grid {
    grid-template-columns: 1fr !important;
  }

  .stat-grid {
    grid-template-columns: 1fr !important;
  }

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

  .tab-header {
    gap: 5px !important;
  }

  /* Side nav items smaller */
  .dashboard-sidebar .side-nav a {
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
  }
}

/* Landing Page Refinements */
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.5s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.feature-grid {
  display: flex;
  gap: 2rem;
  margin-top: 6rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem !important;
  }

  .hero-subtitle {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
  }

  .feature-grid {
    flex-direction: column !important;
    margin-top: 4rem !important;
  }
}

/* ================================================================
   SUMMERNOTE MODAL STACKING CONTEXT FIX
   .glass-panel uses backdrop-filter: blur() which creates a new
   CSS stacking context, trapping position:fixed children so they
   render near the footer instead of the viewport center.
   After moving modals to <body> via JS, these rules ensure correct
   positioning and z-index above the sticky navbar (z-index:100).
   ================================================================ */
.note-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9998 !important;
  background: rgba(0, 0, 0, 0.65) !important;
}

.note-modal {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 9999 !important;
  margin: 0 !important;
  max-width: 95vw !important;
}

/* ================================================================
   Cart / Checkout Page
   ================================================================ */
.cart-table th {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.cart-empty-state .cart-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.year-select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.year-select option {
  background: #1a1a2e;
}

.price-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.summary-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
}

.summary-row:last-child {
  border-bottom: none;
  font-size: 1.15rem;
  font-weight: 700;
  padding-top: 0.75rem;
}

.summary-row.discount {
  color: #4ade80;
}

.type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.type-domain {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.type-mail {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.type-biolink {
  background: rgba(143, 3, 143, 0.69);
  color: #0ddfb2c4;
}

.type-hosting {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}

.type-shortlink {
  background: rgba(255, 11, 222, 0.89);
  color: #3117c2;
}


.checkout-btn {
  width: 100%;
  padding: 0.9rem;
  font-size: 1.05rem;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 1rem;
}

.cart-force-flex {
  display: flex !important;
  gap: 2rem !important;
  align-items: flex-start !important;
}

.cart-main-panel {
  flex: 1 !important;
  min-width: 0 !important;
}

.cart-force-side {
  width: 350px !important;
  flex-shrink: 0 !important;
}

.coupon-msg-success {
  font-size: 0.82rem;
  color: #4ade80;
  margin-bottom: 1rem;
  padding: 0.5rem 0.75rem;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 6px;
}

.coupon-msg-error {
  font-size: 0.82rem;
  color: #f87171;
  margin-bottom: 1rem;
  padding: 0.5rem 0.75rem;
  background: rgba(248, 113, 113, 0.1);
  border-radius: 6px;
}

@media (max-width: 950px) {
  .cart-force-flex {
    flex-direction: column !important;
  }

  .cart-main-panel {
    width: 100% !important;
    margin-bottom: 2rem !important;
  }

  .cart-force-side {
    width: 100% !important;
  }

  .cart-table th,
  .cart-table td {
    padding: 0.6rem !important;
    font-size: 0.8rem !important;
  }

  .year-select {
    padding: 0.2rem 0.4rem !important;
    font-size: 0.75rem !important;
  }
}

/* Single Checkout Summary */
.checkout-summary {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.checkout-summary-row.total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.checkout-summary-row.discount {
  color: #4ade80;
}

/* ================================================================
   Purchase Success / Provisioning Page
   ================================================================ */
.success-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.setup-card {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.setup-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.setup-list {
  margin-top: 3rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.setup-item {
  background: #1e1f26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.setup-item.active {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.4);
  transform: scale(1.02);
}

.setup-item.complete {
  border-color: rgba(34, 197, 94, 0.4);
}

.setup-item.error {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.05);
}

.item-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #2a2b36;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.item-label {
  font-weight: 600;
  font-size: 1rem;
}

.item-status {
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-waiting {
  background: #334155;
  color: var(--text-muted);
}

.badge-loading {
  background: #1e3a8a;
  color: #60a5fa;
}

.badge-success {
  background: #064e3b;
  color: #4ade80;
}

.badge-failed {
  background: #7f1d1d;
  color: #f87171;
}

.loader-ring {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-top: 2px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.final-message {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
}

#redirect-timer {
  font-weight: 700;
  color: #a855f7;
}

.error-container {
  display: none;
  margin-top: 2rem;
  padding: 1.5rem;
  background: #2d1a1a;
  border: 1px solid #7f1d1d;
  border-radius: 12px;
  text-align: left;
}

.error-heading {
  color: #fca5a5;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.error-text {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
}

.success-icon {
  width: 80px;
  height: 80px;
  font-size: 2.5rem;
  margin: 0 auto 2rem;
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================================================================
   Claim Username Page
   ================================================================ */
.claim-container {
  max-width: 500px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.claim-header {
  text-align: center;
  margin-bottom: 2rem;
}

.claim-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #a855f7, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.claim-box {
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.username-input-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.username-input-group:focus-within {
  border-color: #a855f7;
  background: rgba(168, 85, 247, 0.05);
}

.prefix-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
}

.username-input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  width: 100%;
  padding: 0.5rem;
}

.btn-claim {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  border: none;
  box-shadow: 0 10px 20px -5px rgba(168, 85, 247, 0.5);
}

.btn-claim:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(168, 85, 247, 0.6);
}

/* ================================================================
   Bio Analytics Page
   ================================================================ */
.analytics-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Duplicate removed, handled at line 1430 */

/* Duplicate removed, handled at line 1446 */

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0.5rem 0 0 0;
  background: linear-gradient(to right, #fff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.chart-container {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.links-table-container {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  overflow-x: auto;
}

.links-table {
  width: 100%;
  border-collapse: collapse;
}

.links-table th {
  text-align: left;
  padding: 1rem;
  color: #94a3b8;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.links-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}

.links-table tr:last-child td {
  border-bottom: none;
}

.btn-back {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s;
}

.btn-back:hover {
  background: rgba(255, 255, 255, 0.1);
}

.type-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  text-transform: capitalize;
}

/* ================================================================
   NICE ALERT SYSTEM
   Premium custom modal for alerts and confirmations
   ================================================================ */
.nice-alert-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nice-alert-overlay.active {
  display: flex;
  opacity: 1;
}

.nice-alert-modal {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nice-alert-overlay.active .nice-alert-modal {
  transform: scale(1);
}

.nice-alert-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
  line-height: 1;
}

.nice-alert-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.nice-alert-message {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  word-break: break-word;
}

.nice-alert-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.nice-alert-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  flex: 1;
}

.nice-alert-btn-ok {
  background: linear-gradient(135deg, #a855f7, #7e22ce);
  color: #fff;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.nice-alert-btn-ok:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

.nice-alert-btn-cancel {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nice-alert-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Loading State - Enhanced Premium Look */
.nice-alert-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
  animation: nice-fade-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nice-spinner {
  width: 70px;
  height: 70px;
  border: 4px solid rgba(168, 85, 247, 0.1);
  border-top: 4px solid #a855f7;
  border-right: 4px solid #6366f1;
  border-radius: 50%;
  animation: nice-spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  margin-bottom: 2rem;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.2), inset 0 0 10px rgba(99, 102, 241, 0.1);
  position: relative;
}

.nice-spinner::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(168, 85, 247, 0.05);
  animation: nice-spin 2s linear infinite reverse;
}

@keyframes nice-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes nice-fade-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.nice-alert-loading p {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, #fff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nice-alert-loading span {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  display: block;
  font-weight: 500;
}

/* Themes */
.nice-alert-success .nice-alert-icon {
  color: #10b981;
}

.nice-alert-error .nice-alert-icon {
  color: #ef4444;
}

.nice-alert-warning .nice-alert-icon {
  color: #f59e0b;
}

.nice-alert-info .nice-alert-icon {
  color: #3b82f6;
}