/* LevelCard.module.css */

.LevelCard_levelCard__UUVet {
  display: flex;
  flex-direction: column;
  /* Align content vertically */
  justify-content: center;
  /* Center content vertically */
  min-height: 64px;
  min-width: 64px;

  /* Padding will be reduced for smaller screens. */
  padding: 16px;

  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
  color: white;
  text-decoration: none;
  position: relative;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  text-align: center;
  /* Center standard IDs */
}

.LevelCard_levelCardContent__FrPJI {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

/* For music cards, align content to the start (left) */
.LevelCard_levelCard__UUVet.LevelCard_isMusic__ORjRE {
  text-align: left;
}

.LevelCard_levelCard__UUVet.LevelCard_isMusic__ORjRE .LevelCard_levelCardContent__FrPJI {
  justify-content: flex-start;
}

/* --- CONTENT STYLES --- */

.LevelCard_cardStandardId__Mio0D {
  font-size: 28px;
  font-weight: bold;
}

.LevelCard_cardDetails__u_w2g {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.LevelCard_cardTitle__PbKzG {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.LevelCard_cardSubtitle__djg0y {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.LevelCard_cardMusicDuration___N_Yi {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* --- STATES --- */

.LevelCard_levelCard__UUVet.LevelCard_unlocked__0mujJ {
  cursor: pointer;
}

.LevelCard_levelCard__UUVet.LevelCard_unlocked__0mujJ:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.LevelCard_levelCard__UUVet.LevelCard_locked__EUzm6 {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
}


.LevelCard_levelCard__UUVet.LevelCard_locked__EUzm6 .LevelCard_cardTitle__PbKzG,
.LevelCard_levelCard__UUVet.LevelCard_locked__EUzm6 .LevelCard_cardSubtitle__djg0y,
.LevelCard_levelCard__UUVet.LevelCard_locked__EUzm6 .LevelCard_cardMusicDuration___N_Yi {
  color: rgba(255, 255, 255, 0.7);
}

.LevelCard_lockIcon__GyNMo {
  font-size: 24px;
}

.LevelCard_levelCard__UUVet.LevelCard_unavailable__SZyFk {
  background-color: rgba(0, 0, 0, 0.4);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
}

/* --- NEW STAR STYLES --- */

.LevelCard_starRatingContainer__VI2uX {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin-top: 12px;
  /* Gold color for filled/half-filled stars */
  color: #ffc700;
}
.LoadingSimplePage_iconLoader___Tqo3 {
  animation: LoadingSimplePage_spin__3n0zT 0.75s linear infinite;
  color: white;
}

/* Animation for the spinner */
@keyframes LoadingSimplePage_spin__3n0zT {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
.BaseContainer_baseContainer__BB4zN {
  position: relative;

  max-width: 400px;

  margin: 20px auto 64px auto;

  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  color: white
}
.Overlay_overlay__rKX6G {
  /* XXX: Height, width, top, left are set on the Overlay component */
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: flex-start;

  z-index: 10000;

  overflow-y: auto;
}

.Overlay_overlayContent__KmRlH {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  /* I don't get why you had 80% here? For small screens, just use padding. */
  /* width: 80%; */
  width: 100%;
  max-width: 700px;
  color: white;
  padding: 16px 16px 48px 16px;

  /* New stuff: */
  height: 100%;

  box-sizing: border-box;
  /* Highly recommended, especially with height: 100% and padding */
}

.Overlay_overlayTitle__Eq3Jp {
  font-size: 32px;
  margin-bottom: 24px;
  text-align: center;
}

.Overlay_overlayChildrenContainer__9jy_5 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  margin-bottom: 16px;
}

.Overlay_overlayCloseButton__16_Pi {
  position: absolute;
  top: 15px;
  right: 25px;
  background: none;
  border: none;
  font-size: 40px;
  color: white;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  z-index: 10001;
  /* Ensure it's above content */

  -webkit-user-select: none;

     -moz-user-select: none;

          user-select: none;
}

.Overlay_overlayCloseButton__16_Pi:hover {
  color: #ccc;
}
.OverlayButton_overlayButton__d_c_I {
  padding: 12px 24px;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  border-radius: 4px;
  cursor: pointer;

  font-size: 20px;
  font-weight: 600;

  transition: background-color 0.3s, color 0.3s;
}

.OverlayButton_overlayButton__d_c_I:hover {
  background-color: white;
  color: black;
}

.OverlayButton_overlayButton__d_c_I:disabled {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;

  transition: none !important;
}

.OverlayButton_overlayButton__d_c_I:disabled:hover {
  background-color: transparent !important;
  color: rgba(255, 255, 255, 0.5) !important;

  transition: none !important;
}
.OverlayButtonContainer_overlayButtonContainer__tE5Os {
  display: flex;
  justify-content: center;
  /* align-items: center; */
  flex-direction: column;

  min-width: 250px;
  gap: 16px;

  margin: 24px 0;
}
.OverlayText_overlayText__Ero7M {
  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;

  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  margin: 8px;
}
/* Checkbox.css file: */

.Checkbox_checkboxContainer__RXkZ7 {
  margin-bottom: 18px;
}

.Checkbox_checkboxLabel__D_g6z {
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.Checkbox_checkboxInput__yawpo {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.Checkbox_checkboxCustom__EU8cT {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 4px;
  margin-right: 10px;
  transition: all 0.25s ease;

  flex-shrink: 0;
  flex-grow: 0;
}

.Checkbox_checkboxInput__yawpo:checked~.Checkbox_checkboxCustom__EU8cT {
  background-color: #4a90e2;
  border-color: #4a90e2;
}

.Checkbox_checkboxCustom__EU8cT:after {
  content: "";
  position: absolute;
  display: none;
  left: 8px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.Checkbox_checkboxInput__yawpo:checked~.Checkbox_checkboxCustom__EU8cT:after {
  display: block;
}

.Checkbox_checkboxText__HeJ9z {
  font-size: 16px;
}

/* --- ADDED STYLES FOR DISABLED STATE --- */
.Checkbox_checkboxContainer__RXkZ7.Checkbox_disabled__1Az2I .Checkbox_checkboxLabel__D_g6z {
  cursor: not-allowed;
  color: #9ca3af;
  opacity: 0.8;
}

.Checkbox_checkboxContainer__RXkZ7.Checkbox_disabled__1Az2I .Checkbox_checkboxCustom__EU8cT {
  background-color: #e9e9e9;
  border-color: #ccc;
}

.Checkbox_checkboxContainer__RXkZ7.Checkbox_disabled__1Az2I .Checkbox_checkboxInput__yawpo:checked~.Checkbox_checkboxCustom__EU8cT {
  background-color: #ccc;
}
.Dropdown_dropdownContainer__hOVyz {
  position: relative;
  width: 100%;
  margin-bottom: 18px;
}

.Dropdown_dropdownLabel__0T_ol {
  display: block;
  margin-bottom: 6px;
}

.Dropdown_dropdownWrapper__gnGX5 {
  position: relative;
  width: 100%;
}

.Dropdown_dropdownSelect__by6us {
  width: 100%;
  padding: 8px 32px 8px 12px;
  /* Add extra padding on the right for the icon */
  appearance: none;
  /* Remove default arrow in some browsers */
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  font-size: 14px;
}

.Dropdown_dropdownIcon__kKe_d {
  display: flex;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  /* Makes the icon non-interactive so clicks pass through to select */
  color: #6b7280;
  /* A neutral gray color for the icon */
}

/* Optional: Style for when dropdown is focused */
.Dropdown_dropdownSelect__by6us:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.2);
}

/* Optional: Hover effect */
.Dropdown_dropdownSelect__by6us:hover:not(:disabled) {
  border-color: #9ca3af;
}

/* Disabled state styling */
.Dropdown_dropdownDisabled__vZawx .Dropdown_dropdownLabel__0T_ol {
  color: #9ca3af;
  opacity: 0.8;
}

.Dropdown_dropdownSelect__by6us:disabled {
  background-color: #f3f4f6;
  border-color: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.8;
}

.Dropdown_dropdownDisabled__vZawx .Dropdown_dropdownIcon__kKe_d {
  opacity: 0.5;
}
.RadioButton_radioContainer__3QCFM {
  margin-bottom: 26px;

  display: flex;
  flex-direction: column;

  gap: 14px;
}

.RadioButton_radioGroupLabel__uWRJF {
  display: block;
  /* margin-bottom: 8px; */
}

.RadioButton_radioGroup___5MEb {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.RadioButton_radioLabel__op_Vs {
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.RadioButton_radioInput___K3gR {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.RadioButton_radioCustom__6NLa1 {
  flex-shrink: 0;
  flex-grow: 0;

  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3334s ease;
}

.RadioButton_radioInput___K3gR:checked~.RadioButton_radioCustom__6NLa1 {
  border-color: #4a90e2;
}

.RadioButton_radioCustom__6NLa1:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #4a90e2;
}

.RadioButton_radioInput___K3gR:checked~.RadioButton_radioCustom__6NLa1:after {
  display: block;
}

.RadioButton_radioText__wV10k {
  font-size: 16px;
}
/* Slider.css */
.Slider_sliderContainer__goqrI {
  display: flex;
  gap: 18px;
  width: 100%;
}

.Slider_sliderWrapper__e3h2Y {
  position: relative;
  width: 100%;
  height: 24px;
  /* Height needed for alignment and input coverage */
  display: flex;
  align-items: center;
}

/* Visually hidden but accessible input - HIGHEST Z-INDEX */
.Slider_sliderInput__QGNeE {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Covers the wrapper height */
  opacity: 0;
  /* Make it invisible */
  cursor: pointer;
  margin: 0;
  padding: 0;
  z-index: 5;
  /* Ensure input is always on top to capture drag events */
}

/* The visual track */
.Slider_sliderTrack__UBtpR {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 6px;
  background-color: #ccc;
  border-radius: 3px;
  pointer-events: none;
  z-index: 1;
  /* Below filled track, thumb, value */
}

/* Filled part of the track */
.Slider_sliderTrackFilled__29P6F {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 6px;
  background-color: #4a90e2;
  border-radius: 3px;
  pointer-events: none;
  z-index: 2;
  /* Above base track */
}

/* The visual thumb/handle */
.Slider_sliderThumb__rp74m {
  position: absolute;
  top: 50%;
  /* 'left' style is set dynamically */
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-color: #fff;
  border: 2px solid #4a90e2;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  /* Clicks/drags go through to the input */
  transition: border-color 0.3s ease;
  /* Add left transition */
  z-index: 3;
  /* Above tracks */
}

/* Style thumb on input focus/hover */
.Slider_sliderInput__QGNeE:focus~.Slider_sliderThumb__rp74m,
.Slider_sliderInput__QGNeE:hover~.Slider_sliderThumb__rp74m {
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.2);
}

/* Value tooltip positioned above the thumb */
.Slider_sliderValueTooltip__Tlg6T {
  position: absolute;
  bottom: 30px;
  transform: translateX(-50%);
  background-color: #4a90e2;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  /* Still important */
  z-index: 4;
  opacity: 0;
  transition: opacity 0.2s ease;

  -webkit-user-select: none;

     -moz-user-select: none;

          user-select: none;
}

/* Show tooltip on hover/focus of the input */
.Slider_sliderInput__QGNeE:hover~.Slider_sliderValueTooltip__Tlg6T,
.Slider_sliderInput__QGNeE:focus~.Slider_sliderValueTooltip__Tlg6T,
.Slider_sliderInput__QGNeE:active~.Slider_sliderValueTooltip__Tlg6T {
  /* Show while dragging */
  opacity: 1;
}


/* Disabled state */
.Slider_sliderContainer__goqrI[data-disabled='true'] .Slider_sliderInput__QGNeE {
  cursor: not-allowed;
}

.Slider_sliderContainer__goqrI[data-disabled='true'] .Slider_sliderTrack__UBtpR {
  background-color: #e0e0e0;
}

.Slider_sliderContainer__goqrI[data-disabled='true'] .Slider_sliderTrackFilled__29P6F {
  background-color: #a0a0a0;
}

.Slider_sliderContainer__goqrI[data-disabled='true'] .Slider_sliderThumb__rp74m {
  border-color: #a0a0a0;
  background-color: #f5f5f5;
}

.Slider_sliderContainer__goqrI[data-disabled='true'] .Slider_sliderValueTooltip__Tlg6T {
  background-color: #a0a0a0;
  opacity: 0;
  /* Hide tooltip when disabled */
}

/* Hide tooltip if explicitly told not to show */
.Slider_sliderContainer__goqrI[data-show-tooltip='false'] .Slider_sliderValueTooltip__Tlg6T {
  display: none;
}
.VolumeSettings_volumeIconsAndSlider__WrlA2 {
  display: flex;
  align-items: center;
  gap: 18px;

  margin-top: 8px;
  margin-bottom: 18px;
}

.VolumeSettings_volumeIconsAndSlider__WrlA2 svg {
  flex-shrink: 0;
  flex-grow: 0;
}

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

  position: relative;
  left: 12px;
}

.VolumeSettings_volumeMax__HSQFX {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Page has a black-ish background. */

.WarningsAndErrorsDisplay_warningsErrorsContainer__7VMao {
  padding: 16px 16px 4px 16px;
  /* Increased margin for more separation */
  /* You might want a subtle background for the container itself if needed,
     or just let it blend with the page's black background.
     Example: background-color: rgba(255, 255, 255, 0.05);
              border-radius: 4px;
  */
}

.WarningsAndErrorsDisplay_messageItem__2yWsh {
  padding: 16px 20px;
  /* Increased padding */
  margin-bottom: 12px;
  /* Increased margin between items */
  border-left-width: 4px;
  border-left-style: solid;
  border-radius: 0 4px 4px 0;
  /* Rounded corners on the right */
  background-color: #222426;
  /* Dark background for items */
  color: #f0f0f0;
  /* Light grey text for general readability */
}

/* Default styling for paragraphs inside a message item.
   Specific classes below will override these where necessary.
   This helps reset browser default paragraph margins. */

/*
.warningsErrorsContainer p {
  margin-top: 0;
  margin-bottom: 0;
}
*/

.WarningsAndErrorsDisplay_warningItem__oR3zY {
  border-left-color: #ffcc00;
  /* Yellowish-orange for warning */
}

.WarningsAndErrorsDisplay_warningItem__oR3zY .WarningsAndErrorsDisplay_messageType__sS3aw {
  color: #ffcc00;
}

.WarningsAndErrorsDisplay_errorItem__yPBFl {
  border-left-color: #ff4d4d;
  /* Red for error */
}

.WarningsAndErrorsDisplay_errorItem__yPBFl .WarningsAndErrorsDisplay_messageType__sS3aw {
  color: #ff4d4d;
}

/* Style for the "Warning: TYPE" or "Error: TYPE" header */
.WarningsAndErrorsDisplay_messageType__sS3aw {
  font-size: 16px;
  /* Increased line-height */
  font-weight: bold;
  margin: 8px 0;
  /* Space below the type header */
}

/* Style for the main descriptive message */
.WarningsAndErrorsDisplay_messageText__bMXnx {
  font-size: 16px;
  line-height: 1.4em;
  /* Generous line-height for readability */
  margin-bottom: 16px;
  /* Space before solution or additional info */
}

/* Style for the paragraph containing the solution text */
.WarningsAndErrorsDisplay_solutionText__J3ZuE {
  font-size: 16px;
  line-height: 1.4em;
  /* margin-top is handled by the margin-bottom of the preceding element (.messageText) */
  margin-bottom: 8px;
  /* Generous space before additional info section */
}

/* Style for the "Possible solution:" part (the <strong> tag) */
.WarningsAndErrorsDisplay_possibleSolution__N9Ba_ {
  color: #4ade80;
  /* font-weight: bold; is inherent from <strong>, but can be explicit */
  /* text-decoration: wa; was invalid, removed. */
  /* If you need an underline: text-decoration: underline; */
  /* If you need a wavy underline: text-decoration: underline wavy #4ade80; */
}

/* Container for the whole "Additional Information" block */
.WarningsAndErrorsDisplay_additionalInfoSection__UD8V4 {
  /* margin-top is handled by the margin-bottom of the preceding element (.solutionText) */
  /* No specific margin-top needed here if it follows .solutionText */
}

/* Style for the "Additional Information:" header text */
.WarningsAndErrorsDisplay_additionalInfoHeader__KW3Uq {
  font-size: 16px;
  line-height: 1.4em;
  margin-bottom: 4px;
  /* Space between the header and the detailed content */
  /* The <strong> tag within will provide boldness */
}

/* Style for the actual content (renderer, vendor info) */
.WarningsAndErrorsDisplay_additionalTextContent__0OpnS {
  font-size: 14px;
  line-height: 1.4em;
  color: #999999;
  /* Lighter gray for better contrast on dark item background */
  margin-left: 8px;
  /* Indent detail info slightly more */
  font-style: italic;
  /* The white-space: pre-line; is applied inline in your component */
}
/* A container for the button to center it if needed */
.CameraSelectionSettings_buttonContainer__dJRT7 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.Settings_settingItem__5OQfj {}

.Settings_link__Cag91 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: white;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;

  /* This is the property you transition for variable fonts */
  transition: font-variation-settings 0.2s ease-in-out;
}

.Settings_link__Cag91 svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease-in-out;
}

/* --- HOVER EFFECT --- */
.Settings_link__Cag91:hover {
  /* Animate the 'wght' axis to a semi-bold value */
  /* font-variation-settings: 'wght' 550; */
}

.Settings_link__Cag91:hover svg {
  transform: translateX(4px);
}
.SettingsGroup_settingsGroup__rx7MN {
  margin-bottom: 32px;
}

.SettingsGroup_settingsGroup__rx7MN h2 {
  font-size: 24px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
  margin-top: 4px;
}
