
/* ===== Yours Voice dark mode ===== */
html[data-theme="dark"] { color-scheme: dark; }

html[data-theme="dark"] body,
html[data-theme="dark"] .elementor-widget-container,
html[data-theme="dark"] .e-con {
  background-color: transparent;
}
html[data-theme="dark"] body {
  background-color: #130117;
}

/* card-style panels get a dark surface + visible border */
html[data-theme="dark"] .elementor-element-ea5fb98,
html[data-theme="dark"] .elementor-element-8771120,
html[data-theme="dark"] .elementor-element-bdf1ef0,
html[data-theme="dark"] .elementor-element-31f14cc,
html[data-theme="dark"] .elementor-element-a48e307,
html[data-theme="dark"] .elementor-element-e84372b,
html[data-theme="dark"] .elementor-element-73d1e74,
html[data-theme="dark"] .elementor-element-146108a,
html[data-theme="dark"] .elementor-element-340f22a,
html[data-theme="dark"] .elementor-element-84dc38a,
html[data-theme="dark"] .elementor-element-c54a580,
html[data-theme="dark"] .elementor-element-4ebb4d6,
html[data-theme="dark"] .elementor-element-1ec4a73,
html[data-theme="dark"] .elementor-element-17f85ca,
html[data-theme="dark"] .elementor-element-a838aa4,
html[data-theme="dark"] .elementor-element-e2a8801,
html[data-theme="dark"] .elementor-element-af7e7f6,
html[data-theme="dark"] .elementor-element-9e28894,
html[data-theme="dark"] .elementor-element-93a7e1c,
html[data-theme="dark"] .elementor-element-bbebc83,
html[data-theme="dark"] .elementor-element-95a27d06,
html[data-theme="dark"] .elementor-element-6d63e119,
html[data-theme="dark"] .elementor-element-fdc97320,
html[data-theme="dark"] .elementor-element-ede04a6a,
html[data-theme="dark"] .elementor-element-70789efd,
html[data-theme="dark"] .elementor-element-2fd91553,
html[data-theme="dark"] .elementor-element-ce7c3a7b,
html[data-theme="dark"] .elementor-element-6f446d18,
html[data-theme="dark"] .elementor-element-a3017ea0,
html[data-theme="dark"] .elementor-element-a8b369c {
  background-color: #22032C !important;
  border-color: #7C5C85 !important;
}

/* light section bands get the page-dark surface */
html[data-theme="dark"] .elementor-element-02ba1119 {
  background-color: #130117 !important;
}

/* text, by Elementor's stable widget-type classes (covers every instance) */
html[data-theme="dark"] .elementor-heading-title,
html[data-theme="dark"] .elementor-icon-box-title,
html[data-theme="dark"] .elementor-testimonial-name {
  color: #EFEBF0 !important;
}
html[data-theme="dark"] .elementor-text-editor,
html[data-theme="dark"] .elementor-text-editor *,
html[data-theme="dark"] .elementor-icon-box-description,
html[data-theme="dark"] .elementor-testimonial-content,
html[data-theme="dark"] .elementor-testimonial-job {
  color: #CDC0D0 !important;
}

/* icon circles */
html[data-theme="dark"] .elementor-icon {
  background-color: #532A5F !important;
}
html[data-theme="dark"] .elementor-icon:hover {
  background-color: #ffa346 !important;
}

/* buttons keep readable contrast */
html[data-theme="dark"] .elementor-button {
  background-color: #ffa346 !important;
  color: #1B0A22 !important;
}

/* smooth transition when toggling */
html, body, .e-con, .elementor-element {
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* toggle switch widget */
#yv-dark-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background-color: #350443;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: background-color 0.25s ease, transform 0.15s ease;
}
#yv-dark-toggle:hover {
  transform: scale(1.08);
  background-color: #ffa346;
  color: #1B0A22;
}
html[data-theme="dark"] #yv-dark-toggle {
  background-color: #ffa346;
  color: #1B0A22;
}
