.birth-date-native--hidden { display: none !important; }

.birth-pick {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
.birth-pick:not([hidden]) { display: grid; }

@media (max-width: 768px) {
  .input-row .birth-field-group,
  .birth-row .birth-field-group {
    grid-column: 1 / -1;
  }
}

.birth-field-group {
  --birth-pick-bg: rgba(245, 240, 232, 0.08);
  --birth-pick-border: rgba(200, 169, 110, 0.2);
  --birth-pick-color: #f5f0e8;
  --birth-pick-placeholder: rgba(245, 240, 232, 0.45);
  --birth-pick-chip-bg: rgba(200, 169, 110, 0.15);
  --birth-pick-chip-color: #c8a96e;
}

.birth-field-group--light {
  --birth-pick-bg: #f5f0e8;
  --birth-pick-border: rgba(139, 111, 71, 0.15);
  --birth-pick-color: #2c1f0e;
  --birth-pick-placeholder: #9a8570;
  --birth-pick-chip-bg: rgba(200, 169, 110, 0.2);
  --birth-pick-chip-color: #8b6f47;
}

.birth-pick-btn {
  appearance: none;
  -webkit-appearance: none;
  background: var(--birth-pick-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c8a96e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 8px center;
  background-size: 10px 6px;
  border: 1px solid var(--birth-pick-border);
  border-radius: 8px;
  color: var(--birth-pick-color);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  padding: 10px 22px 10px 10px;
  min-height: 44px;
  width: 100%;
  min-width: 0;
  cursor: pointer;
  text-align: left;
}
.birth-pick-btn:focus {
  border-color: var(--birth-pick-chip-color);
  box-shadow: 0 0 0 2px rgba(200, 169, 110, 0.2);
}
.birth-pick-btn.is-placeholder { color: var(--birth-pick-placeholder); }

.birth-picker-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.birth-picker-backdrop[hidden] { display: none !important; }
.birth-picker-backdrop.is-open { display: flex; }
.birth-picker-sheet {
  width: 100%;
  max-width: 420px;
  max-height: min(72vh, 540px);
  background: #faf8f4;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
}
.birth-picker-head {
  padding: 14px 18px 10px;
  border-bottom: 1px solid rgba(42, 32, 24, 0.1);
  font-size: 15px;
  font-weight: 600;
  color: #2a2018;
  text-align: center;
}
.birth-picker-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.birth-picker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 20px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 17px;
  color: #2a2018;
  cursor: pointer;
  text-align: left;
}
.birth-picker-item:hover { background: rgba(200, 169, 110, 0.12); }
.birth-picker-item.is-selected { font-weight: 600; background: rgba(200, 169, 110, 0.18); }
.birth-picker-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(42, 32, 24, 0.35);
  flex-shrink: 0;
}
.birth-picker-item.is-selected .birth-picker-radio {
  border-color: #3b6fd9;
  background: radial-gradient(circle at center, #3b6fd9 0 5px, transparent 6px);
}
