.picker-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.picker-wrap::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: var(--icon-chevron-right-16) no-repeat center / 16px 16px;
  opacity: 0.72;
  pointer-events: none;
}

.picker-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  cursor: pointer;
}

.picker-trigger:focus-visible {
  outline: none;
}

.picker-trigger--bare {
  min-height: 20px;
  padding: 0;
  border: none;
  background: transparent;
  color: #12151A;
  font-size: 14px;
  line-height: 20px;
  font-family: "PingFang SC", sans-serif;
}

.row-input .picker-trigger--bare {
  justify-content: flex-end;
}

.row-input .picker-trigger--bare .picker-text {
  text-align: right;
}

.picker-text {
  flex: 1;
  min-width: 0;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 24px;
}

.picker-wrap.is-placeholder .picker-text {
  color: #A9B0B8;
}

.picker-source {
  display: none !important;
}

body.sheet-open {
  overflow: hidden;
}

.picker-sheet {
  position: fixed;
  inset: 0;
  z-index: 320;
  pointer-events: none;
}

.picker-sheet__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.36);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.picker-sheet__panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 375px;
  max-width: 100vw;
  background: var(--color-bg-white, #FFFFFF);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 24px rgba(18, 21, 26, 0.14);
  overflow: hidden;
  transform: translate(-50%, 100%);
  transition: transform 0.24s ease;
  box-sizing: border-box;
}

.picker-sheet.is-visible {
  pointer-events: auto;
}

.picker-sheet.is-visible .picker-sheet__mask {
  opacity: 1;
}

.picker-sheet.is-visible .picker-sheet__panel {
  transform: translate(-50%, 0);
}

.picker-sheet__header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 20px;
  background: var(--color-bg-white, #FFFFFF);
  border-bottom: 1px solid rgba(18, 21, 26, 0.06);
}

.picker-sheet__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  color: var(--color-text-1, #12151A);
}

.picker-sheet__options {
  background: var(--color-bg-white, #FFFFFF);
}

.picker-sheet__option {
  position: relative;
  width: 100%;
  min-height: 56px;
  padding: 0 52px 0 20px;
  border: none;
  background: var(--color-bg-white, #FFFFFF);
  color: var(--color-text-1, #12151A);
  font-size: 15px;
  line-height: 22px;
  text-align: left;
  cursor: pointer;
}

.picker-sheet__option + .picker-sheet__option {
  border-top: 1px solid rgba(18, 21, 26, 0.06);
}

.picker-sheet__option.is-active {
  background: var(--color-bg-white, #FFFFFF);
  color: var(--color-primary, #1F69FF);
  font-weight: 600;
}

.picker-sheet__option.is-active::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 9.2L7.2 12.2L14 5.8' stroke='%231F69FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 18px 18px;
}

.picker-sheet__actions {
  display: flex;
  justify-content: flex-end;
  background: var(--color-bg-white, #FFFFFF);
  border-top: 1px solid rgba(18, 21, 26, 0.06);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}

.picker-sheet__actions.order-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.picker-sheet__actions .order-btn {
  flex: 1;
  min-width: 0;
  height: 36px;
  line-height: 34px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(18, 21, 26, 0.16);
  background: #FFFFFF;
  color: var(--color-text-2, #4B535C);
  font-size: 12px;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
}

.picker-sheet__actions .order-btn-primary {
  border: none;
  line-height: 36px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #4395FC 0%, #1F69FF 100%);
  box-shadow: none;
}
