/* ===== 需求模块样式 · 按 XD 设计稿（#ff4086 主色 / #2fb54e 发布绿） ===== */

/* ---------- 列表页 ---------- */
.demand_page { padding-bottom: 30px; }

/* 工具栏：筛选（粉）/ 发布（绿）左右分立，设计稿 121x40 r=5，各距边 17px；下缘 #ebebeb 分隔线 */
.demand_toolbar {
    display: -webkit-flex; display: flex;
    -webkit-justify-content: space-between; justify-content: space-between;
    padding: 13px 17px 16px;
    border-bottom: 1px solid #ebebeb;
}
.demand_toolbar a {
    display: block;
    width: 12.1rem;
    height: 4rem;
    line-height: 4rem;
    text-align: center;
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    box-sizing: border-box;
    border-radius: 5px;
}
.demand_toolbar .btn_filter { background: #ff4086; }
.demand_toolbar .btn_add { background: #18ad3b; }
.demand_toolbar .btn_filter:active { background: #e83a78; }
.demand_toolbar .btn_add:active { background: #159330; }

/* 提示条 */
.demand_tip {
    background: #e8f7ef;
    color: #2e9e5b;
    font-size: 1.4rem;
    padding: 10px 14px;
    margin: 0 15px 12px;
}

/* 需求卡片：通栏白底 + #ebebeb 分隔线，卡间 14px 呼吸间隙（设计稿 205+14 节奏） */
.dcard {
    background: #fff;
    padding: 20px 25px 24px;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 13px;
    cursor: pointer;
}
.dcard:active { background: #f5f5f5; }

/* 卡片头：地区 + 需求单号 | 状态胶囊（87x33 r=17） */
.dcard .row1 {
    display: -webkit-flex; display: flex;
    -webkit-justify-content: space-between; justify-content: space-between;
    -webkit-align-items: flex-start; align-items: flex-start;
    margin-bottom: 20px;
}
/* 右侧状态区：「已投递」纯文字与状态胶囊垂直居中对齐 */
.dcard .stagbox {
    display: -webkit-flex; display: flex;
    -webkit-align-items: center; align-items: center;
    flex-shrink: 0; -webkit-flex-shrink: 0;
    margin-left: 10px;
}
.dcard .meta {
    display: -webkit-flex; display: flex;
    -webkit-align-items: center; align-items: center;
    min-width: 0;
    padding-top: 4px;
}
.dcard .area { font-size: 1.6rem; color: #000; flex-shrink: 0; -webkit-flex-shrink: 0; }
.dcard .ordno {
    font-size: 1.6rem;
    color: #bcbcbc;
    margin-left: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dcard .stag {
    display: inline-block;
    font-size: 1.6rem;
    line-height: 1;
    color: #fff;
    padding: 8px 19px;
    border-radius: 17px;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
    margin-left: 10px;
}
/* 设计稿状态色：待接单蓝 / 投递中橙 / 已接单绿 / 已取消灰 */
.st0 { background: #6986ff; }
.st1 { background: #ff8c00; }
.st2 { background: #44d094; }
.st3 { background: #adadad; }
.st4 { background: #bbb; }
/* 月嫂视角「已投递」提示：接单标签左侧的纯文字，无背景 */
.dcard .stag.mine {
    background: transparent;
    color: #fe4c7c;
    font-size: 1.4rem;
    line-height: 1;
    padding: 0;
    border-radius: 0;
    margin-left: 10px;
}
/* 「已投递」在右侧状态区内不再额外偏移（外边距由 .stagbox 承担） */
.dcard .stagbox > .stag.mine { margin-left: 0; }

/* 需求标签 16px 灰 + 描述值 18px 黑（设计稿） */
.dcard .lab { font-size: 1.6rem; color: #8e8e8e; margin-bottom: 10px; }
.dcard .desc {
    font-size: 1.8rem;
    color: #000;
    line-height: 1.7;
    word-break: break-all;
    margin-bottom: 20px;
}

/* 卡片底栏：左=服务日期 右=预算金额（16px灰标签上、18px值下，金额粉色） */
.dcard .row3 {
    display: -webkit-flex; display: flex;
    -webkit-justify-content: space-between; justify-content: space-between;
    -webkit-align-items: flex-end; align-items: flex-end;
}
.dcard .blk .k { font-size: 1.6rem; color: #8e8e8e; margin-bottom: 10px; }
.dcard .blk .v { font-size: 1.8rem; color: #000; }
.dcard .blk.r { text-align: right; }
.dcard .blk.r .v.price { color: #ff4086; }

/* 已取消：整卡置灰 #bebebe（设计稿，含预算金额） */
.dcard.cancelled .area,
.dcard.cancelled .ordno,
.dcard.cancelled .lab,
.dcard.cancelled .desc,
.dcard.cancelled .blk .k,
.dcard.cancelled .blk .v,
.dcard.cancelled .blk.r .v.price { color: #bebebe; }

/* 空状态 */
.demand_empty { text-align: center; color: #999; font-size: 1.6rem; padding: 60px 0; background: #fff; }

/* ---------- 分页（1:1 套用旧站 .pagePaper，样式见 content.css：40px 圆钮 #ccc、a.active 粉色） ---------- */
.demand_pager { padding-bottom: 10px; }
/* 与参考翻页一致：未激活页码灰底深字、导航按钮白字、当前页粉色白字 */
.demand_pager .pagePaper a.num { color: #333; }
.demand_pager .pagePaper a.num.active { color: #fff; }

/* ---------- 顶部粉条（发布 / 筛选 / 详情，设计稿 480x50 #ff4086，标题 20px 白） ---------- */
.dtop {
    height: 50px;
    line-height: 50px;
    background: #ff4086;
    position: relative;
}
.dtop .arrow {
    position: absolute;
    left: 3%;
    top: 0;
    z-index: 2;
    width: 15px;
    height: 50px;
    background: url(../images/mouther_arrow_left.png) no-repeat center;
    background-size: contain;
}
.dtop .title { text-align: center; font-size: 2.0rem; color: #fff; }

/* ---------- 发布 / 修改（设计稿：通栏白底，行内标签灰、值黑，#dbdbdb 内缩分隔线） ---------- */
.pub_wrap { padding-bottom: 40px; }
.pub_card { background: #fff; }

/* 行：分隔线内缩 18px（设计稿直线 18.5→462.5），行高 70px（设计稿行距 66-70） */
.prow {
    position: relative;
    display: -webkit-flex; display: flex;
    -webkit-align-items: center; align-items: center;
    min-height: 7rem;
    padding: 0 17px;
}
.prow::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 1px;
    background: #dbdbdb;
}
.prow .pl {
    -webkit-flex-shrink: 0; flex-shrink: 0;
    margin-right: 10px;
    font-size: 2.0rem;
    color: #bcbcbc;
}
.prow .pl em { color: #f23030; font-style: normal; margin-right: 2px; }
.prow .pinp {
    -webkit-flex: 1; flex: 1;
    border: none; outline: none;
    background: transparent;
    text-align: left;
    font-size: 2.0rem;
    color: #000;
    line-height: 1.4;
}
.prow .pinp::-webkit-input-placeholder { color: #b4b4b4; }
.prow .pinp::-moz-placeholder { color: #b4b4b4; }
.prow .pval {
    -webkit-flex: 1; flex: 1;
    font-size: 2.0rem;
    color: #000;
    word-break: break-all;
}
.prow .pval.blue { color: #385efc; }

/* 预算金额单位“元”（设计稿：右侧 #b4b4b4） */
.prow .unit {
    -webkit-flex-shrink: 0; flex-shrink: 0;
    margin-left: 8px;
    font-size: 2.0rem;
    color: #b4b4b4;
}

/* 堆叠行（需求 / 其他要求）：标签上、输入下，标签 #8e8e8e；需求行高 128px（设计稿） */
.prow.ta { display: block; padding: 28px 17px 26px; }
.prow.ta .pl { display: block; margin-bottom: 26px; color: #8e8e8e; }
.prow.ta .pinp { display: block; width: 100%; }
.prow textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: none; outline: none;
    background: transparent;
    font-size: 2.0rem;
    color: #000;
    line-height: 1.5;
    min-height: 100px;
    resize: none;
}
.prow textarea::-webkit-input-placeholder { color: #b4b4b4; }
.prow textarea::-moz-placeholder { color: #b4b4b4; }

/* 地区下拉（标签后右侧并排） */
.prow .area_row {
    -webkit-flex: 1; flex: 1;
    display: -webkit-flex; display: flex;
    -webkit-justify-content: flex-end; justify-content: flex-end;
}
.prow .area_row .asel {
    border: none; outline: none;
    background: #fff;
    font-size: 1.6rem;
    color: #000;
    margin-left: 6px;
    max-width: 9rem;
}
.prow .area_row .asel.hide { display: none; }

/* 立即发布 / 保存（设计稿绿色 #2fb54e 416x52 r=5，卡片下方 24px） */
.pub_btn {
    display: block;
    margin: 24px 3.2rem 0;
    height: 5.2rem;
    line-height: 5.2rem;
    text-align: center;
    background: #2fb54e;
    color: #fff;
    font-size: 2.0rem;
    border-radius: 5px;
    text-decoration: none;
}
.pub_btn:active { background: #28a044; }

/* ---------- 筛选页（套用旧站 .conditions / .eva_btn，见 content.css） ---------- */
/* 旧站 .conditions p select{float:right} 会让 span 内三个下拉逆序（区/市/省）：span 整体右浮、内部还原为文档流 */
.cond_sels { float: right; }
.conditions .cond_sels select { float: none; }
.cond_sels select {
    font-size: 1.6rem;
    color: #000;
    border: none;
    outline: none;
    background: #fff;
    margin-left: 6px;
    max-width: 8.5rem;
}
.cond_sels select.hide { display: none; }
.conditions p select.cond_single {
    float: right;
    font-size: 1.6rem;
    color: #000;
    border: none;
    outline: none;
    background: #fff;
    max-width: 40%;
}
/* 仅查看：与筛选条件同一张白卡（设计稿无间隙） */
.cond_check { background: #fff; }
.cond_check .chk_row {
    padding: 16px 3%;
    border-bottom: 1px solid #f2f2f2;
}
.chk_row {
    display: -webkit-flex; display: flex;
    -webkit-align-items: center; align-items: center;
}
.chk_row .ck {
    width: 19px; height: 19px;
    border: 1px solid #707070;
    border-radius: 4px;
    background: #fff;
    margin-right: 10px;
    box-sizing: border-box;
    position: relative;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
}
.chk_row.on .ck { background: #ff4086; border-color: #ff4086; }
.chk_row.on .ck::after {
    content: "";
    position: absolute;
    left: 6px; top: 2px;
    width: 5px; height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.chk_row span { font-size: 2.0rem; color: #000; }

/* ---------- 详情页（设计稿：16px灰标签上、20px黑值下，#b9b9b9 内缩分隔线） ---------- */
.det_wrap { padding-bottom: 40px; }
.det_card { background: #fff; }

.det_head {
    display: -webkit-flex; display: flex;
    -webkit-justify-content: space-between; justify-content: space-between;
    -webkit-align-items: flex-start; align-items: flex-start;
    position: relative;
    padding: 26px 27px 18px;
}
.det_head::after {
    content: "";
    position: absolute;
    left: 27px;
    right: 27px;
    bottom: 0;
    height: 1px;
    background: #b9b9b9;
}
.det_head .hl { min-width: 0; }
.det_head .ordno { font-size: 1.8rem; color: #bcbcbc; margin-bottom: 14px; }
.det_head .pdate { font-size: 1.8rem; color: #bcbcbc; }
.det_head .stag {
    display: inline-block;
    font-size: 1.6rem;
    line-height: 1;
    color: #fff;
    padding: 9px 14px;
    border-radius: 17px;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
    margin-left: 10px;
}

.det_row {
    position: relative;
    padding: 14px 27px;
}
.det_row::after {
    content: "";
    position: absolute;
    left: 27px;
    right: 27px;
    bottom: 0;
    height: 1px;
    background: #b9b9b9;
}
.det_row:last-child::after { display: none; }
.det_row .lb { font-size: 1.6rem; color: #8e8e8e; margin-bottom: 10px; }
.det_row .vl { font-size: 2.0rem; color: #000; line-height: 1.6; word-break: break-all; }
.det_row .vl.price { color: #ff4086; }

/* 收到的简历：同一张白卡延续（设计稿 det8/11），#b9b9b9 上分隔线 */
.res_card {
    background: #fff;
    margin-top: 0;
    padding: 20px 27px 24px;
    border-top: 1px solid #b9b9b9;
}
.res_lab { font-size: 1.6rem; color: #8e8e8e; margin-bottom: 16px; }
.res_empty { font-size: 2.0rem; color: #000; }
/* 姓名胶囊（设计稿 det11：126x53 r=3 白底粉边 20px 粉字，选中粉底白字） */
.res_chip {
    display: inline-block;
    box-sizing: border-box;
    width: 126px;
    height: 53px;
    line-height: 51px;
    margin: 0 26px 20px 0;
    text-align: center;
    font-size: 2.0rem;
    color: #ff4086;
    background: #fff;
    border: 1px solid #ff4086;
    border-radius: 3px;
}
.res_chip.on { background: #ff4086; color: #fff; }

/* 详情页操作按钮（设计稿：416x52 r=5，边距 32px，卡片下方 36px；主=粉 / 取消=白底粉边2px / 返回=灰底粉边2px） */
.det_btns { padding: 35px 3.2rem 0; }
.det_btns a {
    display: block;
    height: 5.2rem;
    line-height: 5.2rem;
    text-align: center;
    font-size: 2.0rem;
    border-radius: 5px;
    text-decoration: none;
    margin-bottom: 18px;
}
.det_btns .act_btn { background: #ff4086; color: #fff; }
.det_btns .act_btn:active { background: #e83a78; }
.det_btns .cancel_btn {
    background: #fff;
    color: #ff4086;
    border: 2px solid #ff4086;
    box-sizing: border-box;
    line-height: 4.8rem;
}
.det_btns .cancel_btn:active { background: #fdf2f6; }
.det_btns .back_btn {
    background: #f2f2f2;
    color: #ff4086;
    border: 2px solid #ff4086;
    box-sizing: border-box;
    line-height: 4.8rem;
}
.det_btns .back_btn:active { background: #e8e8e8; }
.det_btns a:last-child { margin-bottom: 0; }

/* ===== 我的简历信息（设计稿 det9/10：主卡内其他要求下方区块，18px 标题 + 蓝色修改） ===== */
.mine_sec {
    position: relative;
    padding: 18px 27px 0;
}
.mine_sec::before {
    content: "";
    position: absolute;
    left: 27px;
    right: 27px;
    top: 0;
    height: 1px;
    background: #b9b9b9;
}
.mine_head {
    display: -webkit-flex; display: flex;
    -webkit-justify-content: space-between; justify-content: space-between;
    -webkit-align-items: center; align-items: center;
    min-height: 3.0rem;
}
.mine_t { font-size: 1.8rem; color: #000; }
.mine_edit { font-size: 1.8rem; color: #4166ff; text-decoration: none; }
.mine_txt { font-size: 2.0rem; color: #000; line-height: 1.6; word-break: break-all; padding: 18px 0 20px; }

/* ===== 简历信息页（设计稿 简历信息-3/4："标签：值"同行式，行距约 62px，直线 #dbdbdb 内缩 18px） ===== */
.res_form_card { position: relative; }
.rrow {
    position: relative;
    display: -webkit-flex; display: flex;
    -webkit-align-items: center; align-items: center;
    min-height: 6.2rem;
    padding: 0 17px;
}
.rrow::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 1px;
    background: #dbdbdb;
}
.rrow:last-child::after { display: none; }
.rrow .rl { font-size: 2.0rem; color: #8e8e8e; -webkit-flex-shrink: 0; flex-shrink: 0; }
.rrow .rv { font-size: 2.0rem; color: #000; word-break: break-all; }
.rrow .rinp {
    -webkit-flex: 1; flex: 1;
    height: 45px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 2.0rem;
    color: #000;
    font-family: inherit;
}
.rrow.ta { display: block; padding: 28px 17px 26px; }
.rrow.ta .rl_top { display: block; font-size: 2.0rem; color: #000; margin-bottom: 26px; }
.rtxt {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 100px;
    border: none;
    outline: none;
    resize: none;
    background: transparent;
    font-size: 2.0rem;
    color: #000;
    line-height: 1.6;
    font-family: inherit;
}
.rtxt.ro { min-height: 0; padding: 0 0 4px; }
/* 更多详情按钮（设计稿：106x30 粉底白字 16px，卡片右上） */
.more_btn {
    position: absolute;
    top: 20px;
    right: 27px;
    width: 106px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 1.6rem;
    color: #fff;
    background: #ff4086;
    border-radius: 3px;
    text-decoration: none;
    z-index: 2;
}
