/* YourSmartMenu Widget Styles */
.ysm-widget {
  font-family: system-ui, -apple-system, sans-serif !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  color: #1f2937 !important;
}

.ysm-widget * {
  box-sizing: border-box !important;
}

/* Full Width Mode */
.ysm-widget[data-width="full"] {
  max-width: 100%;
  margin: 0;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .ysm-widget[data-width="full"] {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ysm-widget[data-width="full"] {
    padding: 0 2rem;
  }
}

.ysm-language-selector {
  position: relative;
  margin-bottom: 1rem;
  width: fit-content;
}

.ysm-language-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ysm-language-btn:hover {
  border-color: var(--ysm-theme-color, #3b82f6);
  background: #f9fafb;
}

.ysm-language-btn:focus {
  outline: none;
  border-color: var(--ysm-theme-color, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ysm-lang-icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--ysm-theme-color, #3b82f6);
  flex-shrink: 0;
}

.ysm-current-lang {
  font-weight: 600;
}

.ysm-chevron {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.ysm-language-btn[aria-expanded="true"] .ysm-chevron {
  transform: rotate(180deg);
}

.ysm-language-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  min-width: 150px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  overflow: hidden;
}

.ysm-language-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ysm-language-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  transition: background-color 0.15s;
}

.ysm-language-option:hover {
  background: #f9fafb;
}

.ysm-language-option.active {
  background: #eff6ff;
  color: var(--ysm-theme-color, #3b82f6);
  font-weight: 600;
}

.ysm-check-icon {
  width: 1rem;
  height: 1rem;
  color: var(--ysm-theme-color, #3b82f6);
  flex-shrink: 0;
}

.ysm-filters {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.ysm-sort-search-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .ysm-sort-search-group {
    grid-template-columns: 1fr;
  }
}

.ysm-search {
  width: 100%;
  grid-column: 1 / -1;
}

.ysm-search-input {
  width: 100% !important;
  padding: 0.5rem 1rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  font-size: 0.875rem !important;
  margin: 0 !important;
}

.ysm-sliders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.ysm-slider {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 110px;
}

.ysm-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 2rem;
}

.ysm-slider-header label {
  font-weight: 700 !important;
  font-size: 1rem !important;
  color: #1e293b !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin: 0 !important;
}

.ysm-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--ysm-theme-color, #3b82f6);
}

.ysm-slider-value {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ysm-theme-color, #3b82f6);
}

.ysm-editable {
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s;
}

.ysm-editable:hover {
  opacity: 0.7;
}

.ysm-slider-track {
  position: relative !important;
  height: 12px !important;
  display: block !important;
}

.ysm-slider-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 12px !important;
  background: #e2e8f0 !important;
  border-radius: 9999px !important;
  display: block !important;
}

.ysm-slider-fill {
  position: absolute !important;
  top: 0 !important;
  height: 12px !important;
  background: var(--ysm-theme-color, #3b82f6) !important;
  border-radius: 9999px !important;
  transition: all 0.1s ease !important;
  display: block !important;
}

.ysm-range-input {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 12px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  cursor: pointer !important;
  outline: none !important;
  pointer-events: none !important;
}

.ysm-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--ysm-theme-color, #3b82f6);
  border-radius: 50%;
  cursor: grab;
  border: 3px solid white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  pointer-events: auto;
}

.ysm-range-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--ysm-theme-color, #3b82f6);
  border-radius: 50%;
  cursor: grab;
  border: 3px solid white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  pointer-events: auto;
}

.ysm-range-input:active::-webkit-slider-thumb {
  cursor: grabbing;
}

.ysm-range-input:active::-moz-range-thumb {
  cursor: grabbing;
}

.ysm-range-input.ysm-min {
  z-index: 3;
}

.ysm-range-input.ysm-min::-webkit-slider-thumb {
  background: var(--ysm-theme-color-darker, #1e40af);
}

.ysm-range-input.ysm-min::-moz-range-thumb {
  background: var(--ysm-theme-color-darker, #1e40af);
}

.ysm-range-input.ysm-max {
  z-index: 2;
}

.ysm-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
}

.ysm-label-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.ysm-label-name {
  font-size: 0.625rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  color: #9ca3af !important;
  letter-spacing: 0.05em !important;
  margin: 0 !important;
}

.ysm-slider-labels .ysm-editable {
  font-weight: 700 !important;
  font-size: 1rem !important;
  color: var(--ysm-theme-color, #3b82f6) !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  transition: background 0.2s !important;
}

.ysm-slider-labels .ysm-editable:hover {
  background: color-mix(in srgb, var(--ysm-theme-color, #3b82f6) 10%, transparent);
  opacity: 1;
}

.ysm-meal-count {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  margin-bottom: 1rem !important;
  margin-top: 0 !important;
  letter-spacing: 0.05em !important;
}

.ysm-meal-count span {
  color: var(--ysm-theme-color, #3b82f6) !important;
  font-size: 1rem !important;
}

.ysm-filter-section {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.ysm-filter-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.ysm-filter-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.ysm-dietary-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ysm-category-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ysm-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  color: #374151;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  transition: background 0.2s;
}

.ysm-toggle:hover {
  background: #f3f4f6;
}

.ysm-toggle-dietary {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.ysm-toggle-dietary:hover {
  background: #dcfce7;
}

.ysm-toggle-category {
  background: #eff6ff;
  border: 1px solid #93c5fd;
}

.ysm-toggle-category:hover {
  background: #dbeafe;
}

.ysm-toggle input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.ysm-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
}

.ysm-per-page {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
}

.ysm-sort-select {
  padding: 0.375rem 2rem 0.375rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  background-color: white;
}

.ysm-sort-direction {
  padding: 0.375rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.ysm-sort-direction:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.ysm-sort-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #6b7280;
}

.ysm-meals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.ysm-meal-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ysm-meal-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ysm-meal-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ysm-meal-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ysm-meal-title {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
  min-height: 1.75rem !important;
  margin-top: 0 !important;
  line-height: 1.3 !important;
  color: #1f2937 !important;
}

.ysm-meal-description {
  font-size: 0.875rem !important;
  color: #6b7280 !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.4 !important;
  flex: 1 !important;
  min-height: 2.5rem !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.ysm-macros {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  min-height: auto;
}

.ysm-macro-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  background: #eff6ff;
  border-radius: 0.375rem;
}

.ysm-macro-label {
  font-size: 0.625rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  letter-spacing: 0.05em !important;
  margin: 0 !important;
}

.ysm-macro-value {
  display: flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  color: var(--ysm-theme-color-darker, #1e40af) !important;
  margin: 0 !important;
}

.ysm-macro-value svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--ysm-theme-color, #3b82f6);
}

.ysm-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #eff6ff;
  color: var(--ysm-theme-color-darker, #1e40af);
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.ysm-chip svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

.ysm-meal-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.ysm-price {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: #059669 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  flex-shrink: 0;
}

.ysm-badge-group {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
  width: 100%;
}

.ysm-badge-label {
  font-size: 0.625rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.ysm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.ysm-tag {
  padding: 0.125rem 0.375rem;
  background: #f3f4f6;
  color: #374151;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  font-weight: 600;
}

.ysm-tag-dietary {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.ysm-tag-category {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.ysm-meal-button {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
}

.ysm-cta-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.625rem 1rem;
  background: var(--ysm-theme-color, #3b82f6);
  color: white;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.ysm-cta-button:hover {
  background: var(--ysm-theme-color-dark, #2563eb);
}

.ysm-empty {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
  font-size: 1rem;
}

.ysm-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
}

.ysm-watermark {
  text-align: center;
  padding: 1rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.ysm-watermark a {
  color: var(--ysm-theme-color, #3b82f6);
  text-decoration: none;
}

.ysm-watermark a:hover {
  text-decoration: underline;
}

.ysm-pagination-info {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  margin: 1.5rem 0 0.75rem 0;
  letter-spacing: 0.025em;
}

.ysm-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem 0;
  flex-wrap: wrap;
}

.ysm-page-btn {
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  background: white;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 2.5rem;
}

.ysm-page-btn:hover:not(:disabled):not(.active) {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.ysm-page-btn.active {
  background: var(--ysm-theme-color, #3b82f6);
  border-color: var(--ysm-theme-color, #3b82f6);
  color: white;
  font-weight: 600;
}

.ysm-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Dark Mode Styles */
.ysm-widget[data-theme="dark"] {
  color: #e5e7eb !important;
}

.ysm-widget[data-theme="dark"] .ysm-language-btn {
  background: #262626;
  border-color: #404040;
  color: #e5e7eb;
}

.ysm-widget[data-theme="dark"] .ysm-language-btn:hover {
  background: #1c1c1c;
  border-color: var(--ysm-theme-color, #3b82f6);
}

.ysm-widget[data-theme="dark"] .ysm-language-dropdown {
  background: #262626;
  border-color: #404040;
}

.ysm-widget[data-theme="dark"] .ysm-language-option {
  color: #e5e7eb;
}

.ysm-widget[data-theme="dark"] .ysm-language-option:hover {
  background: #1c1c1c;
}

.ysm-widget[data-theme="dark"] .ysm-language-option.active {
  background: #1e3a8a;
  color: var(--ysm-theme-color, #3b82f6);
}

.ysm-widget[data-theme="dark"] .ysm-filters {
  background: #171717;
}

.ysm-widget[data-theme="dark"] .ysm-search-input {
  background: #262626;
  border-color: #404040;
  color: #e5e7eb;
}

.ysm-widget[data-theme="dark"] .ysm-search-input::placeholder {
  color: #9ca3af;
}

.ysm-widget[data-theme="dark"] .ysm-slider-header label {
  color: #f3f4f6 !important;
}

.ysm-widget[data-theme="dark"] .ysm-slider-bg {
  background: #404040;
}

.ysm-widget[data-theme="dark"] .ysm-slider-fill {
  background: var(--ysm-theme-color, #60a5fa);
}

.ysm-widget[data-theme="dark"] .ysm-slider-value {
  color: var(--ysm-theme-color, #60a5fa);
}

.ysm-widget[data-theme="dark"] .ysm-icon {
  color: var(--ysm-theme-color, #60a5fa);
}

.ysm-widget[data-theme="dark"] .ysm-range-input::-webkit-slider-thumb {
  background: var(--ysm-theme-color, #60a5fa);
  border-color: #171717;
}

.ysm-widget[data-theme="dark"] .ysm-range-input::-moz-range-thumb {
  background: var(--ysm-theme-color, #60a5fa);
  border-color: #171717;
}

.ysm-widget[data-theme="dark"] .ysm-range-input.ysm-min::-webkit-slider-thumb {
  background: var(--ysm-theme-color-dark, #2563eb);
}

.ysm-widget[data-theme="dark"] .ysm-range-input.ysm-min::-moz-range-thumb {
  background: var(--ysm-theme-color-dark, #2563eb);
}

.ysm-widget[data-theme="dark"] .ysm-slider-labels {
  color: #9ca3af;
}

.ysm-widget[data-theme="dark"] .ysm-meal-count {
  color: #d1d5db !important;
}

.ysm-widget[data-theme="dark"] .ysm-meal-count span {
  color: var(--ysm-theme-color, #60a5fa) !important;
}

.ysm-widget[data-theme="dark"] .ysm-filter-section {
  border-bottom-color: #404040;
}

.ysm-widget[data-theme="dark"] .ysm-filter-heading {
  color: #a3a3a3;
}

.ysm-widget[data-theme="dark"] .ysm-toggle {
  color: #e5e7eb;
}

.ysm-widget[data-theme="dark"] .ysm-toggle:hover {
  background: #404040;
}

.ysm-widget[data-theme="dark"] .ysm-toggle-dietary {
  background: #14532d;
  border-color: #166534;
}

.ysm-widget[data-theme="dark"] .ysm-toggle-dietary:hover {
  background: #15803d;
}

.ysm-widget[data-theme="dark"] .ysm-toggle-category {
  background: #1e3a8a;
  border-color: #3b82f6;
}

.ysm-widget[data-theme="dark"] .ysm-toggle-category:hover {
  background: #1e40af;
}

.ysm-widget[data-theme="dark"] .ysm-sort {
  color: #e5e7eb;
}

.ysm-widget[data-theme="dark"] .ysm-per-page {
  color: #e5e7eb;
}

.ysm-widget[data-theme="dark"] .ysm-sort-select {
  background: #262626;
  border-color: #404040;
  color: #e5e7eb;
}

.ysm-widget[data-theme="dark"] .ysm-sort-direction {
  background: #262626;
  border-color: #404040;
}

.ysm-widget[data-theme="dark"] .ysm-sort-direction:hover {
  background: #404040;
  border-color: #525252;
}

.ysm-widget[data-theme="dark"] .ysm-sort-icon {
  color: #9ca3af;
}

.ysm-widget[data-theme="dark"] .ysm-meal-card {
  background: #171717;
  border-color: #404040;
}

.ysm-widget[data-theme="dark"] .ysm-meal-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.ysm-widget[data-theme="dark"] .ysm-meal-title {
  color: #f3f4f6 !important;
}

.ysm-widget[data-theme="dark"] .ysm-meal-description {
  color: #9ca3af !important;
}

.ysm-widget[data-theme="dark"] .ysm-macro-item {
  background: #262626;
}

.ysm-widget[data-theme="dark"] .ysm-macro-label {
  color: #9ca3af !important;
}

.ysm-widget[data-theme="dark"] .ysm-macro-value {
  color: #e5e7eb !important;
}

.ysm-widget[data-theme="dark"] .ysm-macro-value svg {
  color: var(--ysm-theme-color, #60a5fa);
}

.ysm-widget[data-theme="dark"] .ysm-chip {
  background: #262626;
  color: #e5e7eb;
}

.ysm-widget[data-theme="dark"] .ysm-price {
  color: #34d399 !important;
}

.ysm-widget[data-theme="dark"] .ysm-badge-label {
  color: #a3a3a3;
}

.ysm-widget[data-theme="dark"] .ysm-tag {
  background: #404040;
  color: #d1d5db;
  border-color: #525252;
}

.ysm-widget[data-theme="dark"] .ysm-tag-dietary {
  background: #14532d;
  color: #86efac;
  border-color: #166534;
}

.ysm-widget[data-theme="dark"] .ysm-tag-category {
  background: #1e3a8a;
  color: #93c5fd;
  border-color: #3b82f6;
}

.ysm-widget[data-theme="dark"] .ysm-meal-button {
  border-top-color: #404040;
}

.ysm-widget[data-theme="dark"] .ysm-cta-button {
  background: var(--ysm-theme-color, #60a5fa);
  color: #171717;
}

.ysm-widget[data-theme="dark"] .ysm-cta-button:hover {
  background: var(--ysm-theme-color, #3b82f6);
}

.ysm-widget[data-theme="dark"] .ysm-empty {
  color: #9ca3af;
}

.ysm-widget[data-theme="dark"] .ysm-error {
  background: #7f1d1d;
  border-color: #991b1b;
  color: #fecaca;
}

.ysm-widget[data-theme="dark"] .ysm-watermark {
  color: #737373;
}

.ysm-widget[data-theme="dark"] .ysm-watermark a {
  color: var(--ysm-theme-color, #60a5fa);
}

.ysm-widget[data-theme="dark"] .ysm-editable:hover {
  opacity: 0.8;
}

.ysm-widget[data-theme="dark"] .ysm-slider-labels .ysm-editable {
  color: var(--ysm-theme-color, #60a5fa) !important;
}

.ysm-widget[data-theme="dark"] .ysm-slider-labels .ysm-editable:hover {
  background: color-mix(in srgb, var(--ysm-theme-color, #60a5fa) 15%, transparent);
  opacity: 1;
}

.ysm-widget[data-theme="dark"] .ysm-label-name {
  color: #737373 !important;
}

.ysm-widget[data-theme="dark"] .ysm-pagination-info {
  color: #a3a3a3;
}

.ysm-widget[data-theme="dark"] .ysm-page-btn {
  background: #262626;
  border-color: #404040;
  color: #e5e7eb;
}

.ysm-widget[data-theme="dark"] .ysm-page-btn:hover:not(:disabled):not(.active) {
  background: #404040;
  border-color: #525252;
}

.ysm-widget[data-theme="dark"] .ysm-page-btn.active {
  background: var(--ysm-theme-color, #60a5fa);
  border-color: var(--ysm-theme-color, #60a5fa);
  color: #171717;
}
