* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f7f8fa;
    color: #333;
    line-height: 1.5;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
    padding-bottom: 120px;
}

h1 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 20px;
    position: relative;
}

.step {
    text-align: center;
    font-size: 14px;
    color: #999;
    position: relative;
    flex: 1;
    z-index: 2;
    background-color: #f7f8fa;
    padding: 0 5px;
}

.step.active {
    color: #FD7400;
    font-weight: bold;
}

.steps:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: #ddd;
    z-index: 1;
}

.form-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

h2 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.radio-group {
    display: flex;
    margin-bottom: 15px;
    justify-content: center;
}

.radio-option {
    display: flex;
    align-items: center;
    margin: 0 10px;
    position: relative;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-option label {
    padding: 8px 15px 8px 30px;
    border: 1px solid #ddd;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.radio-option input:checked + label {
    border-color: #FD7400;
    background-color: #fff8f0;
}

.radio-option input:checked + label:after {
    content: "✓";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #FD7400;
    font-weight: bold;
}

.service-type {
    margin: 20px 0;
}

.service-type p.title {
    font-weight: bold;
    margin-bottom: 10px;
}

.service-buttons {
    display: flex;
    justify-content: space-between;
}

.service-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 5px;
    background-color: #f9f9f9;
    position: relative;
    cursor: pointer;
}

.service-btn:first-child {
    margin-left: 0;
}

.service-btn:last-child {
    margin-right: 0;
}

.service-btn.selected {
    border-color: #FD7400;
    background-color: #fff8f0;
}

.service-btn.selected:after {
    content: "✓";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #FD7400;
    font-weight: bold;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.checkbox-group input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-group label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-group label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: #fff;
}

.checkbox-group input:checked + label:before {
    background-color: #FD7400;
    border-color: #FD7400;
}

.checkbox-group input:checked + label:after {
    content: "✓";
    position: absolute;
    left: 4px;
    top: 0;
    color: white;
    font-size: 12px;
}

.checkbox-group a {
    color: #FD7400;
    text-decoration: none;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #FD7400;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #e56700;
}

hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

/* 支付相关样式 */
.payment-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 10px 15px;
}

.btn-pay {
    width: 100%;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 4px;
}

.btn-wechat {
    background: linear-gradient(135deg, #07c160, #05a84e);
}

.btn-alipay {
    background: linear-gradient(135deg, #1677ff, #0958d9);
}

.btn-both {
    background: linear-gradient(135deg, #FD7400, #e56700);
}

.error-message {
    color: #f5222d;
    background-color: rgba(245, 34, 45, 0.05);
    padding: 12px;
    text-align: center;
    font-size: 14px;
    margin-bottom: 10px;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    overflow: hidden;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    padding: 15px;
    background-color: #f7f8fa;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-weight: bold;
    position: relative;
}

.modal-body {
    padding: 20px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    background-color: #f7f8fa;
    border-color: #FD7400;
}

.payment-option i {
    font-size: 24px;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.payment-option .payment-text {
    flex: 1;
}

.payment-option .payment-title {
    font-weight: bold;
    margin-bottom: 3px;
}

.payment-option .payment-desc {
    font-size: 12px;
    color: #888;
}

.close-modal {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 20px;
    color: #888;
    cursor: pointer;
}

/* 图片展示区 */
.image-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 15px;
}

.image-container img {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 8px;
}