html, body { margin: 0; padding: 0; }

/* ===== 登录页（参考管理后台，蓝绿渐变 + 漂浮光团 + 左右分栏） ===== */
.user-layout {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    overflow: hidden;
    background:
        radial-gradient(120% 120% at 0% 0%, #2b5cff 0%, transparent 55%),
        radial-gradient(120% 120% at 100% 0%, #0ea5a4 0%, transparent 50%),
        radial-gradient(140% 140% at 50% 120%, #1e3a8a 0%, transparent 60%),
        linear-gradient(135deg, #1e3a8a 0%, #2b5cff 50%, #0f766e 100%);
    background-size: 200% 200%, 200% 200%, 200% 200%, 200% 200%;
    animation: loginBgShift 18s ease infinite;
}
@keyframes loginBgShift {
    0%   { background-position: 0% 0%, 100% 0%, 50% 100%, 0% 50%; }
    50%  { background-position: 100% 50%, 0% 50%, 50% 0%, 100% 50%; }
    100% { background-position: 0% 0%, 100% 0%, 50% 100%, 0% 50%; }
}
.user-layout::before,
.user-layout::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .55;
    pointer-events: none;
    z-index: 0;
}
.user-layout::before {
    width: 460px; height: 460px; left: -120px; top: -120px;
    background: radial-gradient(circle at 30% 30%, #5b8bff, transparent 70%);
    animation: loginFloatA 14s ease-in-out infinite;
}
.user-layout::after {
    width: 520px; height: 520px; right: -160px; bottom: -180px;
    background: radial-gradient(circle at 70% 70%, #14b8a6, transparent 70%);
    animation: loginFloatB 17s ease-in-out infinite;
}
@keyframes loginFloatA {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(60px, 40px) scale(1.08); }
}
@keyframes loginFloatB {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-50px, -30px) scale(1.1); }
}
.user-layout > * { position: relative; }
.user-layout .login-grid { z-index: 1; }
.user-layout .user-layout-content,
.user-layout > footer { z-index: 2; }
@media (prefers-reduced-motion: reduce) {
    .user-layout, .user-layout::before, .user-layout::after { animation: none; }
}

/* 全屏 SVG 网格纹理 */
.login-grid {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42'%3E%3Cpath d='M42 0H0V42' fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 35%, transparent 82%);
    mask-image: radial-gradient(circle at 50% 40%, #000 35%, transparent 82%);
}

/* 左右分栏（左品牌介绍 / 右登录卡） */
.login-split {
    position: relative; z-index: 2; display: flex; align-items: center; justify-content: center;
    gap: 60px; width: min(1000px, 92vw);
}
.login-aside { flex: 1 1 0; max-width: 480px; color: #fff; }
.login-aside-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.login-aside-logo { height: 44px; }
.login-aside-title { font-size: 26px; font-weight: 800; letter-spacing: .5px; }
.login-aside-headline { font-size: 34px; font-weight: 800; line-height: 1.28; margin: 0 0 16px; }
.login-aside-headline .accent { color: #7dd3fc; }
.login-aside-desc { font-size: 15px; line-height: 1.8; opacity: .82; margin: 0 0 30px; }
.login-aside-feats { list-style: none; padding: 0; margin: 0 0 36px; display: flex; flex-direction: column; gap: 14px; }
.login-aside-feats li { display: flex; align-items: center; gap: 10px; font-size: 14px; opacity: .92; }
.login-aside-feats svg { flex: 0 0 auto; }
.login-aside-foot { font-size: 12px; opacity: .7; letter-spacing: .4px; }
.login-panel { flex: 0 0 auto; }
@media (max-width: 820px) {
    .login-split { flex-direction: column; gap: 28px; }
    .login-aside { max-width: 100%; text-align: center; }
    .login-aside-brand { justify-content: center; }
    .login-aside-feats li { justify-content: center; }
    .login-aside-headline { font-size: 26px; }
    .login-aside-desc br { display: none; }
}

.login-card {
    width: 380px; max-width: 92vw; padding: 36px 32px 26px; border-radius: 18px;
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 24px 70px rgba(8, 22, 54, .35);
}
.login-card-head { text-align: center; margin-bottom: 22px; }
.login-logo { height: 50px; margin-bottom: 12px; }
.login-title { font-size: 22px; font-weight: 800; color: #1f2d3d; margin: 0; }
.login-sub { margin: 6px 0 0; color: #8c9bab; font-size: 13px; }
.login-meta { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 18px; }
.login-forgot { color: #2b5cff; font-size: 13px; cursor: pointer; }
.login-forgot:hover { text-decoration: underline; }
.login-tip { margin-top: 16px; text-align: center; font-size: 12px; color: #b6c2cf; }
.login-card .ant-input-affix-wrapper { padding-top: 7px; padding-bottom: 7px; }
.login-card .ant-input,
.login-card .ant-input-affix-wrapper { font-size: 15px; }
.login-foot { color: rgba(255, 255, 255, .8); font-size: 12px; letter-spacing: .4px; }

/* ===== 医师工作台 ===== */
.wb { padding-bottom: 24px; }
.wb-hero { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 132px; padding: 24px 28px; border-radius: 14px; background: linear-gradient(115deg, #0e8f83 0%, #17b3a4 55%, #34c6b4 100%); color: #fff; box-shadow: 0 8px 24px rgba(15,155,142,.18); overflow: hidden; }
.wb-hero::after { content: ''; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); }
.wb-hero-main { position: relative; z-index: 1; }
.wb-hello { font-size: 24px; font-weight: 600; letter-spacing: .5px; }
.wb-sub { margin-top: 8px; font-size: 13px; opacity: .85; }
.wb-hero-side { position: relative; z-index: 1; text-align: right; padding-right: 24px; }
.wb-hero-num { font-size: 44px; font-weight: 700; line-height: 1; }
.wb-hero-cap { margin-top: 8px; font-size: 12px; opacity: .85; }

.wb-stats { margin-top: 16px; }
.wb-stat { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #eef3f4; border-radius: 12px; padding: 18px 16px; box-shadow: 0 2px 10px rgba(20,60,70,.05); }
.wb-stat-ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.wb-stat-ico.s1 { background: #e6f7f4; color: #0f9b8e; }
.wb-stat-ico.s2 { background: #e8f1ff; color: #3b82f6; }
.wb-stat-ico.s3 { background: #fff1e8; color: #f59e0b; }
.wb-stat-ico.s4 { background: #f0ecff; color: #8b5cf6; }
.wb-stat-ico.s5 { background: #ffeaf0; color: #ec4899; }
.wb-stat-ico.s6 { background: #e9f8ef; color: #10b981; }
.wb-stat-num { font-size: 22px; font-weight: 700; color: #1f2d3d; line-height: 1.2; }
.wb-stat-label { margin-top: 4px; font-size: 12px; color: #8a98a8; }

.wb-sec-title { margin: 22px 0 12px; font-size: 16px; font-weight: 600; color: #1f2d3d; }
.wb-quick .ant-col { margin-bottom: 14px; }
.wb-quick-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #eef3f4; border-radius: 12px; padding: 16px 18px; color: #2c3e50; text-decoration: none; box-shadow: 0 2px 10px rgba(20,60,70,.04); transition: transform .18s, box-shadow .18s, border-color .18s; }
.wb-quick-item:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,155,142,.12); border-color: #b8e4de; color: #0f9b8e; }
.wb-quick-item .anticon { font-size: 22px; color: #0f9b8e; }
.wb-quick-item span { font-size: 14px; font-weight: 500; }

.wb-lower { margin-top: 8px; }
.wb-panel { background: #fff; border: 1px solid #eef3f4; border-radius: 12px; padding: 18px 20px; box-shadow: 0 2px 10px rgba(20,60,70,.04); }
.wb-mt { margin-top: 16px; }
.wb-panel-hd { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #f0f4f5; }
.wb-panel-t { font-size: 15px; font-weight: 600; color: #1f2d3d; }
.wb-more { font-size: 12px; color: #0f9b8e; text-decoration: none; }

.wb-tl { padding-top: 8px; max-height: 320px; overflow-y: auto; }
.wb-tl-row { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px dashed #f0f4f5; }
.wb-tl-row:last-child { border-bottom: 0; }
.wb-tl-time { width: 96px; flex-shrink: 0; font-size: 13px; font-weight: 600; color: #34495e; }
.wb-tl-time small { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; color: #9aa8b5; }
.wb-tl-dot { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #0f9b8e; box-shadow: 0 0 0 4px #e6f7f4; flex-shrink: 0; }
.wb-tl-body { flex: 1; min-width: 0; }
.wb-tl-name { font-size: 14px; font-weight: 600; color: #2c3e50; }
.wb-tl-item { margin-top: 4px; font-size: 12px; color: #8a98a8; }
.wb-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px; font-size: 11px; font-weight: 500; }
.wb-tag.wait { background: #fff4e5; color: #d97706; }
.wb-tag.doing { background: #e8f1ff; color: #2563eb; }
.wb-tag.done { background: #e9f8ef; color: #059669; }
.wb-tag.cancel { background: #f1f3f5; color: #94a3b8; }
.wb-empty { padding: 32px 0; text-align: center; color: #9aa8b5; font-size: 13px; }

.wb-todo { padding-top: 6px; }
.wb-todo-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f5f7f8; text-decoration: none; color: inherit; }
.wb-todo-row:last-child { border-bottom: 0; }
.wb-todo-ico { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.wb-todo-ico.t1 { background: #fff1e8; color: #f59e0b; }
.wb-todo-ico.t2 { background: #e6f7f4; color: #0f9b8e; }
.wb-todo-ico.t3 { background: #ffeaf0; color: #ec4899; }
.wb-todo-body { flex: 1; min-width: 0; }
.wb-todo-t { font-size: 13px; font-weight: 600; color: #2c3e50; }
.wb-todo-s { margin-top: 3px; font-size: 11px; color: #9aa8b5; }
.wb-todo-n { min-width: 26px; text-align: center; padding: 2px 8px; border-radius: 10px; background: #eef7f5; color: #0f9b8e; font-size: 13px; font-weight: 700; }
.wb-progress { padding-top: 16px; }
.wb-progress-num { font-size: 13px; color: #5b6b7c; margin-bottom: 10px; }
.wb-progress-bar { height: 8px; border-radius: 4px; background: #edf2f3; overflow: hidden; }
.wb-progress-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #0f9b8e, #34c6b4); transition: width .3s; }

/* ===== 预约周历 ===== */
.ap-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.ap-day { background: #fff; border: 1px solid #eef3f4; border-radius: 10px; padding: 12px 0; text-align: center; cursor: pointer; transition: transform .18s, border-color .18s, background .18s; }
.ap-day:hover { border-color: #0f9b8e; transform: translateY(-1px); }
.ap-day.on { background: #0f9b8e; border-color: #0f9b8e; color: #fff; }
.ap-day-w { font-size: 12px; color: #8a98a8; }
.ap-day.on .ap-day-w, .ap-day.on .ap-day-c { color: rgba(255,255,255,.9); }
.ap-day-n { font-size: 20px; font-weight: 700; margin: 4px 0; }
.ap-day.today:not(.on) .ap-day-n { color: #0f9b8e; }
.ap-day-c { font-size: 11px; color: #0f9b8e; }

/* ===== 培训进度 ===== */
.train-progress { display: flex; align-items: center; gap: 8px; }
.train-bar { flex: 1; height: 6px; background: #edf2f3; border-radius: 3px; overflow: hidden; }
.train-fill { height: 100%; background: linear-gradient(90deg, #0f9b8e, #34c6b4); border-radius: 3px; }
.train-progress span { font-size: 12px; color: #5b6b7c; width: 36px; text-align: right; }

/* ===== 在线问诊 ===== */
.chat-box { max-height: 360px; overflow-y: auto; padding: 8px 4px; background: #f7fafb; border-radius: 8px; }
.chat-msg { margin-bottom: 12px; text-align: left; }
.chat-msg.mine { text-align: right; }
.chat-content { display: inline-block; max-width: 80%; padding: 8px 12px; background: #fff; border-radius: 10px 10px 10px 2px; font-size: 13px; color: #2c3e50; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.chat-msg.mine .chat-content { background: #0f9b8e; color: #fff; border-radius: 10px 10px 2px 10px; }
.chat-time { margin-top: 3px; font-size: 10px; color: #9aa8b5; }

/* ===== 健康方案步骤 ===== */
.plan-steps { padding: 4px 0; }
.plan-step { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #f0f4f5; font-size: 13px; color: #3b4a5a; }
.plan-step:last-child { border-bottom: 0; }
.plan-step-n { width: 22px; height: 22px; border-radius: 50%; background: #e6f7f4; color: #0f9b8e; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }

/* ===== 执业档案 ===== */
.pf-card { background: #fff; border: 1px solid #eef3f4; border-radius: 14px; padding: 28px; box-shadow: 0 2px 10px rgba(20,60,70,.04); }
.pf-head { display: flex; align-items: center; gap: 18px; }
.pf-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #0e8f83, #34c6b4); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 600; }
.pf-name { font-size: 22px; font-weight: 700; color: #1f2d3d; }
.pf-title { font-size: 13px; font-weight: 400; color: #0f9b8e; margin-left: 10px; }
.pf-meta { margin-top: 6px; font-size: 13px; color: #8a98a8; }
.pf-nums { margin-top: 24px; padding: 18px 0; border-top: 1px solid #f0f4f5; border-bottom: 1px solid #f0f4f5; }
.pf-num { text-align: center; }
.pf-num-v { font-size: 24px; font-weight: 700; color: #0f9b8e; }
.pf-num-l { margin-top: 4px; font-size: 12px; color: #8a98a8; }
.pf-sec { margin-top: 20px; }
.pf-sec-t { font-size: 14px; font-weight: 600; color: #1f2d3d; margin-bottom: 10px; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-tag { padding: 4px 12px; border-radius: 14px; background: #e6f7f4; color: #0f9b8e; font-size: 12px; }
.pf-cert { padding: 4px 12px; border-radius: 6px; background: #f5f8fa; color: #3b4a5a; font-size: 12px; }
.pf-cert small { margin-left: 6px; color: #0f9b8e; }
.pf-empty { font-size: 12px; color: #9aa8b5; }
.pf-intro { font-size: 13px; color: #5b6b7c; line-height: 1.8; }

/* ===== 门店位置只读地图 ===== */
.smap-wrap { margin-top: 12px; }
.smap-map { width: 100%; height: 320px; border: 1px solid #eef3f4; border-radius: 12px; overflow: hidden; background: #f7fafb; }
.smap-hint { margin-top: 8px; font-size: 12px; color: #9aa8b5; }
.smap-empty, .smap-error { padding: 28px 16px; text-align: center; font-size: 13px; color: #9aa8b5; background: #f7fafb; border: 1px dashed #e2eaed; border-radius: 12px; }
.smap-error { color: #e24c3e; }

/* ===== 提成统计卡在内容区复用 ===== */
.wb-stats .wb-stat { min-height: 78px; }

/* ===== 门店专用：快捷核销 ===== */
.vk-quick { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #eef3f4; border-radius: 12px; padding: 14px 20px; box-shadow: 0 2px 10px rgba(20,60,70,.04); }
.vk-quick-label { font-size: 14px; font-weight: 600; color: #1f2d3d; }
.h16 { height: 16px; }
.wb-tl-amt { min-width: 72px; text-align: right; font-weight: 700; color: #0f9b8e; font-size: 13px; }
.wb-mini { padding-top: 6px; }
.wb-mini-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f5f7f8; font-size: 13px; }
.wb-mini-row:last-child { border-bottom: 0; }
.wb-mini-row span { flex: 1; color: #5b6b7c; }
.wb-mini-row b { color: #1f2d3d; font-size: 15px; }
.wb-mini-row small { color: #9aa8b5; font-size: 11px; }

/* ===== 技师排班周历 ===== */
/* ===== 医师排班：技师池 + 周历拖拽 ===== */
.sc-person-pool { background: #fff; border: 1px solid #eef3f4; border-radius: 12px; padding: 14px 18px; margin-bottom: 14px; }
.sc-pool-hd { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.sc-pool-hd b { font-size: 14px; color: #1f2d3d; }
.sc-pool-hd span { font-size: 12px; color: #9aa8b5; }
.sc-pool-list { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-person { display: flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; background: #f0faf8; border: 1px solid #cdeee7; border-radius: 20px; font-size: 13px; color: #0f9b8e; cursor: grab; user-select: none; }
.sc-person:active { cursor: grabbing; }
.sc-person-avatar { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; background: #0f9b8e; color: #fff; font-size: 12px; }
.sc-pool-empty { font-size: 12px; color: #b5c0cc; }
.sc-hint { font-size: 12px; color: #9aa8b5; margin: 4px 0 12px; }
.sc-grid, .sc-board { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.sc-col { min-height: 320px; background: #f7fafb; border: 1px solid #eef3f4; border-radius: 10px; padding: 10px 8px; }
.sc-col.today { border-color: #0f9b8e; background: #f0faf8; }
.sc-col-h { font-size: 13px; font-weight: 600; color: #1f2d3d; text-align: center; }
.sc-col-h small { display: block; font-size: 10px; font-weight: 400; color: #9aa8b5; }
.sc-col-sub { margin: 6px 0 10px; text-align: center; font-size: 11px; color: #0f9b8e; }
.sc-shift { min-height: 66px; margin-bottom: 8px; padding: 6px; border: 1px dashed #dbe6ec; border-radius: 8px; background: #fff; transition: border-color .15s, background .15s; }
.sc-shift.has { border-style: solid; border-color: #cdeee7; background: #fbfefd; }
.sc-shift:hover { border-color: #0f9b8e; background: #f3fbf9; }
.sc-shift-h { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 6px; border-left: 3px solid #0f9b8e; }
.sc-shift-h b { font-size: 12px; color: #1f2d3d; }
.sc-shift-h small { font-size: 10px; color: #9aa8b5; }
.sc-chip { margin-bottom: 5px; padding: 5px 7px; border-radius: 6px; cursor: pointer; transition: opacity .18s; }
.sc-chip span { display: block; font-size: 12px; font-weight: 600; }
.sc-chip small { display: block; margin-top: 1px; font-size: 10px; }
.sc-chip.on { background: #e6f7f4; color: #0f9b8e; }
.sc-chip:hover { opacity: .78; }
.sc-empty { text-align: center; padding: 12px 0; font-size: 11px; color: #b5c0cc; }
.sc-shift-form { margin-top: 16px; padding: 16px; background: #f7fafb; border: 1px solid #eef3f4; border-radius: 10px; }
.sc-shift-form-btns { display: flex; gap: 10px; margin-top: 12px; }
