.fish-chart_container__xH9Sm {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0.5rem;
  font-family: var(--font-sans);
}

.fish-chart_header__3vEy5 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.fish-chart_header__3vEy5 h1 {
  font-size: 2rem;
  color: #2a5885;
  margin: 0;
}

.fish-chart_navigation__CICj5 {
  display: flex;
  gap: 1rem;
}

.fish-chart_navLink__17yqG {
  background-color: #2a5885;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.fish-chart_navLink__17yqG:hover {
  background-color: #1e446d;
}

.fish-chart_selectors__eY1aD {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.fish-chart_selectorGroup__q6uGk {
  display: flex;
  flex-direction: column;
  min-width: 100px;
}

.fish-chart_selectorGroup__q6uGk label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #4a4a4a;
}

.fish-chart_selector__aMA3s {
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  background-color: white;
  cursor: pointer;
}

.fish-chart_selector__aMA3s:focus {
  outline: none;
  border-color: #2a5885;
  box-shadow: 0 0 0 2px rgba(42, 88, 133, 0.2);
}
.fish-chart_damSelector__i31vL {
  width: 200px;
}

.fish-chart_yearSelector__bqMwf {
  width: 100px;
}

.fish-chart_dataContainer__Cn_2q {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
  overflow: visible !important;
}

.fish-chart_chartWrapper__xssFi {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
  overflow: visible !important; /* Ensure tooltip isn't cut off */
}

/* Add some bottom margin to ensure there's space for the tooltip */
.fish-chart_chartWrapper__xssFi > div {
  margin-bottom: 20px;
}
.fish-chart_yearComparisonLabel__a_esx {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-style: italic;
  font-weight: normal;
  color: #666;
  margin-bottom: 0.5rem;
}

.fish-chart_yearComparisonCheckbox__7iR0j {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.fish-chart_yearComparisonText__INQlq {
  user-select: none;
}



.fish-chart_dataContainer__Cn_2q h2 {
  color: #2a5885;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.fish-chart_chartWrapper__xssFi {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow-x: auto;
}

.fish-chart_chartContainer__rDILz {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fish-chart_chart__KyNXH {
  background-color: white;
  border-radius: 4px;
  border: 1px solid #eaeaea;
}

.fish-chart_chartLegend__KW_Nl {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.5rem;
  background-color: #f5f7fa;
  border-radius: 4px;
}

.fish-chart_wrapLegend__HN3Bg {
  flex-wrap: wrap;
  justify-content: center;
}

.fish-chart_legendItem__QxdYA {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  margin: 0.25rem 0.5rem;
}

.fish-chart_colorIndicator__2FGKK {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.fish-chart_loading___2_lR {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-style: italic;
}

.fish-chart_error__Dj3du {
  text-align: center;
  padding: 2rem;
  color: #d32f2f;
  background-color: #fff8f8;
  border: 1px solid #ffcdd2;
  border-radius: 4px;
}

.fish-chart_noData__tsoYg {
  text-align: center;
  padding: 2rem;
  color: #666;
  background-color: #f9f9f9;
  border-radius: 4px;
}

/* Mobile-specific spacing reduction */
@media (max-width: 480px) {
  .fish-chart_container__xH9Sm {
    padding: 0.5rem 0.25rem;
  }
  
  .fish-chart_header__3vEy5 {
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
  }
  
  .fish-chart_header__3vEy5 h1 {
    font-size: 1.5rem;
  }
}

.fish-chart_note__AKwyy {
  background-color: #f5f7fa;
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #4a4a4a;
}

.fish-chart_dataHeader__5ZJRZ {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.25rem;
  margin-top: -1rem;
}

.fish-chart_lastUpdated__fWBlb {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
}

/* Override LastDataDateInfo component font size and spacing */
.fish-chart_dataContainer__Cn_2q .mb-4.p-3.bg-blue-50 {
  font-size: 0.85rem !important;
  margin-bottom: 0.25rem !important;
  margin-top: 0.25rem !important;
  padding: 0.4rem !important;
}

.fish-chart_dataContainer__Cn_2q .mb-4.p-3.bg-blue-50 p {
  font-size: 0.85rem !important;
  margin: 0 !important;
}

.fish-chart_responsiveNote__7dYe1 {
  background-color: #fff8e1;
  padding: 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #856404;
  text-align: center;
}

@media (max-width: 768px) {
  .fish-chart_header__3vEy5 {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .fish-chart_navigation__CICj5 {
    width: 100%;
    justify-content: space-between;
  }
  
  .fish-chart_selectors__eY1aD {
    flex-direction: column;
    gap: 1rem;
  }
  
  .fish-chart_selectorGroup__q6uGk {
    width: 100%;
  }
  
  .fish-chart_selector__aMA3s, .fish-chart_damSelector__i31vL, .fish-chart_yearSelector__bqMwf {
    width: 100%;
    max-width: none;
  }
  
  .fish-chart_dataHeader__5ZJRZ {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

/* Page Footer */
.fish-chart_pageFooter__f0GoL {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 4rem;
  border-radius: 20px 20px 0 0;
}

.FishDataHeader_header__FMWVc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e0e0e0;
  gap: 0.5rem;
}

.FishDataHeader_header__FMWVc h1 {
  font-size: 2rem;
  color: #2a5885;
  margin: 0;
  text-align: center;
}

.FishDataHeader_navigation__EMA7M {
  display: flex;
  gap: 1rem;
}

.FishDataHeader_navLink__lH_Y5 {
  background-color: #2a5885;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.FishDataHeader_navLink__lH_Y5:hover {
  background-color: #1e446d;
}

.FishDataHeader_selectors__DG4UQ {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.FishDataHeader_selectorGroup__I0G6X {
  display: flex;
  flex-direction: column;
  min-width: 100px;
}

.FishDataHeader_selectorGroup__I0G6X label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #4a4a4a;
}

.FishDataHeader_selector__Yj6_F {
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  background-color: white;
  cursor: pointer;
}

.FishDataHeader_selector__Yj6_F:focus {
  outline: none;
  border-color: #2a5885;
  box-shadow: 0 0 0 2px rgba(42, 88, 133, 0.2);
}

.FishDataHeader_damSelector__y7MfF {
  width: 180px;
}

.FishDataHeader_yearSelector__xQS9Z {
  width: 80px;
}

.FishDataHeader_timeFilterSelector__pMCFd {
    width: 120px;
}

.FishDataHeader_runDatesDisplay__4GuUs {
    background-color: #f8f9fa;
    color: #333;
    border-color: #2a5885;
    cursor: default;
    font-size: 0.8rem;
    font-weight: 500;
    width: 200px;
}

/* Base styles for title parts - they should be inline by default */
.FishDataHeader_damNamePart__kc5bm, .FishDataHeader_titlePart__E3qCd, .FishDataHeader_speciesNamePart__e5WRH, .FishDataHeader_atPart__TSPLR {
  display: inline;
}

.FishDataHeader_speciesNamePart__e5WRH {
  color: #0077b6;
  font-weight: 600;
}

.FishDataHeader_atPart__TSPLR {
  color: #666;
  font-weight: 400;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  .FishDataHeader_header__FMWVc {
    flex-direction: row; /* Keep as row even on mobile */
    align-items: center;
    gap: 0.5rem;
  }
  
  .FishDataHeader_header__FMWVc h1 {
    font-size: 1.5rem; /* Smaller font size on mobile */
    flex: 1; /* Allow title to take available space */
    text-align: center;
  }
  
  .FishDataHeader_navigation__EMA7M {
    width: 100%;
    justify-content: space-between;
  }
  
  .FishDataHeader_navLink__lH_Y5 {
    padding: 0.4rem 0.7rem; /* Smaller padding on mobile */
    font-size: 0.9rem; /* Smaller font size on mobile */
  }
  
  .FishDataHeader_selectors__DG4UQ {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem; /* Reduced gap between selectors */
    width: 100%;
  }
  
  .FishDataHeader_selectorGroup__I0G6X {
    min-width: auto;
  }
  
  /* Set proportional widths for the selector groups - NEW ORDER: Species/Dam/Time/Year */
  .FishDataHeader_selectorGroup__I0G6X:nth-child(1) {
    width: 28%; /* Species selector - increased for "All Species" */
  }
  
  .FishDataHeader_selectorGroup__I0G6X:nth-child(2) {
    width: 28%; /* Dam selector */
  }
  
  .FishDataHeader_selectorGroup__I0G6X:nth-child(3) {
    width: 26%; /* Time filter */
  }
  
  .FishDataHeader_selectorGroup__I0G6X:nth-child(4) {
    width: 18%; /* Year selector */
  }
  

  
  /* Make all selectors fill their containers */
  .FishDataHeader_damSelector__y7MfF,
  .FishDataHeader_yearSelector__xQS9Z,
  .FishDataHeader_timeFilterSelector__pMCFd,
  .FishDataHeader_runDatesDisplay__4GuUs {
    width: 100%;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .FishDataHeader_header__FMWVc h1 {
    font-size: 1.2rem; /* Even smaller font size on very small screens */
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
  }
  
  .FishDataHeader_navLink__lH_Y5 {
    padding: 0.3rem 0.5rem; /* Even smaller padding on very small screens */
    font-size: 0.8rem; /* Even smaller font size on very small screens */
  }
  
  .FishDataHeader_selector__Yj6_F {
    padding: 6px 8px;
    font-size: 0.8rem;
  }
  
  .FishDataHeader_selectorGroup__I0G6X label {
    font-size: 0.9rem;
  }
  
  /* For mobile portrait mode, stack the title parts */
  .FishDataHeader_damNamePart__kc5bm, .FishDataHeader_titlePart__E3qCd {
    display: block;
  }
  
  .FishDataHeader_damNamePart__kc5bm {
    margin-bottom: 4px;
  }
}

/* Run toggle styles - Compact design */
.FishDataHeader_runToggles__dJ6nA {
  display: flex;
  gap: 0.25rem;
  flex-wrap: nowrap;
  padding: 0.4rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #f8f9fa;
  align-items: center;
  justify-content: center;
}

.FishDataHeader_runToggle__hpxSa {
  padding: 0.2rem 0.5rem;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #666;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-width: 50px;
}

.FishDataHeader_runToggle__hpxSa:hover {
  border-color: #2a5885;
  color: #2a5885;
}

.FishDataHeader_runToggleActive__yWDkN {
  background-color: #2a5885 !important;
  border-color: #2a5885 !important;
  color: white !important;
}

.FishDataHeader_runToggleActive__yWDkN:hover {
  background-color: #1e446d !important;
  border-color: #1e446d !important;
}

.FishDataHeader_runResetButton___jmnQ {
  padding: 0.2rem 0.5rem;
  border: 1px solid #dc3545;
  background-color: #fff;
  color: #dc3545;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-left: 0.2rem;
}

.FishDataHeader_runResetButton___jmnQ:hover {
  background-color: #dc3545;
  color: white;
}

/* Run toggles section for desktop - inline with selectors */
.FishDataHeader_runTogglesSection__tYNt0 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 0;
  margin-top: -52px;
  margin-bottom: -32px;
  gap: 0rem;
  width: auto;
}

.FishDataHeader_runToggleGroup__S75tl {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: auto;
}

.FishDataHeader_runLabel__s9LHs {
  font-size: 0.8rem;
  font-style: italic;
  font-weight: normal;
  color: #666;
  white-space: nowrap;
  text-align: center;
  width: 100%;
}

/* Desktop layout: selectors and run toggles in same row */
.FishDataHeader_selectorsAndRuns__KKeMd {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 1rem;
}

/* Mobile responsive adjustments for run toggles - Extra compact */
@media (max-width: 768px) {
  .FishDataHeader_selectorsAndRuns__KKeMd {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .FishDataHeader_runTogglesSection__tYNt0 {
    margin-left: 0;
    margin-top: -1.2rem;
    margin-bottom: -0.8rem;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0rem;
  }
  
  .FishDataHeader_runToggleGroup__S75tl {
    width: 100%;
    justify-content: center;
  }
  
  .FishDataHeader_runToggles__dJ6nA {
    padding: 0.3rem;
    gap: 0.2rem;
    justify-content: center;
    overflow-x: auto;
    width: 100%;
  }
  
  .FishDataHeader_runToggle__hpxSa,
  .FishDataHeader_runResetButton___jmnQ {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    min-width: 45px;
    border-radius: 10px;
  }
}

/* Year Comparison styles */
.FishDataHeader_yearComparisonLabel__TCfth {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 0.7rem;
  font-style: italic;
  font-weight: normal;
  color: #666;
  text-align: center;
  margin-left: 1.5rem;
}

.FishDataHeader_yearComparisonCheckbox__Ui17x {
  width: 12px;
  height: 12px;
  cursor: pointer;
}

.FishDataHeader_yearComparisonText__YoDRA {
  user-select: none;
}

.FishDataHeader_noComparisonData__iR_tL {
  font-size: 0.7rem;
  color: #999;
}

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

.FavoritesToggle_toggleLabel__FKWHD {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  user-select: none;
}

.FavoritesToggle_labelText__I3Gr_ {
  font-size: 0.9rem;
  white-space: nowrap;
}

.FavoritesToggle_toggleContainer__pnEyu {
  position: relative;
  width: 40px;
  height: 20px;
  cursor: pointer;
}

.FavoritesToggle_toggleInput__UH8z2 {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

.FavoritesToggle_toggleSlider__PUoPa {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 20px;
  z-index: 1;
}

.FavoritesToggle_toggleSlider__PUoPa:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.FavoritesToggle_toggleInput__UH8z2:checked + .FavoritesToggle_toggleSlider__PUoPa {
  background-color: #0077b6;
}

.FavoritesToggle_toggleInput__UH8z2:checked + .FavoritesToggle_toggleSlider__PUoPa:before {
  transform: translateX(20px);
}

.FavoritesToggle_toggleInput__UH8z2:disabled + .FavoritesToggle_toggleSlider__PUoPa {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.FavoritesToggle_toggleContainer__pnEyu:has(.FavoritesToggle_toggleInput__UH8z2:disabled) {
  cursor: not-allowed;
}

.FavoritesToggle_toggleLabel__FKWHD:has(.FavoritesToggle_toggleInput__UH8z2:disabled) {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .FavoritesToggle_labelText__I3Gr_ {
    font-size: 0.8rem;
  }
  
  .FavoritesToggle_toggleContainer__pnEyu {
    width: 36px;
    height: 18px;
  }
  
  .FavoritesToggle_toggleSlider__PUoPa:before {
    height: 12px;
    width: 12px;
  }
  
  .FavoritesToggle_toggleInput__UH8z2:checked + .FavoritesToggle_toggleSlider__PUoPa:before {
    transform: translateX(18px);
  }
}

.FavoritesDrawer_drawer__OZyzZ {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(calc(100% - 45px));
  transition: transform 0.3s ease-in-out;
  z-index: 1001;
  max-height: 70vh;
  overflow: hidden;
}

.FavoritesDrawer_drawerOpen__PTI1g {
  transform: translateY(0);
}

.FavoritesDrawer_overlay__ddS_v {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.FavoritesDrawer_handle__rXGpt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  cursor: pointer;
  background: #333;
  color: white;
  border-radius: 20px 20px 0 0;
  user-select: none;
  position: sticky;
  top: 0;
  z-index: 10;
}

.FavoritesDrawer_handleBar__08KHr {
  width: 40px;
  height: 4px;
  background: white;
  border-radius: 2px;
  opacity: 0.7;
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
}

.FavoritesDrawer_handleText__pnyKD {
  font-size: 0.9rem;
  font-weight: 500;
}

.FavoritesDrawer_content__wkwVs {
  padding: 0 2rem 2rem;
  max-height: calc(80vh - 80px);
  overflow-y: auto;
}

.FavoritesDrawer_header__o4Qjg {
  text-align: center;
  margin-bottom: 2rem;
}

.FavoritesDrawer_header__o4Qjg h3 {
  color: #0077b6;
  margin-bottom: 0.5rem;
}

.FavoritesDrawer_loginPrompt___wMUs {
  color: #666;
  font-size: 0.9rem;
}

.FavoritesDrawer_loginPrompt___wMUs a {
  color: #0077b6;
  text-decoration: none;
  font-weight: 600;
}

.FavoritesDrawer_loginPrompt___wMUs a:hover {
  text-decoration: underline;
}

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

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

.FavoritesDrawer_settingGroup__VA_An label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.FavoritesDrawer_settingGroup__VA_An select {
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.FavoritesDrawer_settingGroup__VA_An select:focus {
  outline: none;
  border-color: #0077b6;
}

.FavoritesDrawer_settingGroup__VA_An select:disabled {
  background-color: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

.FavoritesDrawer_note__MH8cn {
  color: #666;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  font-style: italic;
}

.FavoritesDrawer_statusMessage__cYXok {
  padding: 0.75rem;
  border-radius: 4px;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.FavoritesDrawer_success__5nZ0e {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.FavoritesDrawer_error__3Gc_l {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.FavoritesDrawer_info__Q04LP {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.FavoritesDrawer_actions__RJ8Uk {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
}

.FavoritesDrawer_toggleGroup__NkkCg {
  display: flex;
  align-items: center;
}

.FavoritesDrawer_toggleLabel__Zo3zy {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
}

.FavoritesDrawer_toggleContainer__QZMiG {
  position: relative;
  width: 50px;
  height: 24px;
  cursor: pointer;
}

.FavoritesDrawer_toggleInput__hrRoK {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

.FavoritesDrawer_toggleSlider__Yc0cD {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 24px;
  z-index: 1;
}

.FavoritesDrawer_toggleSlider__Yc0cD:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.FavoritesDrawer_toggleInput__hrRoK:checked + .FavoritesDrawer_toggleSlider__Yc0cD {
  background-color: #0077b6;
}

.FavoritesDrawer_toggleInput__hrRoK:checked + .FavoritesDrawer_toggleSlider__Yc0cD:before {
  transform: translateX(26px);
}

.FavoritesDrawer_toggleInput__hrRoK:disabled + .FavoritesDrawer_toggleSlider__Yc0cD {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.FavoritesDrawer_toggleContainer__QZMiG:has(.FavoritesDrawer_toggleInput__hrRoK:disabled) {
  cursor: not-allowed;
}

.FavoritesDrawer_toggleLabel__Zo3zy:has(.FavoritesDrawer_toggleInput__hrRoK:disabled) {
  cursor: not-allowed;
  opacity: 0.6;
}

.FavoritesDrawer_toggleButton__70Non {
  padding: 0.75rem 1.5rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.FavoritesDrawer_toggleOn__FntPe {
  background-color: #0077b6;
  color: white;
  border-color: #0077b6;
}

.FavoritesDrawer_toggleOn__FntPe:hover {
  background-color: #005d8c;
  border-color: #005d8c;
}

.FavoritesDrawer_toggleOff__jwgsy {
  background-color: #f8f9fa;
  color: #666;
  border-color: #ddd;
}

.FavoritesDrawer_toggleOff__jwgsy:hover {
  background-color: #e9ecef;
  border-color: #ccc;
}

.FavoritesDrawer_toggleButton__70Non:disabled {
  background-color: #f5f5f5;
  color: #999;
  border-color: #e0e0e0;
  cursor: not-allowed;
}

.FavoritesDrawer_loadButton__EF20F, .FavoritesDrawer_saveButton__Q0OFj {
  background: #ff9500;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
}

.FavoritesDrawer_loadButton__EF20F {
  background: #0077b6;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.FavoritesDrawer_loadButton__EF20F:hover:not(:disabled) {
  background: #005a8a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
}

.FavoritesDrawer_saveButton__Q0OFj:hover:not(:disabled) {
  background: #ff7b00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 149, 0, 0.4);
}

.FavoritesDrawer_loadButton__EF20F:disabled, .FavoritesDrawer_saveButton__Q0OFj:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.FavoritesDrawer_footerInfo__iU_M8 {
  text-align: center;
  border-top: 1px solid #e0e0e0;
  padding-top: 1rem;
  margin-top: 1rem;
  color: #666;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .FavoritesDrawer_settings__QZnG_ {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .FavoritesDrawer_content__wkwVs {
    padding: 0 1rem 1rem;
  }
  
  .FavoritesDrawer_drawer__OZyzZ {
    transform: translateY(calc(100% - 40px));
    max-height: 80vh;
  }
  
  .FavoritesDrawer_drawerOpen__PTI1g {
    transform: translateY(0) !important;
  }
  
  .FavoritesDrawer_handle__rXGpt {
    padding: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  .FavoritesDrawer_handleText__pnyKD {
    font-size: 0.8rem;
  }
}

@media (max-width: 430px) {
  .FavoritesDrawer_settingGroup__VA_An select {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
  
  .FavoritesDrawer_actions__RJ8Uk {
    flex-direction: row;
    gap: 0.5rem;
    justify-content: space-between;
  }
  
  .FavoritesDrawer_loadButton__EF20F, .FavoritesDrawer_saveButton__Q0OFj {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .FavoritesDrawer_drawer__OZyzZ {
    transform: translateY(calc(100% - 35px)) !important;
    max-height: 85vh !important;
    border-radius: 15px 15px 0 0;
    bottom: 0 !important;
    position: fixed !important;
  }
  
  .FavoritesDrawer_drawerOpen__PTI1g {
    transform: translateY(0) !important;
  }
  
  .FavoritesDrawer_content__wkwVs {
    max-height: calc(95vh - 70px);
  }
}

/* Saved Favorites Styles */
.FavoritesDrawer_savedFavoritesSection__gpl_z {
  margin: 1.5rem 0;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.FavoritesDrawer_savedFavoritesTitle__xRKVG {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.FavoritesDrawer_savedFavoritesList__28N9C {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.FavoritesDrawer_savedFavoriteItem__XS8ob {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: white;
  border-radius: 6px;
  border: 1px solid #dee2e6;
}

.FavoritesDrawer_favoriteDetails__U_0Tm {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.FavoritesDrawer_favoriteLabel__Tumb1 {
  font-weight: 500;
  color: #333;
  font-size: 0.9rem;
}

.FavoritesDrawer_favoriteDate__tsZQo {
  color: #666;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.FavoritesDrawer_deleteButton__Zh6mG {
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  margin-left: 0.5rem;
}

.FavoritesDrawer_deleteButton__Zh6mG:hover {
  background: #c82333;
}

.FavoritesDrawer_clearAllButton__oyrYJ {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  width: 100%;
}

.FavoritesDrawer_clearAllButton__oyrYJ:hover {
  background: #c82333;
}

/* Theme Toggle Styles */
.FavoritesDrawer_themeToggleLabel__Nc8Jj {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  font-weight: 600;
  color: #333;
}

.FavoritesDrawer_themeToggleContainer__68I2_ {
  display: flex;
  align-items: center;
}

.FavoritesDrawer_themeToggleButton__CvipI {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  min-width: 80px;
}

.FavoritesDrawer_themeToggleButton__CvipI:hover {
  border-color: #0077b6;
  background: #f8f9fa;
}

.FavoritesDrawer_themeToggleButton__CvipI:focus {
  outline: none;
  border-color: #0077b6;
  box-shadow: 0 0 0 2px rgba(0, 119, 182, 0.2);
}

.FavoritesDrawer_themeIcon__I9axP {
  font-size: 1.1rem;
  line-height: 1;
}

.FavoritesDrawer_themeText__CrEuD {
  font-weight: 500;
  color: #333;
}

/* Dark mode support */
.dark .FavoritesDrawer_drawer__OZyzZ {
  background: #1f2937;
  color: #f3f4f6;
}

.dark .FavoritesDrawer_handle__rXGpt {
  background: #111827;
}

.dark .FavoritesDrawer_settingGroup__VA_An label {
  color: #f3f4f6;
}

.dark .FavoritesDrawer_settingGroup__VA_An select {
  background: #374151;
  color: #f3f4f6;
  border-color: #4b5563;
}

.dark .FavoritesDrawer_themeToggleLabel__Nc8Jj {
  color: #f3f4f6;
}

.dark .FavoritesDrawer_themeToggleButton__CvipI {
  background: #374151;
  border-color: #4b5563;
  color: #f3f4f6;
}

.dark .FavoritesDrawer_themeToggleButton__CvipI:hover {
  background: #4b5563;
  border-color: #60a5fa;
}

.dark .FavoritesDrawer_themeText__CrEuD {
  color: #f3f4f6;
}

.dark .FavoritesDrawer_statusMessage__cYXok.FavoritesDrawer_success__5nZ0e {
  background-color: #064e3b;
  color: #86efac;
  border-color: #047857;
}

.dark .FavoritesDrawer_statusMessage__cYXok.FavoritesDrawer_error__3Gc_l {
  background-color: #7f1d1d;
  color: #fca5a5;
  border-color: #dc2626;
}

.dark .FavoritesDrawer_statusMessage__cYXok.FavoritesDrawer_info__Q04LP {
  background-color: #0c4a6e;
  color: #7dd3fc;
  border-color: #0284c7;
}

