/* Assamese Panjika - UI Components */

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-4);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  background: hsl(var(--primary) / 0.9);
}

.btn-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.btn-secondary:hover {
  background: hsl(var(--secondary) / 0.8);
}

.btn-outline {
  border: 1px solid hsl(var(--border));
  background: transparent;
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
}

.btn-ghost:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn-destructive {
  background: hsl(var(--destructive));
  color: hsl(var(--destructive-foreground));
}

.btn-destructive:hover {
  background: hsl(var(--destructive) / 0.9);
}

.btn-sm {
  padding: var(--spacing-1) var(--spacing-3);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--spacing-3) var(--spacing-6);
  font-size: var(--text-base);
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
}

.btn-icon.btn-sm {
  width: 32px;
  height: 32px;
}

.btn-icon.btn-lg {
  width: 48px;
  height: 48px;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-header {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
  padding: var(--spacing-4);
}

.card-title {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: var(--leading-tight);
}

.card-description {
  font-size: var(--text-sm);
  color: hsl(var(--muted-foreground));
}

.card-content {
  padding: 0 var(--spacing-4) var(--spacing-4);
}

.card-footer {
  display: flex;
  align-items: center;
  padding: var(--spacing-4);
  border-top: 1px solid hsl(var(--border));
}

/* Feature Card (for navigation grid) */
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  padding: var(--spacing-4);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.feature-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-card:active {
  transform: translateY(0);
}

.feature-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: hsl(var(--primary) / 0.1);
  border-radius: var(--radius-lg);
  color: hsl(var(--primary));
}

.feature-card-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card-title {
  font-size: var(--text-sm);
  font-weight: 500;
  color: hsl(var(--foreground));
}

/* Info Card (for panchanga display) */
.info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-3);
  padding: var(--spacing-3);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
}

.info-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: hsl(var(--primary) / 0.1);
  border-radius: var(--radius);
  color: hsl(var(--primary));
}

.info-card-content {
  flex: 1;
  min-width: 0;
}

.info-card-label {
  font-size: var(--text-xs);
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-1);
}

.info-card-value {
  font-size: var(--text-base);
  font-weight: 600;
  color: hsl(var(--foreground));
}

.info-card-time {
  font-size: var(--text-xs);
  color: hsl(var(--muted-foreground));
  margin-top: var(--spacing-1);
}

/* ==========================================================================
   Inputs
   ========================================================================== */

.input-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
}

.input-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: hsl(var(--foreground));
}

.input {
  width: 100%;
  height: 40px;
  padding: var(--spacing-2) var(--spacing-3);
  font-size: var(--text-sm);
  background: hsl(var(--background));
  border: 1px solid hsl(var(--input));
  border-radius: var(--radius);
  transition: border-color var(--transition-fast);
}

.input:hover {
  border-color: hsl(var(--ring));
}

.input:focus {
  border-color: hsl(var(--ring));
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.input::placeholder {
  color: hsl(var(--muted-foreground));
}

.input-error {
  border-color: hsl(var(--destructive));
}

.input-error:focus {
  box-shadow: 0 0 0 2px hsl(var(--destructive) / 0.2);
}

/* Select */
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right var(--spacing-2) center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: var(--spacing-10);
}

/* Textarea */
.textarea {
  min-height: 80px;
  resize: vertical;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--spacing-4);
}

.header-title {
  font-size: var(--text-lg);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}

/* Bottom Navigation */
.bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: var(--bottom-nav-height);
  padding: 0 var(--spacing-2);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-1);
  padding: var(--spacing-1) var(--spacing-3);
  color: hsl(var(--muted-foreground));
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item:hover {
  color: hsl(var(--foreground));
}

.bottom-nav-item:focus {
  outline: none;
}

.bottom-nav-item.active {
  color: hsl(var(--primary));
}

.bottom-nav-item svg {
  width: 24px;
  height: 24px;
}

.bottom-nav-item span {
  font-size: var(--text-xs);
  font-weight: 500;
}

/* ==========================================================================
   Tabs
   ========================================================================== */

.tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid hsl(var(--border));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex-shrink: 0;
  padding: var(--spacing-3) var(--spacing-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab:hover {
  color: hsl(var(--foreground));
}

.tab.active {
  color: hsl(var(--primary));
  border-bottom-color: hsl(var(--primary));
}

/* Pills Tabs */
.tabs-pills {
  display: flex;
  gap: var(--spacing-2);
  padding: var(--spacing-2);
  background: hsl(var(--muted));
  border-radius: var(--radius-lg);
  border-bottom: none;
}

.tabs-pills .tab {
  padding: var(--spacing-2) var(--spacing-3);
  border-radius: var(--radius);
  border-bottom: none;
}

.tabs-pills .tab.active {
  background: hsl(var(--background));
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Modal / Bottom Sheet
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: hsl(0 0% 0% / 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  z-index: calc(var(--z-modal) + 1);
  background: hsl(var(--background));
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
}

/* Center Modal */
.modal-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: calc(100% - var(--spacing-8));
  max-width: 400px;
  max-height: calc(100vh - var(--spacing-16));
  opacity: 0;
}

.modal-overlay.active .modal-center {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Bottom Sheet */
.bottom-sheet {
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 720px;
  transform: translateX(-50%) translateY(100%);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  max-height: 90vh;
  max-height: 90dvh;
}

.modal-overlay.active .bottom-sheet {
  transform: translateX(-50%) translateY(0);
}

.bottom-sheet-handle {
  display: flex;
  justify-content: center;
  padding: var(--spacing-3) 0;
}

.bottom-sheet-handle::after {
  content: '';
  width: 32px;
  height: 4px;
  background: hsl(var(--muted-foreground) / 0.3);
  border-radius: var(--radius-full);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-4);
  border-bottom: 1px solid hsl(var(--border));
}

.modal-title {
  font-size: var(--text-lg);
  font-weight: 600;
}

.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  color: hsl(var(--muted-foreground));
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.modal-content {
  /* padding: var(--spacing-4); */
  overflow-y: auto;
  max-height: calc(90vh - 120px);
}

.modal-footer {
  display: flex;
  gap: var(--spacing-2);
  justify-content: flex-end;
  padding: var(--spacing-4);
  border-top: 1px solid hsl(var(--border));
}

/* ==========================================================================
   Calendar
   ========================================================================== */

.calendar {
  width: 100%;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-3) var(--spacing-4);
}

.calendar-title {
  font-size: var(--text-lg);
  font-weight: 600;
}

.calendar-nav {
  display: flex;
  gap: var(--spacing-1);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: var(--spacing-2) var(--spacing-1);
  border-bottom: 1px solid hsl(var(--border));
}

.calendar-weekday {
  font-size: var(--text-xs);
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  padding: var(--spacing-1);
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: var(--spacing-1);
  font-size: var(--text-sm);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.calendar-day:hover {
  background: hsl(var(--accent));
}

.calendar-day.today {
  background: hsl(var(--primary) / 0.1);
  font-weight: 600;
}

.calendar-day.selected {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.calendar-day.other-month {
  color: hsl(var(--muted-foreground) / 0.5);
  pointer-events: none;
}

.calendar-day-assamese {
  font-size: 10px;
  color: hsl(var(--primary));
  line-height: 1;
  font-weight: 500;
}

/* Markers */
.day-markers {
  position: absolute;
  bottom: 4px;
  display: flex;
  gap: 2px;
}

.day-marker {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.festival-marker {
  background-color: hsl(var(--primary));
}

.purnima-marker {
  background-color: #FFD700; /* Gold */
  box-shadow: 0 0 2px rgba(255, 215, 0, 0.5);
}

.amavasya-marker {
  background-color: #333; /* Dark */
  border: 1px solid #666;
}

[data-theme="dark"] .amavasya-marker {
  background-color: #999;
  border: 1px solid #444;
}

/* Highlight cell for Purnima/Amavasya */
.calendar-day.is-purnima {
  background: linear-gradient(to bottom right, hsl(var(--card)), hsl(48 100% 50% / 0.1));
}

.calendar-day.is-amavasya {
  background: linear-gradient(to bottom right, hsl(var(--card)), hsl(240 5% 10% / 0.05));
}

/* ==========================================================================
   Lists
   ========================================================================== */

.list {
  display: flex;
  flex-direction: column;
}

.list-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3) var(--spacing-4);
  border-bottom: 1px solid hsl(var(--border));
  cursor: pointer;
  transition: background var(--transition-fast);
}

.list-item:last-child {
  border-bottom: none;
}

.list-item:hover {
  background: hsl(var(--accent));
}

.list-item-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: hsl(var(--primary) / 0.1);
  border-radius: var(--radius);
  color: hsl(var(--primary));
}

.list-item-content {
  flex: 1;
  min-width: 0;
}

.list-item-title {
  font-size: var(--text-sm);
  font-weight: 500;
  color: hsl(var(--foreground));
}

.list-item-subtitle {
  font-size: var(--text-xs);
  color: hsl(var(--muted-foreground));
  margin-top: 2px;
}

.list-item-action {
  flex-shrink: 0;
  color: hsl(var(--muted-foreground));
}

/* ==========================================================================
   Badge
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--spacing-2);
  font-size: var(--text-xs);
  font-weight: 500;
  border-radius: var(--radius-full);
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.badge-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.badge-success {
  background: hsl(var(--success) / 0.1);
  color: hsl(var(--success));
}

.badge-warning {
  background: hsl(var(--warning) / 0.1);
  color: hsl(var(--warning));
}

.badge-destructive {
  background: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
}

/* ==========================================================================
   Search
   ========================================================================== */

.search-wrapper {
  position: relative;
}

.search-wrapper svg {
  position: absolute;
  left: var(--spacing-3);
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: hsl(var(--muted-foreground));
  pointer-events: none;
}

.search-input {
  padding-left: var(--spacing-10);
}

/* ==========================================================================
   Toggle / Switch
   ========================================================================== */

.toggle {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 24px;
  background: hsl(var(--input));
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toggle:has(input:checked) {
  background: hsl(var(--primary));
}

.toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.toggle:has(input:checked) .toggle-thumb {
  transform: translateX(20px);
}

/* ==========================================================================
   Divider
   ========================================================================== */

.divider {
  height: 1px;
  background: hsl(var(--border));
  margin: var(--spacing-4) 0;
}

.divider-text {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  color: hsl(var(--muted-foreground));
  font-size: var(--text-sm);
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: hsl(var(--border));
}

/* ==========================================================================
   Toast / Alert
   ========================================================================== */

.toast {
  position: fixed;
  top: calc(var(--header-height) + var(--spacing-4));
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3) var(--spacing-4);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-success {
  border-color: hsl(var(--success) / 0.3);
}

.toast-error {
  border-color: hsl(var(--destructive) / 0.3);
}

/* ==========================================================================
   Loader
   ========================================================================== */

.loader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.loader-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid hsl(var(--muted));
  border-top-color: hsl(var(--primary));
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader-sm .loader-spinner {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.loader-lg .loader-spinner {
  width: 32px;
  height: 32px;
  border-width: 3px;
}

/* Full page loader */
.page-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--background));
  z-index: var(--z-modal);
}

/* ==========================================================================
   Section
   ========================================================================== */

.section {
  padding: var(--spacing-4) 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-4);
}

.section-title {
  font-size: var(--text-lg);
  font-weight: 600;
}

.section-action {
  font-size: var(--text-sm);
  color: hsl(var(--primary));
  font-weight: 500;
}

/* ==========================================================================
   Date Display (Panchanga)
   ========================================================================== */

.date-display {
  text-align: center;
  padding: var(--spacing-6) var(--spacing-4);
  background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--primary) / 0.05));
  border-radius: var(--radius-xl);
}

.date-display-primary {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: var(--spacing-1);
}

.date-display-secondary {
  font-size: var(--text-lg);
  color: hsl(var(--primary));
  margin-bottom: var(--spacing-2);
}

.date-display-tertiary {
  font-size: var(--text-sm);
  color: hsl(var(--muted-foreground));
}

/* ==========================================================================
   Panchanga Grid
   ========================================================================== */

.panchanga-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-3);
}

@media (min-width: 640px) {
  .panchanga-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Muhurat List Item
   ========================================================================== */

.muhurat-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-4);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-3);
}

.muhurat-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: hsl(var(--primary) / 0.1);
  border-radius: var(--radius);
  color: hsl(var(--primary));
}

.muhurat-date-day {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1;
}

.muhurat-date-month {
  font-size: var(--text-xs);
  text-transform: uppercase;
}

.muhurat-details {
  flex: 1;
  min-width: 0;
}

.muhurat-title {
  font-size: var(--text-sm);
  font-weight: 500;
  color: hsl(var(--foreground));
}

.muhurat-subtitle {
  font-size: var(--text-xs);
  color: hsl(var(--muted-foreground));
  margin-top: 2px;
}

/* ==========================================================================
   Loading Overlay
   ========================================================================== */

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 10);
  background: hsl(var(--background) / 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-4);
  padding: var(--spacing-6);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.loading-content .loader-spinner {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

.loading-message {
  font-size: var(--text-sm);
  color: hsl(var(--muted-foreground));
  margin: 0;
  text-align: center;
}

/* ==========================================================================
   Select Dropdown (Dark Mode Fix)
   ========================================================================== */

.input, select.input, .select {
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
}

/* Calendar and Festival Select Dropdowns */
.calendar-month-select,
.calendar-year-select,
#festival-year-select {
  color: hsl(var(--foreground));
  background-color: transparent;
}

.calendar-month-select option,
.calendar-year-select option,
#festival-year-select option,
select.input option {
  background-color: hsl(var(--card));
  color: hsl(var(--foreground));
}

[data-theme="dark"] .calendar-month-select,
[data-theme="dark"] .calendar-year-select,
[data-theme="dark"] #festival-year-select {
  color: hsl(var(--foreground));
}

[data-theme="dark"] select option,
[data-theme="dark"] .calendar-month-select option,
[data-theme="dark"] .calendar-year-select option,
[data-theme="dark"] #festival-year-select option {
  background-color: hsl(240 10% 10%);
  color: hsl(0 0% 98%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) select option,
  :root:not([data-theme="light"]) .calendar-month-select option,
  :root:not([data-theme="light"]) .calendar-year-select option,
  :root:not([data-theme="light"]) #festival-year-select option {
    background-color: hsl(240 10% 10%);
    color: hsl(0 0% 98%);
  }
}
