:root {
  --primary-color: #6c5ce7;
  --secondary-color: #a29bfe;
  --accent-color: #fd79a8;
  --light-bg: #f8f9fa;
  --dark-text: #2d3436;
  --light-text: #636e72;
}

body {
  padding: 0px;
  background-color: #f5f6fa;
  color: var(--dark-text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   }

/* Scroll-Triggered Mini FAB Banner */
.trial-mini-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #fd79a8, #6c5ce7);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(253, 121, 168, 0.4);
  z-index: 9999;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255,255,255,0.3);
}

.trial-mini-banner.visible {
  transform: scale(1);
}

.trial-mini-banner:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(253, 121, 168, 0.6);
}

.trial-mini-banner .countdown {
  background: rgba(255,255,255,0.2);
  padding: 5px 12px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 14px;
}

.dashboard-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.15);
  margin-top: 100px;
}

.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-header {
  background-color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 600;
  border-radius: 10px 10px 0 0 !important;
}

.nav-tabs {
  border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link {
  color: var(--light-text);
  border: none;
  padding: 12px 20px;
  font-weight: 500;
  border-radius: 8px 8px 0 0;
  margin-right: 5px;
}

.nav-tabs .nav-link:hover {
  border-color: transparent;
  color: var(--primary-color);
}

.nav-tabs .nav-link.active {
  color: var(--primary-color);
  background-color: transparent;
  border-bottom: 3px solid var(--primary-color);
  font-weight: 600;
}

.tab-content {
  background-color: white;
  padding: 20px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.chart-wrap {
  height: 300px;
  margin-bottom: 20px;
}

.loading {
  display: none;
  padding: 10px 15px;
  border-radius: 5px;
}

.table-responsive {
  margin-top: 15px;
}

table.dataTable {
  width: 100% !important;
  border-collapse: collapse !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--primary-color) !important;
  color: white !important;
  border: none;
}

.export-btn {
  margin-bottom: 15px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.export-btn:hover {
  background-color: #5649d1;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(108, 92, 231, 0.3);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
}

.installer-card {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  text-align: center;
}

.installer-btn {
  background: white;
  color: #f5576c;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 18px;
  margin-top: 15px;
  transition: all 0.3s;
  cursor: pointer;
}

.installer-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  body { padding: 10px; }
  .dashboard-header { padding: 15px; }
  .nav-tabs .nav-link { padding: 8px 12px; font-size: 14px; }
  .chart-wrap { height: 250px; }
  .trial-mini-banner { 
    padding: 12px 20px; 
    bottom: 15px; 
    right: 15px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
  }
  
  .nav-tabs .nav-item {
    display: inline-block;
    float: none;
  }
  
  .dashboard-header h1 { font-size: 24px; }
  .chart-wrap { height: 200px; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Add these styles to your existing CSS */

/* Help modal styles */
.help-step {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin: 1.5rem 0;
  background-color: #f8f9ff;
  border-radius: 0 8px 8px 0;
  padding: 1rem;
}

.sample-link {
  background-color: #e8f0fe;
  border-radius: 40px;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--primary-color);
  border: 1px dashed var(--primary-color);
  transition: all 0.2s;
  text-decoration: none;
}

.sample-link:hover {
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
}

.modal-wide {
  max-width: 700px;
}

/* Rest of your existing CSS remains the same */

/* Upgrade toast animation */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.upgrade-toast {
  animation: slideIn 0.3s ease;
}

/* Premium feature overlay */
.premium-locked {
  position: relative;
  opacity: 0.7;
}

.premium-locked::after {
  content: '🔒 Premium';
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(253, 121, 168, 0.9);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}