/* =========================================================
   VLN PROVIDER - MODERN GLASSMORPHIC DASHBOARD STYLES
   ========================================================= */

:root {
  --bg-main: #0a0d14;
  --bg-sidebar: #0f131d;
  --bg-card: rgba(20, 25, 38, 0.75);
  --bg-card-hover: rgba(28, 35, 53, 0.85);
  --bg-input: #121622;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: #6366f1;

  --text-main: #f3f4f6;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.25);

  --accent: #8b5cf6;
  --accent-hover: #7c3aed;

  --emerald: #10b981;
  --emerald-bg: rgba(16, 185, 129, 0.12);
  --emerald-border: rgba(16, 185, 129, 0.3);

  --blue: #3b82f6;
  --blue-bg: rgba(59, 130, 246, 0.12);

  --amber: #f59e0b;
  --amber-bg: rgba(245, 158, 11, 0.12);

  --rose: #f43f5e;
  --rose-bg: rgba(244, 63, 94, 0.12);

  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
}

/* App Layout */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 100;
}

.sidebar-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
}

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

.logo-icon {
  font-size: 28px;
  color: var(--primary);
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px var(--primary-glow));
}

.logo-box h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  line-height: 1.2;
}

.badge-bot-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  margin-top: 4px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseAnimation 2s infinite;
}

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

.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  width: 100%;
}

.nav-item i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  transition: var(--transition);
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.nav-item.active i {
  color: var(--primary);
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border-color);
}

.bot-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
}

.bot-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.bot-tg-icon {
  font-size: 26px;
  color: #229ED9;
  filter: drop-shadow(0 0 6px rgba(34, 158, 217, 0.4));
}

.bot-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.bot-handle {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.btn-open-bot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  background: rgba(34, 158, 217, 0.15);
  border: 1px solid rgba(34, 158, 217, 0.35);
  border-radius: var(--radius-sm);
  color: #38bdf8;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-open-bot:hover {
  background: #229ED9;
  color: #fff;
  box-shadow: 0 4px 12px rgba(34, 158, 217, 0.35);
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100vh;
  overflow-y: auto;
}

/* Topbar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 90;
}

.topbar-left h1 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

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

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

/* Content Body */
.content-body {
  padding: 32px;
  flex: 1;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  outline: none;
  text-decoration: none;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
}

.btn-accent {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-color);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-muted);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn-danger {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.3);
  color: #fb7185;
}

.btn-danger:hover {
  background: var(--rose);
  color: #fff;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-title-group i {
  font-size: 20px;
}

.card-title-group h2 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-card-hover);
}

.stat-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.icon-blue { background: var(--blue-bg); color: var(--blue); }
.icon-emerald { background: var(--emerald-bg); color: var(--emerald); }
.icon-purple { background: rgba(139, 92, 246, 0.12); color: var(--accent); }
.icon-amber { background: var(--amber-bg); color: var(--amber); }
.icon-rose { background: var(--rose-bg); color: var(--rose); }

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.stat-val {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin: 3px 0 2px;
}

.stat-sub {
  font-size: 11px;
  color: var(--text-dim);
}

.text-emerald { color: var(--emerald) !important; }
.text-purple { color: #a855f7 !important; }
.text-amber { color: var(--amber) !important; }
.text-rose { color: var(--rose) !important; }
.text-blue { color: var(--blue) !important; }

/* Country Stock Grid */
.country-stock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.country-stock-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.country-stock-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

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

.csc-flag-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.csc-flag {
  font-size: 26px;
  line-height: 1;
}

.csc-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.csc-code {
  font-size: 10px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.csc-badge-status {
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.badge-in-stock {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
}

.badge-out-stock {
  background: var(--rose-bg);
  color: var(--rose);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.csc-metrics {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.csc-metric-item {
  display: flex;
  flex-direction: column;
}

.csc-metric-item span {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.csc-metric-item strong {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.csc-footer-actions {
  display: flex;
  gap: 8px;
}

/* Two Column Grid */
.two-col-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

@media (max-width: 1080px) {
  .two-col-grid {
    grid-template-columns: 1fr;
  }
}

/* Guide Steps */
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-step {
  display: flex;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}

.step-content p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.step-content code {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

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

.data-table th {
  padding: 12px 16px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.015);
  white-space: nowrap;
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: var(--transition);
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Forms & Filter Actions */
.filter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.form-control {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 10px 14px;
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.select-inline {
  width: auto;
  min-width: 150px;
}

.font-mono {
  font-family: var(--font-mono) !important;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-hint {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.flex-1 { flex: 1; }
.flex-wrap { flex-wrap: wrap; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 24px; }
.text-center { text-align: center; }

/* Store Portal */
.store-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(16, 185, 129, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.store-banner-content h2 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-banner-content p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 720px;
}

.store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .store-grid { grid-template-columns: 1fr; }
}

.quota-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.quota-radio {
  flex: 1;
  min-width: 70px;
  position: relative;
  cursor: pointer;
}

.quota-radio input {
  position: absolute;
  opacity: 0;
}

.quota-radio span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.quota-radio input:checked + span {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.3);
}

.purchase-success-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.license-display-wrap .label {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.license-copy-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #090c12;
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.license-copy-box code {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 1px;
  flex: 1;
}

.purchase-meta {
  display: flex;
  gap: 24px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
}

.purchase-meta .meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.purchase-meta .meta-item span {
  font-size: 11px;
  color: var(--text-dim);
}

.purchase-meta .meta-item strong {
  font-size: 14px;
  color: #fff;
}

.how-to-redeem-box {
  background: rgba(34, 158, 217, 0.08);
  border: 1px solid rgba(34, 158, 217, 0.25);
  border-radius: var(--radius-md);
  padding: 18px;
}

.how-to-redeem-box h4 {
  font-size: 14px;
  color: #38bdf8;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.how-to-redeem-box p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Activity Feed */
.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

.activity-item.key_claimed { border-left-color: var(--emerald); }
.activity-item.license_created { border-left-color: var(--accent); }
.activity-item.license_redeemed { border-left-color: var(--amber); }

.activity-content {
  flex: 1;
}

.activity-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.activity-time {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: #141824;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  animation: modalScale 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.btn-close-modal:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.2);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  background: #1a2030;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: toastSlide 0.25s ease-out;
}

.toast.success { border-left-color: var(--emerald); }
.toast.error { border-left-color: var(--rose); }

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .app-layout { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; }
  .topbar { padding: 16px; }
  .content-body { padding: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
}

/* Payment Approvals & Nav Badges */
.nav-item-highlight {
  position: relative;
}

.badge-nav-pending {
  margin-left: auto;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
  display: none;
}

.badge-nav-pending.show {
  display: inline-block;
}

.stat-card-featured {
  border-color: rgba(245, 158, 11, 0.4) !important;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(20, 25, 38, 0.8)) !important;
}

.stat-card-featured:hover {
  border-color: rgba(245, 158, 11, 0.7) !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.badge-status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.badge-status-approved {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.badge-status-rejected {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.35);
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.btn-approve {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-approve:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.card-low-stock {
  border-color: rgba(244, 63, 94, 0.45) !important;
  background: rgba(244, 63, 94, 0.05) !important;
}

.text-cyan {
  color: #38bdf8 !important;
}

/* User Cell & Support Inbox Styles */
.user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.tr-unread td {
  border-top: 1px solid rgba(139, 92, 246, 0.25) !important;
  border-bottom: 1px solid rgba(139, 92, 246, 0.25) !important;
}

/* =========================================
   LOGIN OVERLAY & ADMIN SECURITY
   ========================================= */
.login-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: radial-gradient(circle at 50% 20%, rgba(30, 41, 59, 0.96), rgba(10, 14, 26, 0.99)) !important;
  backdrop-filter: blur(16px);
  z-index: 9999999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.15);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  animation: loginAppear 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes loginAppear {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #c084fc);
}

.login-brand {
  text-align: center;
  margin-bottom: 24px;
}

.login-logo-glow {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(129, 140, 248, 0.25));
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #38bdf8;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.35);
}

.login-brand h2 {
  font-size: 22px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.login-brand p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
}

.login-error-banner {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fb7185;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  animation: shakeError 0.35s ease;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrap .form-control {
  padding-right: 44px;
}

.btn-toggle-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 6px 8px;
  font-size: 14px;
  transition: color 0.15s;
}

.btn-toggle-eye:hover {
  color: #38bdf8;
}

.btn-login-submit {
  width: 100%;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-top: 10px;
  border-radius: 10px;
}

.login-footer-hints {
  margin-top: 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 18px;
}

.hint-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.hint-badge code {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

.login-footer-hints small {
  display: block;
  font-size: 11px;
  color: #64748b;
}


