/* 页面背景 */
page {
    background-color: #F5F6F8;
}

.container {
    padding: 20rpx;
    /* 底部留白给按钮 */
}

/* 卡片通用样式 */
.card {
    background-color: #fff;
    border-radius: 20rpx;
    padding: 30rpx;
    margin-bottom: 20rpx;
}

/* 表单行 */
.form-item {
    display: flex;
    align-items: center;
    margin-bottom: 30rpx;
}

.form-item:last-child {
    margin-bottom: 0;
}

/* 标签宽度固定 */
.label {
    width: 120rpx;
    font-size: 30rpx;
    font-weight: bold;
    color: #333;
    margin-right: 20rpx;
    flex-shrink: 0;
}

/* 灰色输入框容器 */
.input-box {
    flex: 1;
    height: 80rpx;
    background-color: #F8F8F8;
    /* 灰色背景 */
    border-radius: 8rpx;
    display: flex;
    align-items: center;
    padding: 0 20rpx;
    font-size: 28rpx;
    color: #333;
}

.input {
    flex: 1;
    height: 100%;
    font-size: 28rpx;
}

/* 特殊样式: 手机号前缀 */
.prefix-area {
    display: flex;
    align-items: center;
    margin-right: 20rpx;
    height: 100%;
    /* 确保高度撑满 */
}

.prefix {
    color: #333;
    margin-right: 5rpx;
}

.arrow-down {
    font-size: 20rpx;
    color: #999;
    line-height: 1;
    /* 消除行高影响 */
}

/* 特殊样式: 获取验证码 */
.get-code-text {
    color: #FF5722;
    font-size: 28rpx;
    font-weight: bold;
    margin-left: 20rpx;
}

/* 特殊样式: 性别单选 */
.gender-group {
    display: flex;
    align-items: center;
}

.radio-item {
    display: flex;
    align-items: center;
    margin-right: 40rpx;
    font-size: 30rpx;
    color: #333;
}

.radio-icon {
    margin-right: 10rpx;
    font-size: 32rpx;
    color: #ccc;
    /* 默认灰色 */
}

.radio-icon.active {
    color: #FF5722;
    /* 选中橙色 */
}

.radio-label.active {
    color: #FF5722;
    font-weight: bold;
}

/* 特殊样式: 箭头与图标 */
.arrow-right {
    color: #ccc;
    font-size: 24rpx;
    margin-left: auto;
    /* 推到最右 */
}

.eye-icon {
    padding: 10rpx;
    color: #ccc;
}

/* 服务类型区域 */
.section-title {
    font-size: 30rpx;
    font-weight: bold;
    color: #333;
    margin-bottom: 20rpx;
}

.service-types {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30rpx;
}

.type-btn {
    width: 30%;
    /* 三等分 */
    height: 80rpx;
    background-color: #F8F8F8;
    border-radius: 8rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28rpx;
    color: #333;
    font-weight: 500;
}

.type-btn.selected {
    background-color: #FFF3E0;
    /* 浅橙背景 */
    color: #FF5722;
    font-weight: bold;
}

/* 底部操作区 (非固定) */
.footer-actions {
    margin-top: 40rpx;
    padding: 0 10rpx;
    padding-bottom: 60rpx;
    /* 底部留白 */
}

/* 底部协议 */
.agreement-row {
    display: flex;
    align-items: center;
    margin-bottom: 30rpx;
    /* 增加间距 */
}

.checkbox {
    width: 32rpx;
    height: 32rpx;
    border: 2rpx solid #ccc;
    border-radius: 4rpx;
    margin-right: 15rpx;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox.checked {
    border-color: #FF5722;
    background-color: #FF5722;
}

.check-mark {
    color: #fff;
    font-size: 22rpx;
}

.agree-text {
    font-size: 26rpx;
    color: #999;
}

/* 底部按钮 */
.footer-btn-area {
    width: 100%;
    margin-top: 40rpx;
    /* 增加上间距 */
}

.submit-btn {
    background: linear-gradient(90deg, #FF6F00 0%, #FF5722 100%);
    color: #fff;
    font-size: 28rpx;
    /* 14号字体 */
    font-weight: bold;
    height: 90rpx;
    line-height: 90rpx;
    border-radius: 45rpx;
    box-shadow: 0 10rpx 20rpx rgba(255, 87, 34, 0.2);
}

.submit-btn::after {
    border: none;
}

/* 自定义日期选择器弹窗 */
.picker-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}

.picker-mask.show {
    visibility: visible;
    opacity: 1;
}

.picker-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-radius: 20rpx 20rpx 0 0;
    transform: translateY(100%);
    transition: all 0.3s;
}

.picker-mask.show .picker-content {
    transform: translateY(0);
}

.picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30rpx;
    border-bottom: 1px solid #eee;
    font-size: 32rpx;
}

.picker-btn-cancel {
    color: #999;
}

.picker-title {
    font-weight: bold;
    color: #333;
}

.picker-btn-confirm {
    color: #FF5722;
    font-weight: bold;
}

.picker-view {
    width: 100%;
    height: 400rpx;
}

.picker-item {
    line-height: 50px;
    /* picker-view-column 默认高度需要配合 */
    text-align: center;
    font-size: 32rpx;
    color: #333;
}

/* 猴子图标样式 (复用 eye-icon 容器) */
.monkey-icon {
    padding: 10rpx;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-icon {
    width: 40rpx;
    height: 40rpx;
}

/* 弹窗通用列表 (覆盖) */
.picker-content {
    height: 800rpx;
    /* 增加高度以容纳层级 */
    display: flex;
    flex-direction: column;
}

.picker-body {
    flex: 1;
    display: flex;
    overflow: hidden;
    padding: 0 30rpx 30rpx;
}

/* 左侧：已选路径垂直时间轴 */
.timeline-area {
    width: 200rpx;
    border-right: 1px solid #f5f5f5;
    padding-right: 20rpx;
    display: flex;
    flex-direction: column;
}

.timeline-item {
    position: relative;
    padding-bottom: 40rpx;
    padding-left: 30rpx;
    color: #333;
    font-size: 28rpx;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 12rpx;
    width: 14rpx;
    height: 14rpx;
    border-radius: 50%;
    background-color: #eee;
}

.timeline-item.active .timeline-dot {
    background-color: #FF5722;
    box-shadow: 0 0 0 4rpx rgba(255, 87, 34, 0.2);
}

.timeline-item.active {
    font-weight: bold;
    color: #FF5722;
}

/* 虚线连接 (除最后一个外的点都有线) */
.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 6rpx;
    top: 30rpx;
    bottom: -10rpx;
    width: 2rpx;
    background-color: #f0f0f0;
}

/* 右侧：待选列表 */
.list-area {
    flex: 1;
    padding-left: 30rpx;
    overflow-y: auto;
}

.list-item {
    padding: 24rpx 0;
    border-bottom: 1px solid #f9f9f9;
    font-size: 28rpx;
    color: #666;
}

.list-item:active {
    background-color: #f5f5f5;
}

/* 弹窗通用列表 */
.picker-list {
    max-height: 600rpx;
    overflow-y: auto;
    padding: 20rpx 0;
}

/* 城市选择项 (仿图1) */
.city-item {
    display: flex;
    align-items: center;
    padding: 24rpx 40rpx;
    font-size: 30rpx;
    color: #333;
}

.city-item.active {
    color: #FF5722;
    font-weight: bold;
}

.dot-radio {
    width: 16rpx;
    height: 16rpx;
    border-radius: 50%;
    background-color: #eee;
    margin-right: 20rpx;
    position: relative;
}

.city-item.active .dot-radio {
    background-color: #FF5722;
    box-shadow: 0 0 0 6rpx rgba(255, 87, 34, 0.2);
}

/* 站点选择项 (仿图2) */
.station-item {
    padding: 30rpx 40rpx;
    font-size: 30rpx;
    color: #333;
    border-bottom: 1px solid #f9f9f9;
}

.station-item:last-child {
    border-bottom: none;
}