/* 表单滑动选择器：日期 / 时间 / 省市区 */
.fp-root {
  position: absolute;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.fp-root[hidden] {
  display: none !important;
}

.fp-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 32, 0.45);
}

.fp-panel {
  position: relative;
  z-index: 1;
  background: #f6f1e7;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -12px 28px rgba(20, 24, 32, 0.2);
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  animation: fpUp 0.24s ease;
}

@keyframes fpUp {
  from { transform: translateY(28px); opacity: 0.55; }
  to { transform: translateY(0); opacity: 1; }
}

.fp-head {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  padding: 12px 14px 8px;
  border-bottom: 1px solid rgba(44, 50, 63, 0.06);
}

.fp-head h3 {
  text-align: center;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.fp-cancel,
.fp-ok {
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 6px 2px;
}

.fp-cancel {
  text-align: left;
  color: var(--ink-soft);
}

.fp-ok {
  text-align: right;
  color: var(--clay-deep);
  font-weight: 500;
}

.fp-cancel:active,
.fp-ok:active {
  opacity: 0.7;
}

.fp-wheels {
  position: relative;
  display: flex;
  height: 220px;
  margin: 8px 10px 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(246, 241, 231, 0.96), rgba(246, 241, 231, 0) 28%, rgba(246, 241, 231, 0) 72%, rgba(246, 241, 231, 0.96)),
    #f6f1e7;
  border-radius: 14px;
}

.fp-wheels::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 36px;
  margin-top: -18px;
  border-radius: 10px;
  background: rgba(200, 143, 122, 0.12);
  border: 1px solid rgba(200, 143, 122, 0.18);
  pointer-events: none;
  z-index: 2;
}

.fp-col {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;
}

.fp-col::-webkit-scrollbar {
  display: none;
}

.fp-spacer {
  height: 92px;
  flex-shrink: 0;
  scroll-snap-align: none;
}

.fp-item {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: rgba(44, 50, 63, 0.42);
  transition: color 0.12s ease, transform 0.12s ease;
}

.fp-item.is-active {
  color: var(--ink);
  font-weight: 500;
  transform: scale(1.04);
}

.mine-form-field input[data-picker] {
  cursor: pointer;
  caret-color: transparent;
  padding-right: 28px;
  background-color: var(--paper);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(44, 50, 63, 0.35) 50%),
    linear-gradient(135deg, rgba(44, 50, 63, 0.35) 50%, transparent 50%);
  background-position:
    calc(100% - 14px) 50%,
    calc(100% - 9px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.mine-form-field input[data-picker]::placeholder {
  color: rgba(44, 50, 63, 0.38);
  letter-spacing: 0.04em;
}

.mine-form-field {
  position: relative;
}
