/* 🌗 Dark / Light Mode Toggle Button */
#theme-toggle {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #fff;
  font-size: 22px;
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
  z-index: 10000;
}

#theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

/* ======================
   THEME COLORS OVERRIDE
   ====================== */
html[data-theme='dark'], 
body[data-theme='dark'] {
  --bg-color: #0d0d0d !important;
  --text-color: #ffffff !important;
  --panel-bg: rgba(255, 255, 255, 0.05) !important;
  --link-color: #60a5fa !important;
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
}

html[data-theme='light'], 
body[data-theme='light'] {
  --bg-color: #f5f5f5 !important;
  --text-color: #111111 !important;
  --panel-bg: rgba(0, 0, 0, 0.04) !important;
  --link-color: #2563eb !important;
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
}

/* Apply to containers / cards */
body[data-theme='light'] .component,
html[data-theme='light'] .component {
  background-color: var(--panel-bg) !important;
  color: var(--text-color) !important;
}

body[data-theme='dark'] .component,
html[data-theme='dark'] .component {
  background-color: var(--panel-bg) !important;
  color: var(--text-color) !important;
}

/* Adjust links globally */
a {
  color: var(--link-color);
  transition: color 0.3s ease;
}
a:hover {
  color: #3b82f6;
}

/* Smooth color transition */
body, html {
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Frosted Glass Product Card */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(59,130,246,0.2);
  border-radius: 18px;
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 45px rgba(59,130,246,0.3);
}

/* ===== Glassy Notifications ===== */
.notification {
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  color: #e5e9ff;
  transition: all 0.3s ease;
}

/* Add a gentle blue glow on hover */
.notification:hover {
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.45);
  transform: translateY(-2px);
}

/* Adjust progress bar to match blue theme */
.notification .progress-bar {
  background: linear-gradient(90deg, #3b82f6, #6366f1) !important;
}

/* Notification icon style */
.notification .icon {
  color: #60a5fa !important;
  background-color: rgba(59, 130, 246, 0.1) !important;
}
/* 🌑 Force chat window to follow theme colors */
#chat-window {
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
}

#chat-questions {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.quick-question {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-color) !important;
}

/* ☀️ Day mode (light theme) */
html[data-theme="light"] .testimonial,
html[data-theme="light"] .testimonial .content,
html[data-theme="light"] .testimonial .footer,
html[data-theme="light"] .testimonial p,
html[data-theme="light"] .testimonial small,
html[data-theme="light"] .testimonial .items,
html[data-theme="light"] .testimonial .date {
  color: #222 !important;  /* Dark text for light background */
  background-color: transparent !important;
}

html[data-theme="light"] .testimonial svg {
  color: #222 !important;
  fill: #222 !important;
  stroke: #222 !important;
}

/* 🌙 Night mode (dark theme) */
html[data-theme="dark"] .testimonial,
html[data-theme="dark"] .testimonial .content,
html[data-theme="dark"] .testimonial .footer,
html[data-theme="dark"] .testimonial p,
html[data-theme="dark"] .testimonial small,
html[data-theme="dark"] .testimonial .items,
html[data-theme="dark"] .testimonial .date {
  color: #f1f1f1 !important;  /* Bright text for dark background */
  background-color: transparent !important;
}

html[data-theme="dark"] .testimonial svg {
  color: #f1f1f1 !important;
  fill: #f1f1f1 !important;
  stroke: #f1f1f1 !important;
}