.mood-selector_quick-select-option svg {
  width: 30px;
  height: 30px;
}

.mood-scale_interactive-area {
  cursor: pointer;
}

.mood-scale_content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mood-scale_face-wrapper {
  flex-shrink: 0;
  flex-grow: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Align to top to prevent centering shift */
  order: 2;
}

.mood-scale_face-container {
  cursor: pointer;
  user-select: none;
}

.mood-scale_side-info {
  width: 100%;
  padding: 0;
  text-align: center;
}

.mood-scale_side-info--left {
  /* Hide left side info - not used in new layout */
  display: none;
}

.mood-scale_side-info--right {
  /* Hide right side info - not used in new layout */
  display: none;
}

.mood-scale_side-info--top {
  order: 1;
  margin-bottom: 8px;
}

.mood-scale_side-info--bottom {
  order: 3;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mood-scale_mood-label {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
  margin-bottom: 4px;
}

.mood-scale_mood-description {
  font-size: 14px;
  font-weight: 400;
  color: #555;
  margin-bottom: 8px;
  line-height: 1.4;
}

.mood-scale_mood-score {
  font-size: 16px;
  font-weight: 600;
  color: #666;
}

.mood-scale_display-container {
  padding: 16px 0;
}
/* Mobile adjustments for better display on small screens */
@media screen and (max-width: 480px) {
  .mood-scale_mood-label {
    font-size: 18px;
  }

  .mood-scale_mood-description {
    font-size: 13px;
  }
}

.mood-scale_slider-wrapper {
  position: relative;
  margin-top: 30px;
}

.mood-selector_quick-select-option {
  position: absolute;
  top: 0;
  opacity: 0.5;
  cursor: pointer;
}

.mood-selector_quick-select-option--selected {
  opacity: 1;
}

.mood-selector_quick-select-option-wrapper {
  position: absolute;
  top: 0;
  width: 1px;
  cursor: pointer;
}

.mood-selector_quick-select-option-wrapper[data-mood-value="-100"] {
  left: 7px;
}

.mood-selector_quick-select-option-wrapper[data-mood-value="-50"] {
  left: calc(25% + 4px);
}

.mood-selector_quick-select-option-wrapper[data-mood-value="0"] {
  left: 50%;
}

.mood-selector_quick-select-option-wrapper[data-mood-value="50"] {
  left: calc(75% - 4px);
}

.mood-selector_quick-select-option-wrapper[data-mood-value="100"] {
  right: 7px;
}

.mood-selector_quick-select-option {
  position: relative;
  left: -15px;
  display: inline-block;
  width: 1px;
}

.mood-scale_range-selector {
  width: 100%;
}

button.diary-day-mood {
  background: transparent;
  border: 0px solid transparent;
  opacity: 0.8;
}

button.diary-day-mood:hover {
  opacity: 1;
}

.mood-scale_left-eye, .mood-scale_right-eye {
  transition:
    cy 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    ry 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cy: 40;
  ry: 6;
}

.mood-scale_left-eye-reflection {
  cx: 37;
  cy: 37;
}

.mood-scale_right-eye-reflection {
  cx: 67;
  cy: 37;
}


/* Wink state for right eye */
.mood-scale--wink-right .mood-scale_right-eye {
  transition:
    cy 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    ry 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cy: 40; /* Adjust vertical position to keep it aligned */
  ry: 1; /* Set ry to 0 to make it look like a line */
}

.mood-scale--wink-right .mood-scale_right-eye-reflection {
  /* Hide the reflection when the eye is closed */
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0; /* Hide the reflection when the eye is closed */
}

.mood-scale--wink-left .mood-scale_left-eye {
  transition:
    cy 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    ry 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cy: 40; /* Adjust vertical position to keep it aligned */
  ry: 1; /* Set ry to 0 to make it look like a line */
}

.mood-scale--wink-left .mood-scale_left-eye-reflection {
  /* Hide the reflection when the eye is closed */
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0; /* Hide the reflection when the eye is closed */
}

.mood-scale--blink .mood-scale_right-eye,
.mood-scale--blink .mood-scale_left-eye {
  transition:
    cy 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    ry 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cy: 40; /* Adjust vertical position to keep it aligned */
  ry: 1; /* Set ry to 0 to make it look like a line */
}

.mood-scale--blink .mood-scale_right-eye-reflection,
.mood-scale--blink .mood-scale_left-eye-reflection {
  /* Hide the reflection when the eye is closed */
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0; /* Hide the reflection when the eye is closed */
}

@keyframes bubbleFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.bubble--fade-out-on-load {
  opacity: 1;
  animation: bubbleFadeOut 2s ease 1s forwards;
}

/* Info text positioning within the background area */
[data-mood-scale-target="infoText"] {
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease;
}

[data-mood-scale-target="infoText"].show {
  margin-top: 8px;
  max-height: 30px;
  opacity: 1;
}

[data-mood-scale-target="infoText"].fade-out {
  opacity: 0;
}
