/* 登录页 / 我的预约 / 就诊人 · 对应小程序 pages/login、pages/mine、pages/patients */

/* 隐藏态统一（.sheet 固定定位 / 自定义 display，必须显式覆盖） */
#patientSheet[hidden], #bookSheet[hidden],
#loginTip[hidden], .appt-detail[hidden] { display: none; }

/* 登录页：邮箱验证码输入行 */
#loginEmailPanel .field-input { min-width: 0; }
#loginEmailPanel .btn-small { flex: 0 0 auto; white-space: nowrap; }
#loginTip { display: block; margin: 8px 0 4px; color: var(--gold); font-size: 12px; }

/* 性别选择 */
.pill-row { display: flex; gap: 8px; flex: 1; }
.pill {
    min-width: 52px; height: 30px; line-height: 28px; padding: 0 12px;
    border: 1px solid var(--line); border-radius: 999px;
    background: #fff; color: var(--muted); font-size: 12.5px; text-align: center;
}
.pill.pill-active { border-color: var(--red); background: #fbece9; color: var(--red); font-weight: 600; }

/* 预约卡片（对应 mine.wxml 的 appt-card / history-item） */
.appt-card { padding: 12px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fffaf0; }
.appt-card:last-child { margin-bottom: 0; }
.appt-card .row + .row { margin-top: 8px; }
.appt-card .divider { margin: 10px 0; }
.appt-detail { display: block; margin-top: 8px; padding: 8px 10px; border-radius: 7px; background: #fbf6ea; font-size: 12px; color: var(--muted); line-height: 1.6; }
.history-item { padding: 9px 0; border-bottom: 1px solid #f0e9dd; font-size: 12.5px; }
.history-item:last-child { border-bottom: none; }
.history-item .row + .row { margin-top: 3px; }

/* 就诊人卡片 */
.patient-card { padding: 12px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.patient-card .row + .row { margin-top: 7px; }
.patient-ops { display: flex; gap: 16px; margin-top: 10px; }
.patient-ops button { border: none; background: transparent; padding: 2px 0; font-size: 12.5px; }

/* 弹层表单 */
#patientSheet .field, #bookSheet .field { font-size: 13px; }
#patientSheet .btn-primary, #bookSheet .btn-primary { margin-top: 12px; }
#bookSheetTitle { margin-bottom: 8px; }
