/* Codex 2026-08-22: readable service select in booking form */
body .ksf.select.form__field {
  display: flex !important;
  flex-direction: column !important;
  position: relative;
}

body .ksf.select.form__field select.select__select,
body .ksf.select.form__field select.ksf.select__select {
  order: 2 !important;
  display: block !important;
  width: 100% !important;
  min-height: 50px !important;
  margin: 10px 0 0 !important;
  padding: 0 46px 0 18px !important;
  appearance: auto !important;
  -webkit-appearance: menulist !important;
  color: #fff8fa !important;
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  background: linear-gradient(135deg, rgba(36, 27, 34, 0.98), rgba(22, 18, 24, 0.98)) !important;
  border: 1px solid rgba(202, 112, 145, 0.58) !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
}

body .ksf.select.form__field select.select__select:focus,
body .ksf.select.form__field select.ksf.select__select:focus {
  outline: none !important;
  border-color: rgba(213, 126, 158, 0.82) !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28), 0 0 0 3px rgba(201, 105, 139, 0.16) !important;
}

body .ksf.select.form__field select.select__select option,
body .ksf.select.form__field select.ksf.select__select option {
  color: #fff8fa !important;
  background: #151015 !important;
}

body .ksf.select.form__field .select__label,
body .ksf.select.form__field .ksf.select__label {
  order: 1 !important;
  color: #f8eef2 !important;
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

body .ksf.select.form__field .select__inputbox,
body .ksf.select.form__field .ksf.select__inputbox {
  order: 3 !important;
  display: none !important;
  min-height: 50px !important;
  padding: 0 46px 0 18px !important;
  overflow: hidden !important;
  color: #fff8fa !important;
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  background: linear-gradient(135deg, rgba(36, 27, 34, 0.98), rgba(22, 18, 24, 0.98)) !important;
  border: 1px solid rgba(202, 112, 145, 0.58) !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
}

body .ksf.select.form__field .select__inputbox:hover,
body .ksf.select.form__field .ksf.select__inputbox:hover,
body .ksf.select.form__field .select__inputbox:focus,
body .ksf.select.form__field .ksf.select__inputbox:focus {
  border-color: rgba(213, 126, 158, 0.82) !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28), 0 0 0 3px rgba(201, 105, 139, 0.16) !important;
}

body .ksf.select.form__field .select__input,
body .ksf.select.form__field .ksf.select__input {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  color: #fff8fa !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

body .ksf.select.form__field .select__input::before,
body .ksf.select.form__field .ksf.select__input::before {
  content: attr(data-display-value);
  display: block;
  max-width: 100%;
  color: #fff8fa;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body .ksf.select.form__field .select__input[data-display-value=""]::before,
body .ksf.select.form__field .ksf.select__input[data-display-value=""]::before {
  content: "Выберите услугу";
  color: rgba(248, 238, 242, 0.78);
  font-weight: 600;
}

body .ksf.select.form__field .select__inputChevron,
body .ksf.select.form__field .ksf.select__inputChevron {
  right: 18px !important;
  color: #d78ca8 !important;
  opacity: 1 !important;
}

body .ksf.select.form__field .select__dropdown,
body .ksf.select.form__field .ksf.select__dropdown {
  z-index: 50 !important;
  margin-top: 8px !important;
  overflow: hidden !important;
  background: rgba(21, 16, 21, 0.98) !important;
  border: 1px solid rgba(202, 112, 145, 0.42) !important;
  border-radius: 10px !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34) !important;
}

body .ksf.select.form__field .select__listItem,
body .ksf.select.form__field .ksf.select__listItem {
  min-height: 42px !important;
  padding: 10px 18px !important;
  color: #fff8fa !important;
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  background: rgba(21, 16, 21, 0.98) !important;
  border-bottom: 1px solid rgba(202, 112, 145, 0.18) !important;
}

body .ksf.select.form__field .select__listItem:hover,
body .ksf.select.form__field .ksf.select__listItem:hover {
  color: #ffffff !important;
  background: rgba(194, 100, 134, 0.24) !important;
}

@media (max-width: 640px) {
  body .ksf.select.form__field select.select__select,
  body .ksf.select.form__field select.ksf.select__select {
    min-height: 48px !important;
    padding-left: 14px !important;
    padding-right: 32px !important;
    font-size: 14px !important;
  }

  body .ksf.select.form__field .select__inputbox,
  body .ksf.select.form__field .ksf.select__inputbox {
    min-height: 48px !important;
    padding-left: 16px !important;
    font-size: 15px !important;
  }

  body .ksf.select.form__field .select__label,
  body .ksf.select.form__field .ksf.select__label {
    font-size: 14px !important;
  }
}
