/* Pesa-Poll Theme Overrides - Applied via body classes */

/* Surveys Theme (Landing/Surveys pages) */
body.theme-surveys {
  --primary-color: #1e3a5f;
  --secondary-color: #e67e22;
  --gradient-bg: linear-gradient(135deg, #1e3a5f, #e67e22);
  --logo-gradient: linear-gradient(135deg, #1e3a5f, #e67e22);
}

body.theme-surveys .logo,
body.theme-surveys .btn-primary {
  background: var(--gradient-bg);
}

body.theme-surveys .logo i,
body.theme-surveys .hero-badge i {
  color: var(--secondary-color);
}

/* PesaPoll Theme (Dashboard/Settings pages) */
body.theme-pesapoll {
  --primary-color: #4f46e5;
  --secondary-color: #f97316;
  --gradient-bg: linear-gradient(135deg, #4f46e5, #f97316);
  --logo-gradient: linear-gradient(135deg, #4f46e5, #f97316);
}

body.theme-pesapoll .logo,
body.theme-pesapoll .btn-primary,
body.theme-pesapoll .earn-card {
  background: var(--gradient-bg);
}

body.theme-pesapoll .nav-item.active {
  background: rgba(79,70,229,0.1);
  color: var(--primary-color);
}

/* Common theme-aware elements */
:root {
  --primary-color: #1e3a5f;
  --secondary-color: #e67e22;
  --gradient-bg: linear-gradient(135deg, #1e3a5f, #e67e22);
}

.btn-primary {
  background: var(--gradient-bg) !important;
  color: white !important;
}

.btn-primary:hover {
  transform: translateY(-2px) !important;
}

.logo {
  background: var(--logo-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

.logo i {
  background: var(--logo-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
