/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
/* ==========================================
   NETIYO — Design System
   Light-First Admin Panel with Dark Mode
   ========================================== */

/* ==========================================
   CSS Custom Properties — LIGHT THEME (Default)
   ========================================== */
:root {
  /* Primary Palette */
  --primary-50: #eef2ff;
  --primary-100: #e0e7ff;
  --primary-200: #c7d2fe;
  --primary-300: #a5b4fc;
  --primary-400: #818cf8;
  --primary-500: #6366f1;
  --primary-600: #4f46e5;
  --primary-700: #4338ca;
  --primary-800: #3730a3;
  --primary-900: #312e81;

  /* Accent (Teal) */
  --accent-400: #2dd4bf;
  --accent-500: #14b8a6;
  --accent-600: #0d9488;

  /* Success */
  --success-400: #4ade80;
  --success-500: #22c55e;
  --success-600: #16a34a;

  /* Warning */
  --warning-400: #fbbf24;
  --warning-500: #f59e0b;
  --warning-600: #d97706;

  /* Danger */
  --danger-400: #f87171;
  --danger-500: #ef4444;
  --danger-600: #dc2626;

  /* Light Theme Surface Colors */
  --bg-body: #f5f7fa;
  --bg-surface: #ffffff;
  --bg-surface-2: #f1f5f9;
  --bg-surface-3: #e2e8f0;
  --bg-hover: rgba(0, 0, 0, 0.03);
  --bg-active: rgba(99, 102, 241, 0.08);

  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-accent: #4f46e5;

  /* Borders */
  --border-default: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: var(--primary-500);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.1);

  /* Sidebar */
  --sidebar-bg: #ffffff;
  --sidebar-border: #e2e8f0;
  --sidebar-brand-text: var(--primary-600);

  /* Badge backgrounds (light) */
  --badge-success-bg: rgba(34, 197, 94, 0.1);
  --badge-success-color: #16a34a;
  --badge-warning-bg: rgba(245, 158, 11, 0.1);
  --badge-warning-color: #d97706;
  --badge-danger-bg: rgba(239, 68, 68, 0.1);
  --badge-danger-color: #dc2626;
  --badge-info-bg: rgba(99, 102, 241, 0.1);
  --badge-info-color: #4f46e5;

  /* Stat icon backgrounds */
  --stat-purple-bg: rgba(99, 102, 241, 0.08);
  --stat-purple-color: var(--primary-600);
  --stat-teal-bg: rgba(20, 184, 166, 0.08);
  --stat-teal-color: var(--accent-600);
  --stat-green-bg: rgba(34, 197, 94, 0.08);
  --stat-green-color: var(--success-600);
  --stat-amber-bg: rgba(245, 158, 11, 0.08);
  --stat-amber-color: var(--warning-600);
  --stat-red-bg: rgba(239, 68, 68, 0.08);
  --stat-red-color: var(--danger-600);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Sidebar */
  --sidebar-width: 260px;
  --sidebar-collapsed: 72px;

  /* Font */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ==========================================
   DARK THEME Override
   ========================================== */
[data-theme="dark"] {
  --bg-body: #0b0e14;
  --bg-surface: #111827;
  --bg-surface-2: #1f2937;
  --bg-surface-3: #374151;
  --bg-hover: rgba(255, 255, 255, 0.04);
  --bg-active: rgba(99, 102, 241, 0.12);

  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-accent: #818cf8;

  --border-default: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.15);

  --sidebar-bg: linear-gradient(180deg, #0f1320 0%, #0b0e14 100%);
  --sidebar-border: rgba(255, 255, 255, 0.08);
  --sidebar-brand-text: var(--primary-300);

  --badge-success-bg: rgba(34, 197, 94, 0.12);
  --badge-success-color: #4ade80;
  --badge-warning-bg: rgba(245, 158, 11, 0.12);
  --badge-warning-color: #fbbf24;
  --badge-danger-bg: rgba(239, 68, 68, 0.12);
  --badge-danger-color: #f87171;
  --badge-info-bg: rgba(99, 102, 241, 0.12);
  --badge-info-color: #a5b4fc;

  --stat-purple-bg: rgba(99, 102, 241, 0.12);
  --stat-purple-color: var(--primary-400);
  --stat-teal-bg: rgba(20, 184, 166, 0.12);
  --stat-teal-color: var(--accent-400);
  --stat-green-bg: rgba(34, 197, 94, 0.12);
  --stat-green-color: var(--success-400);
  --stat-amber-bg: rgba(245, 158, 11, 0.12);
  --stat-amber-color: var(--warning-400);
  --stat-red-bg: rgba(239, 68, 68, 0.12);
  --stat-red-color: var(--danger-400);
}

/* ==========================================
   Reset & Base
   ========================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  transition: background var(--transition-base), color var(--transition-base);
}

a {
  color: var(--text-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-400);
}

/* ==========================================
   Typography
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 {
  font-size: 1.875rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.1rem;
}

.text-muted {
  color: var(--text-muted);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-accent {
  color: var(--text-accent);
}

.text-success {
  color: var(--success-600);
}

.text-warning {
  color: var(--warning-600);
}

.text-danger {
  color: var(--danger-600);
}

[data-theme="dark"] .text-success {
  color: var(--success-400);
}

[data-theme="dark"] .text-warning {
  color: var(--warning-400);
}

[data-theme="dark"] .text-danger {
  color: var(--danger-400);
}

/* ==========================================
   Layout
   ========================================== */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1 1;
  margin-left: var(--sidebar-width);
  transition: margin-left var(--transition-base);
  padding: 0;
  min-height: 100vh;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-default);
  background: var(--bg-surface);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.page-header h1 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-body {
  padding: 28px 32px;
}

/* ==========================================
   Sidebar
   ========================================== */
.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  transition: background var(--transition-base), border-color var(--transition-base);
}

[data-theme="dark"] .sidebar {
  background: linear-gradient(180deg, #0f1320 0%, #0b0e14 100%);
}

.sidebar-brand {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-default);
  margin-bottom: 8px;
}

.sidebar-brand-logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}

.sidebar-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-700);
}

[data-theme="dark"] .sidebar-brand-name {
  background: linear-gradient(135deg, var(--primary-300), var(--accent-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-section {
  padding: 8px 12px;
  margin-top: 4px;
}

.sidebar-section-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 8px 12px 4px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 450;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  text-decoration: none;
}

.sidebar-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.sidebar-item.active {
  background: var(--bg-active);
  color: var(--primary-600);
  font-weight: 550;
}

[data-theme="dark"] .sidebar-item.active {
  color: var(--primary-300);
}

.sidebar-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: var(--primary-500);
  border-radius: 0 4px 4px 0;
}

.sidebar-item-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.7;
}

.sidebar-item.active .sidebar-item-icon {
  opacity: 1;
}

.sidebar-badge {
  margin-left: auto;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50px;
  background: var(--primary-600);
  color: white;
}

.sidebar-footer {
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid var(--border-default);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-2);
}

.sidebar-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
}

.sidebar-user-info {
  flex: 1 1;
  min-width: 0;
}

.sidebar-user-name {
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================
   Theme Toggle
   ========================================== */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  background: var(--bg-surface-2);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
}

.theme-toggle:hover {
  background: var(--bg-hover);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.theme-toggle-icon {
  font-size: 1rem;
  line-height: 1;
}

/* ==========================================
   Cards
   ========================================== */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

.card-body {
  padding: 22px;
}

.card-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border-default);
  background: var(--bg-surface-2);
}

/* ==========================================
   Stat Cards
   ========================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 18px;
  gap: 18px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--stat-accent, var(--primary-500));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card.purple {
  --stat-accent: var(--primary-500);
}

.stat-card.teal {
  --stat-accent: var(--accent-500);
}

.stat-card.green {
  --stat-accent: var(--success-500);
}

.stat-card.amber {
  --stat-accent: var(--warning-500);
}

.stat-card.red {
  --stat-accent: var(--danger-500);
}

.stat-info h4 {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat-change {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 6px;
}

.stat-change.up {
  color: var(--success-600);
}

.stat-change.down {
  color: var(--danger-600);
}

[data-theme="dark"] .stat-change.up {
  color: var(--success-400);
}

[data-theme="dark"] .stat-change.down {
  color: var(--danger-400);
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.purple {
  background: var(--stat-purple-bg);
  color: var(--stat-purple-color);
}

.stat-icon.teal {
  background: var(--stat-teal-bg);
  color: var(--stat-teal-color);
}

.stat-icon.green {
  background: var(--stat-green-bg);
  color: var(--stat-green-color);
}

.stat-icon.amber {
  background: var(--stat-amber-bg);
  color: var(--stat-amber-color);
}

.stat-icon.red {
  background: var(--stat-red-bg);
  color: var(--stat-red-color);
}

/* ==========================================
   Tables
   ========================================== */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.data-table thead th {
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--border-default);
  white-space: nowrap;
  background: var(--bg-surface-2);
}

.data-table tbody tr {
  transition: background var(--transition-fast);
}

.data-table tbody tr:hover {
  background: var(--bg-hover);
}

.data-table tbody td {
  padding: 14px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-default);
  color: var(--text-secondary);
}

.data-table tbody td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

/* ==========================================
   Badges / Status
   ========================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-active,
.badge-paid,
.badge-success {
  background: var(--badge-success-bg);
  color: var(--badge-success-color);
}

.badge-pending,
.badge-unpaid {
  background: var(--badge-warning-bg);
  color: var(--badge-warning-color);
}

.badge-suspended,
.badge-overdue {
  background: var(--badge-danger-bg);
  color: var(--badge-danger-color);
}

.badge-info {
  background: var(--badge-info-bg);
  color: var(--badge-info-color);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 550;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
  color: white;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-400));
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

.btn-secondary:hover {
  background: var(--bg-surface-3);
  border-color: var(--border-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}

.btn-icon {
  padding: 8px;
  width: 36px;
  height: 36px;
}

/* ==========================================
   Forms
   ========================================== */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 550;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-input::placeholder {
  color: var(--text-muted);
}

select.form-input {
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* ==========================================
   Grid & Flex Utilities
   ========================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  gap: 20px;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.gap-4 {
  gap: 16px;
}

.gap-5 {
  gap: 20px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-6 {
  margin-bottom: 24px;
}

.mt-4 {
  margin-top: 16px;
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

.animate-slide-in {
  animation: slideInLeft 0.3s ease-out forwards;
}

/* Staggered animation */
.stats-grid>* {
  animation: fadeIn 0.4s ease-out forwards;
  opacity: 0;
}

.stats-grid>*:nth-child(1) {
  animation-delay: 0.05s;
}

.stats-grid>*:nth-child(2) {
  animation-delay: 0.1s;
}

.stats-grid>*:nth-child(3) {
  animation-delay: 0.15s;
}

.stats-grid>*:nth-child(4) {
  animation-delay: 0.2s;
}

.stats-grid>*:nth-child(5) {
  animation-delay: 0.25s;
}

.stats-grid>*:nth-child(6) {
  animation-delay: 0.3s;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .main-content {
    margin-left: 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .page-body {
    padding: 16px;
  }

  .page-header {
    padding: 16px;
  }
}

/* ==========================================
   Scrollbar
   ========================================== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--bg-surface-3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ==========================================
   Chart Container
   ========================================== */
.chart-container {
  width: 100%;
  height: 300px;
}

/* ==========================================
   Quick Actions
   ========================================== */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-sans);
  text-decoration: none;
}

.quick-action-btn:hover {
  background: var(--bg-active);
  color: var(--primary-600);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

[data-theme="dark"] .quick-action-btn:hover {
  color: var(--primary-300);
}

.quick-action-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--stat-purple-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stat-purple-color);
}

/* ==========================================
   Login Page
   ========================================== */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf4 50%, #f5f7fa 100%);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .login-wrapper {
  background: linear-gradient(135deg, #0b0e14 0%, #1a1040 50%, #0b0e14 100%);
}

.login-card {
  width: 420px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .login-card {
  background: rgba(17, 24, 39, 0.85);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.login-bg-circle-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  border-radius: 50%;
}

[data-theme="dark"] .login-bg-circle-1 {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
}

.login-bg-circle-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.04) 0%, transparent 70%);
  bottom: -100px;
  left: -50px;
  border-radius: 50%;
}

[data-theme="dark"] .login-bg-circle-2 {
  background: radial-gradient(circle, rgba(20, 184, 166, 0.06) 0%, transparent 70%);
}

.login-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-700);
}

[data-theme="dark"] .login-logo-text {
  background: linear-gradient(135deg, var(--primary-300), var(--accent-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* ==========================================
   Public Site Utilities
   ========================================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.public-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 90px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  background: transparent;
}

.public-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  height: 76px;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border-default);
}

[data-theme="dark"] .public-header.scrolled {
  background: rgba(15, 23, 42, 0.85);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-links {
  display: flex;
  gap: 32px;
  margin: 0 40px;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 550;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--primary-500);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: -20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: var(--bg-hover);
  color: var(--primary-500);
}

.navbar-actions {
  display: flex;
  gap: 12px;
}

.hero {
  padding: 180px 0 100px;
  background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(20, 184, 166, 0.06) 0%, transparent 35%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .hero {
  background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(20, 184, 166, 0.08) 0%, transparent 40%),
              #0f172a;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bg-active);
  color: var(--primary-600);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

[data-theme="dark"] .hero-tag {
  color: var(--primary-400);
}

.hero h1 {
  font-size: 3.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 850px;
  margin: 0 auto 24px;
  color: var(--text-primary);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary-600), var(--accent-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.domain-search-card {
  max-width: 850px;
  margin: -60px auto 100px;
  background: var(--bg-surface);
  padding: 8px;
  border-radius: 100px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  border: 1px solid var(--border-default);
  position: relative;
  z-index: 10;
}

[data-theme="dark"] .domain-search-card {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.domain-search-input {
  flex: 1 1;
  border: none;
  background: transparent;
  padding: 0 40px;
  font-size: 1.15rem;
  font-family: var(--font-sans);
  outline: none;
  color: var(--text-primary);
}

.domain-search-btn {
  padding: 18px 48px;
  border-radius: 100px;
  font-size: 1rem;
}

.tld-list {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tld-list span strong {
  color: var(--primary-500);
  margin-left: 4px;
}

.public-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-default);
  padding: 100px 0 50px;
  margin-top: 120px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-gap: 80px;
  gap: 80px;
  margin-bottom: 80px;
}

.footer-col h4 {
  margin-bottom: 30px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 14px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--primary-500);
}

.footer-bottom {
  border-top: 1px solid var(--border-default);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 40px;
}

.price-card.featured {
  border: 2px solid var(--primary-500);
  transform: scale(1.05);
  z-index: 2;
}

.price-header {
  text-align: center;
  margin-bottom: 30px;
}

.price-header h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.price-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.price-features {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}

.price-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-default);
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li::before {
  content: "?";
  color: var(--success-500);
  font-weight: 800;
}


