/* ----------------------------------------
   ENTRY PAGE
----------------------------------------- */

/* ----------------------------------------
   MOOD HUE SLIDER
----------------------------------------- */

.hue-slider-wrapper {
  margin-top: 1rem;
}

.hue-slider {
  width: 100%;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

/* WebKit track */
.hue-slider::-webkit-slider-runnable-track {
  height: 10px;
  background: linear-gradient(to right, var(--hue-gradient-start), var(--hue-gradient-end));
  border-radius: 999px;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 4px var(--shadow-color-strong);
}

/* WebKit thumb */
.hue-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 2px solid var(--secondary-color);
  cursor: pointer;
  margin-top: -6px;
}

/* Firefox track */
.hue-slider::-moz-range-track {
  height: 10px;
  background: linear-gradient(to right, var(--hue-gradient-start), var(--hue-gradient-end));
  border-radius: 999px;
  border: 2px solid var(--primary-color);
}

/* Firefox thumb */
.hue-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  cursor: pointer;
}


/* ----------------------------------------
   EMOTION WORDS
----------------------------------------- */

.form-section-hint {
  font-size: 0.85rem;
  color: var(--hint-text-color);
  opacity: 0.8;
  margin: 0.1rem 0 0.5rem;
}

/* Outer wrapper */
.emotion-select-wrapper {
  width: 100%;
  margin-top: 0.5rem;
}

/* Scroll box */
.emotion-list {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  background: var(--secondary-color);
  padding: 0;
}

/* Each row */
.emotion-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  font-family: var(--primary-font);
  font-size: 0.95rem;
  color: var(--primary-color);
  border-bottom: 1px solid var(--divider-border);
}

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

/* Checkbox styling */
.emotion-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  cursor: pointer;
}


/* Helper text */
.emotion-helper {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--hint-text-color);
  opacity: 0.85;
}

/* ----------------------------------------
   Notes section
----------------------------------------- */

.notes-box {
  margin-top: 1rem;
}
