/* =======================
   官方浅湖蓝主题（#50A3C0）
======================= */
body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
}

.container {
    padding: 16px;
    max-width: 100%;
    box-sizing: border-box;
}

/* =======================
   顶部图片
======================= */
.image-container img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 12px;
}

/* =======================
   表单区域（不溢出）
======================= */
.form-container {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 16px;
    box-sizing: border-box;
    width: 100%;
}

h2 {
    font-size: 18px;
    font-weight: 600;
    color: #50A3C0;
    border-left: 4px solid #50A3C0;
    padding-left: 8px;
    margin-bottom: 14px;
}

.form-group {
    margin-bottom: 14px;
}

/* =======================
   表单输入框
======================= */
label {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

input[type="text"], 
input[type="tel"], 
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fafafa;
    font-size: 15px;
    box-sizing: border-box;
}

input:focus, select:focus {
    border-color: #50A3C0;
    background: #fff;
}

/* =======================
   单选
======================= */
.radio-group {
    display: flex;
    gap: 20px;
}

/* =======================
   服务按钮
======================= */
.service-buttons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.service-btn {
    flex: 1;
    padding: 12px 10px;
    border: 1px solid #ccc;
    background: #fafafa;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    font-size: 15px;
}

.service-btn.selected {
    border-color: #50A3C0;
    background: #e8f6fa;
    color: #50A3C0;
    font-weight: 600;
}

/* =======================
   协议
======================= */
.checkbox-group {
    font-size: 14px;
    margin-top: 12px;
}

.checkbox-group a {
    color: #50A3C0;
    text-decoration: underline;
}

/* =======================
   注意提示
======================= */
.note {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
}

.note .title {
    font-size: 16px;
    font-weight: bold;
    color: #50A3C0;
}

/* =======================
   底部支付按钮
======================= */
.payment-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #ddd;
    box-sizing: border-box;
}

.btn-pay {
    width: 100%;
    padding: 14px;
    border-radius: 4px;
    background: #50A3C0;
    border: none;
    color: white;
    font-size: 17px;
    font-weight: 600;
}

.btn-pay:active {
    opacity: 0.85;
}

/* =======================
   弹窗（浅湖蓝顶部）
======================= */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.45);
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.modal-content {
    width: 88%;
    max-width: 420px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #ddd;
    overflow: hidden;
}

.modal-header {
    background: #50A3C0;
    padding: 14px;
    color: #fff;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
}

.modal-body {
    padding: 16px;
    font-size: 14px;
    color: #333;
}

.close-modal {
    font-size: 20px;
    cursor: pointer;
}

/* 支付方式选择 */
.payment-option {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 4px;
    background: #fafafa;
    border: 1px solid #ddd;
    margin-bottom: 12px;
}

.payment-option:hover {
    background: #e8f6fa;
    border-color: #50A3C0;
}
