/* 订单页面样式 */
.order-container {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    background: #f8f9fa;
    padding: 40px 20px;
}

.order-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.order-left {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.order-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-title i {
    color: #1976D2;
}

/* 套餐卡片 */
.plans-container {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.plan-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    border-color: #1976D2;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.15);
}

.plan-card.selected {
    border-color: #1976D2;
    background: #f5f9ff;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.2);
}

.plan-card.featured {
    border-color: #1976D2;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.plan-header h3 {
    font-size: 20px;
    color: #2c3e50;
}

.plan-badge {
    background: #7f8c8d;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.plan-badge.hot {
    background: #FF6B6B;
}

.plan-price {
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
}

.plan-price .price-symbol {
    font-size: 20px;
    color: #1976D2;
    font-weight: 600;
}

.plan-price .price-amount {
    font-size: 36px;
    color: #1976D2;
    font-weight: 700;
    margin: 0 5px;
}

.plan-price .price-unit {
    font-size: 16px;
    color: #7f8c8d;
}

.plan-features {
    list-style: none;
}

.plan-features li {
    padding: 8px 0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.plan-features i {
    color: #4CAF50;
    font-size: 14px;
}

/* 购买数量 */
.quantity-section {
    margin-bottom: 40px;
}

.quantity-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.quantity-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.quantity-option {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.quantity-option:hover {
    border-color: #1976D2;
}

.quantity-option.active {
    border-color: #1976D2;
    background: #f5f9ff;
}

.quantity-label {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.quantity-desc {
    font-size: 13px;
    color: #7f8c8d;
}

.discount-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #FF6B6B;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* 联系信息表单 */
.contact-form h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.required {
    color: #FF6B6B;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #1976D2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #7f8c8d;
    font-size: 12px;
}

/* 订单摘要 */
.order-right {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.order-summary {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.order-summary h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #2c3e50;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #2c3e50;
}

.summary-item.discount {
    color: #4CAF50;
}

.summary-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 20px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    color: #1976D2;
    margin-bottom: 25px;
}

/* 支付方式选择 */
.payment-methods-select {
    margin-bottom: 25px;
}

.payment-methods-select h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: #1976D2;
}

.payment-option input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.payment-option input[type="radio"]:checked + .payment-info {
    color: #1976D2;
}

.payment-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #2c3e50;
}

.payment-info i {
    font-size: 24px;
}

.fa-weixin {
    color: #09BB07;
}

.fa-alipay {
    color: #1677FF;
}

/* 提交按钮 */
.btn-submit {
    width: 100%;
    padding: 16px;
    background: #1976D2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: #1565C0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* 订单提示 */
.order-tips {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.order-tips p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #7f8c8d;
    font-size: 13px;
}

.order-tips p:last-child {
    margin-bottom: 0;
}

.order-tips i {
    color: #4CAF50;
}

/* 协议勾选 */
.agreement-check {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.agreement-check label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #7f8c8d;
    cursor: pointer;
}

.agreement-check input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.agreement-check a {
    color: #1976D2;
    text-decoration: none;
}

.agreement-check a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .order-wrapper {
        grid-template-columns: 1fr;
    }
    
    .order-right {
        position: static;
    }
}

@media (max-width: 768px) {
    .quantity-options {
        grid-template-columns: 1fr;
    }
    
    .order-left,
    .order-summary {
        padding: 20px;
    }
}
