@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(15, 22, 38, 0.55);
  --bg-card-hover: rgba(22, 32, 54, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.4);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-purple: #818cf8;
  --accent-blue: #3b82f6;
  --accent-blue-gradient: linear-gradient(135deg, #3b82f6 0%, #818cf8 100%);
  --accent-green: #10b981;
  --accent-red: #f43f5e;
  --accent-warning: #f59e0b;
  
  --shadow-main: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --shadow-glow: 0 0 15px rgba(99, 102, 241, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

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

/* Background Glowing Orbs */
body::before, body::after {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(130px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

body::before {
  background: var(--accent-purple);
  top: -10%;
  left: -10%;
}

body::after {
  background: var(--accent-blue);
  bottom: -10%;
  right: -10%;
}

/* Glassmorphism Container */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  outline: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-blue-gradient);
  color: #ffffff;
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.btn-danger:hover {
  background: rgba(244, 63, 94, 0.25);
  border-color: rgba(244, 63, 94, 0.5);
}

.btn:active {
  transform: translateY(0);
}

/* Form Inputs */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 15px;
  transition: all 0.25s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Layout Screens */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Landing Page Grid */
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 80vh;
}

.landing-text h1 {
  font-size: 54px;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-text p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.auth-card {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 12px;
  cursor: pointer;
  color: var(--text-secondary);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.auth-tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-purple);
}

/* Sidebar Dashboard Layout */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: rgba(8, 12, 21, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-color);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 10;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 40px;
  background: var(--accent-blue-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-item:hover, .menu-item.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.menu-item.active {
  background: rgba(99, 102, 241, 0.1);
  border-left: 3px solid var(--accent-purple);
}

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

.merchant-info-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.merchant-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-blue-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-display);
}

.merchant-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.merchant-meta-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.merchant-meta-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* Main Dashboard Panel */
.main-content {
  flex: 1;
  margin-left: 260px;
  padding: 40px;
  min-height: 100vh;
}

.page-header {
  display: flex;
  justify-content: justify;
  align-items: center;
  margin-bottom: 32px;
}

.page-title-section h2 {
  font-size: 32px;
  margin-bottom: 4px;
}

.page-title-section p {
  color: var(--text-secondary);
}

/* Stat Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-info h3 {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 6px;
}

.stat-info p {
  font-size: 28px;
  font-family: var(--font-display);
  font-weight: 800;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.icon-purple { color: var(--accent-purple); }
.icon-blue { color: var(--accent-blue); }
.icon-green { color: var(--accent-green); }
.icon-red { color: var(--accent-red); }

/* Dashboard Cards Grid */
.dash-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

/* Table Card styling */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
}

.data-table-wrapper {
  overflow-x: auto;
}

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

.data-table th {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 16px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.badge-success { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: #fde047; }
.badge-danger { background: rgba(244, 63, 94, 0.15); color: #fda4af; }

/* Modal Panels */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 12, 0.7);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  width: 100%;
  max-width: 550px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal-close {
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
}

/* Image Upload Placeholder UI */
.image-uploader-wrapper {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  background: rgba(255, 255, 255, 0.01);
}

.image-uploader-wrapper:hover {
  border-color: var(--accent-purple);
  background: rgba(99, 102, 241, 0.03);
}

.image-uploader-placeholder i {
  font-size: 32px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.image-uploader-placeholder p {
  font-size: 14px;
  color: var(--text-secondary);
}

.image-uploader-preview {
  display: none;
  max-height: 180px;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

/* Floating Notification Sound & Popups */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.toast {
  background: rgba(10, 15, 28, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-main);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  color: var(--text-primary);
  font-weight: 500;
  animation: slideIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

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

/* Compliance Banner warning */
.warning-banner {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fef08a;
  padding: 16px;
  border-radius: var(--radius-sm);
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
}

.warning-banner i {
  font-size: 18px;
  color: var(--accent-warning);
}

/* Print Invoice Overlay Overrides */
@media print {
  body * {
    visibility: hidden;
  }
  #print-area, #print-area * {
    visibility: visible;
  }
  #print-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: white !important;
    color: black !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  /* Force dark colors to black for print clarity */
  #print-area h2, #print-area h3, #print-area h4, #print-area p, #print-area strong, #print-area td, #print-area th {
    color: #000000 !important;
  }
  #print-area hr {
    border-top: 1px solid #cccccc !important;
  }
  #print-area .data-table-wrapper {
    border: 1px solid #cccccc !important;
  }
  #print-area .data-table th {
    background: #f1f5f9 !important;
    color: #000000 !important;
    border-bottom: 2px solid #cccccc !important;
  }
  #print-area .data-table td {
    border-bottom: 1px solid #eeeeee !important;
    color: #000000 !important;
  }
  #print-area .glass-panel {
    background: transparent !important;
    border: 1px solid #cccccc !important;
    padding: 10px !important;
  }
  #print-area span {
    color: #000000 !important;
  }
}

/* ====================================================
   📱 MOBILE & TAB LAYOUT OPTIMIZATIONS (MEDIA QUERIES)
   ==================================================== */

/* Tablet & Smaller Screens (under 1024px) */
@media (max-width: 1024px) {
  .auth-grid {
    gap: 40px;
  }
  
  .sidebar {
    width: 220px;
    padding: 24px 16px;
  }
  
  .main-content {
    margin-left: 220px;
    padding: 30px 20px;
  }
  
  .dash-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Mobile Devices (under 768px) */
@media (max-width: 768px) {
  /* Landing / Login Layout */
  .auth-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
    padding-top: 20px;
  }
  
  .landing-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .landing-text h1 {
    font-size: 34px;
    margin-bottom: 16px;
  }
  
  .landing-text p {
    font-size: 15px;
    margin-bottom: 24px;
  }
  
  /* Sidebar Transformation into Collapsible Header menu */
  .dashboard-layout {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 16px;
  }
  
  .sidebar-brand {
    margin-bottom: 20px;
    justify-content: center;
  }
  
  .sidebar-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  
  .menu-item {
    padding: 8px 12px;
    font-size: 13px;
    border-left: none !important;
  }
  
  .menu-item.active {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-purple);
    border-bottom: 2px solid var(--accent-purple);
    border-radius: var(--radius-sm);
  }
  
  .sidebar-footer {
    display: none; /* Hide profile block in sidebar on mobile to save vertical header space */
  }
  
  /* Dashboard Content spacing */
  .main-content {
    margin-left: 0;
    padding: 24px 16px;
  }
  
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .page-title-section h2 {
    font-size: 24px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stat-card {
    padding: 16px;
  }
  
  /* Storefront grids */
  .store-navbar {
    padding: 12px 16px;
  }
  
  .store-hero {
    padding: 50px 16px 30px;
  }
  
  .store-hero h1 {
    font-size: 30px;
  }
  
  .search-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .search-box {
    max-width: 100%;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Checkout drawer slider width on mobile */
  .cart-drawer {
    width: 100% !important;
  }
}

/* ====================================================
   🔔 LIVE PAYMENT NOTIFICATIONS (SOUND SPEAKER & TOAST)
   ==================================================== */

/* Glassmorphic Live Notification Card */
.live-notification-card {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 380px;
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.15);
  padding: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideInRight 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  transition: all 0.3s ease;
}

.live-notification-card.slide-out {
  transform: translateX(120%);
  opacity: 0;
}

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

.notification-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  font-size: 22px;
  position: relative;
}

/* Pulsing effect for green icon */
.notification-icon-wrapper::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent-green);
  animation: pulse-ring 1.5s infinite;
  opacity: 0;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.notification-title-block {
  display: flex;
  flex-direction: column;
}

.notification-title-block h4 {
  font-size: 15px;
  color: #fff;
  font-weight: 700;
}

.notification-title-block span {
  font-size: 11px;
  color: var(--text-secondary);
}

.notification-close-btn {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
  transition: color 0.2s;
}

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

.notification-amount {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-green);
  text-align: center;
  margin: 4px 0;
}

.notification-details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}

.notification-detail-row {
  display: flex;
  justify-content: space-between;
}

.notification-detail-row span:first-child {
  color: var(--text-muted);
}

.notification-detail-row span:last-child {
  font-weight: 600;
  color: var(--text-primary);
}

.notification-actions {
  display: flex;
  gap: 10px;
}

.notification-actions button {
  flex: 1;
  padding: 8px 12px;
  font-size: 13px;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Premium Tab Switching and Empty State Animations */
.tab-content {
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Glassmorphic Empty State Card */
.empty-state-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  color: var(--text-secondary);
}

.empty-state-card i {
  font-size: 56px;
  color: var(--accent-purple);
  margin-bottom: 16px;
  opacity: 0.8;
  animation: floatIcon 3s ease-in-out infinite;
  display: inline-block;
}

.empty-state-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.empty-state-card p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Premium Stats Cards Hover Glow Customizations */
.stat-card {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.stat-card.stat-sales {
  border-color: rgba(16, 185, 129, 0.12);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.04) 0%, rgba(15, 22, 38, 0.55) 100%);
}
.stat-card.stat-sales:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: var(--shadow-main), 0 0 20px rgba(16, 185, 129, 0.15);
  transform: translateY(-2px);
}

.stat-card.stat-orders {
  border-color: rgba(59, 130, 246, 0.12);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, rgba(15, 22, 38, 0.55) 100%);
}
.stat-card.stat-orders:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: var(--shadow-main), 0 0 20px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.stat-card.stat-products {
  border-color: rgba(129, 140, 248, 0.12);
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.04) 0%, rgba(15, 22, 38, 0.55) 100%);
}
.stat-card.stat-products:hover {
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: var(--shadow-main), 0 0 20px rgba(129, 140, 248, 0.15);
  transform: translateY(-2px);
}

.stat-card.stat-warning {
  border-color: rgba(245, 158, 11, 0.12);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.04) 0%, rgba(15, 22, 38, 0.55) 100%);
}
.stat-card.stat-warning:hover {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: var(--shadow-main), 0 0 20px rgba(245, 158, 11, 0.15);
  transform: translateY(-2px);
}

.stat-card.stat-danger {
  border-color: rgba(244, 63, 94, 0.12);
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.04) 0%, rgba(15, 22, 38, 0.55) 100%);
}
.stat-card.stat-danger:hover {
  border-color: rgba(244, 63, 94, 0.35);
  box-shadow: var(--shadow-main), 0 0 20px rgba(244, 63, 94, 0.15);
  transform: translateY(-2px);
}

/* Interactive focus borders for tables */
.data-table tbody tr {
  transition: background-color 0.2s ease, border-left 0.2s ease;
  border-left: 3px solid transparent;
}
.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02) !important;
  border-left-color: var(--accent-purple);
}

/* Button microscale animations */
.btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:active {
  transform: scale(0.96) !important;
}

