/* Checkout Page */ .checkout-page { background-color: #fafafa; min-height: calc(100vh - 200px); padding: 40px 0; } .checkout-wrapper { display: grid; grid-template-columns: 1fr 480px; gap: 60px; max-width: 1200px; margin: 0 auto; } /* Left Column: Checkout Form */ .checkout-form { background-color: #fff; padding: 40px; border-radius: 8px; } /* Express Checkout */ .express-checkout { margin-bottom: 40px; } .express-checkout h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; color: var(--text-color); } .btn-paypal { width: 100%; padding: 12px; background-color: #ffc439; border: none; border-radius: 4px; cursor: pointer; transition: all 0.3s ease; } .btn-paypal:hover { background-color: #f0b429; } .btn-paypal img { height: 30px; display: block; margin: 0 auto; } .divider { display: flex; align-items: center; margin: 24px 0; color: var(--text-light); font-size: 14px; } .divider::before, .divider::after { content: ''; flex: 1; height: 1px; background-color: var(--border-color); } .divider span { padding: 0 16px; } /* Form Sections */ .form-section { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border-color); } .form-section:last-of-type { border-bottom: none; } .form-section h2 { font-size: 18px; font-weight: 700; margin-bottom: 20px; color: var(--text-color); } .section-description { font-size: 13px; color: var(--text-light); margin-bottom: 16px; } /* Contact Info */ .contact-info { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; } .country-flag { font-size: 20px; } .contact-info input { flex: 1; } /* Form Groups */ .form-group { margin-bottom: 16px; } .form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-color); margin-bottom: 8px; } .form-group input, .form-group select { width: 100%; padding: 12px 16px; border: 1px solid var(--border-color); border-radius: 4px; font-size: 14px; transition: all 0.3s ease; } .form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1); } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .form-row.three-cols { grid-template-columns: 1fr 1fr 1fr; } /* Checkbox */ .checkbox-label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-color); cursor: pointer; margin-bottom: 16px; } .checkbox-label input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; } /* Links */ .link-text { display: inline-block; color: var(--primary-color); font-size: 14px; text-decoration: none; margin-bottom: 16px; transition: color 0.3s ease; } .link-text:hover { color: var(--primary-dark); text-decoration: underline; } /* Shipping Notice */ .shipping-notice { padding: 16px; background-color: var(--bg-gray); border-radius: 4px; font-size: 14px; color: var(--text-light); text-align: center; } /* Payment Method */ .payment-method { border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; } .payment-option { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background-color: #f8f9fa; border-bottom: 1px solid var(--border-color); cursor: pointer; } .payment-option input[type="radio"] { margin-right: 12px; cursor: pointer; } .payment-option span { flex: 1; font-weight: 600; font-size: 14px; } .card-icons { display: flex; gap: 8px; align-items: center; } .card-icons img { height: 24px; } .payment-fields { padding: 24px 20px; background-color: #fff; } /* Pay Now Button */ .btn-pay-now { width: 100%; padding: 18px; font-size: 16px; font-weight: 700; margin-top: 32px; border-radius: 8px; } /* Right Column: Order Summary */ .order-summary { background-color: #fff; padding: 30px; border-radius: 8px; height: fit-content; position: sticky; top: 100px; } .order-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 24px; color: var(--text-color); } /* Order Items */ .order-items { margin-bottom: 24px; } .order-item { display: flex; gap: 16px; margin-bottom: 20px; position: relative; } .order-item-image { width: 70px; height: 70px; border-radius: 8px; overflow: hidden; flex-shrink: 0; position: relative; border: 1px solid var(--border-color); } .order-item-image img { width: 100%; height: 100%; object-fit: cover; } .item-quantity-badge { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; background-color: var(--text-color); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; } .order-item-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; } .order-item-name { font-size: 14px; font-weight: 600; color: var(--text-color); line-height: 1.4; margin-bottom: 4px; } .order-item-price { font-size: 16px; font-weight: 700; color: var(--text-color); } /* Discount Code */ .discount-code { display: flex; gap: 12px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border-color); } .discount-code input { flex: 1; padding: 12px 16px; border: 1px solid var(--border-color); border-radius: 4px; font-size: 14px; } .discount-code input:focus { outline: none; border-color: var(--primary-color); } .btn-apply { padding: 12px 24px; background-color: #f8f9fa; border: 1px solid var(--border-color); border-radius: 4px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; } .btn-apply:hover { background-color: var(--text-color); color: #fff; border-color: var(--text-color); } /* Order Totals */ .order-totals { display: flex; flex-direction: column; gap: 16px; } .total-row { display: flex; justify-content: space-between; align-items: flex-start; font-size: 14px; color: var(--text-color); } .discount-row { color: var(--text-light); } .discount-label { font-size: 12px; color: var(--text-light); } .discount-amount { color: #e74c3c; font-weight: 600; } .shipping-text { color: var(--text-light); font-size: 13px; } .total-final { padding-top: 16px; border-top: 1px solid var(--border-color); font-size: 16px; font-weight: 700; } .total-price { display: flex; align-items: baseline; gap: 8px; } .total-price .currency { font-size: 12px; color: var(--text-light); font-weight: 400; } .total-price .amount { font-size: 24px; font-weight: 700; } .total-savings { padding: 12px; background-color: rgba(231, 76, 60, 0.1); border-radius: 6px; font-size: 13px; color: #e74c3c; font-weight: 600; text-align: center; } /* Responsive */ @media (max-width: 1024px) { .checkout-wrapper { grid-template-columns: 1fr; gap: 40px; } .order-summary { position: static; order: -1; } } @media (max-width: 768px) { .checkout-page { padding: 20px 0; } .checkout-form { padding: 24px 20px; } .order-summary { padding: 24px 20px; } .form-row { grid-template-columns: 1fr; } .checkout-wrapper { gap: 24px; } } @media (max-width: 480px) { .checkout-form, .order-summary { padding: 20px 16px; border-radius: 0; } .total-price .amount { font-size: 20px; } } /* 地址区域样式 */ .address-section .address-card { border: 1px solid var(--border-color); border-radius: 8px; padding: 20px; margin-top: 16px; } .address-card .no-address { text-align: center; padding: 40px 20px; color: var(--text-light); } .address-card .no-address p { margin-bottom: 20px; font-size: 14px; } .address-info { position: relative; } .address-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .address-user { display: flex; align-items: center; gap: 16px; } .address-actions-top { display: flex; gap: 8px; align-items: center; } .btn-edit-selected { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; font-size: 13px; color: var(--text-light); background: white; border: 1px solid var(--border-color); border-radius: 4px; cursor: pointer; transition: all 0.3s ease; } .btn-edit-selected:hover { color: var(--primary-color); border-color: var(--primary-color); background: rgba(255, 107, 107, 0.05); } .btn-edit-selected svg { width: 14px; height: 14px; } .user-name { font-size: 16px; font-weight: 600; color: var(--text-color); } .user-phone { font-size: 14px; color: var(--text-light); } .btn-change-address { padding: 6px 16px; font-size: 13px; color: var(--primary-color); background: none; border: 1px solid var(--primary-color); border-radius: 4px; cursor: pointer; transition: all 0.3s ease; } .btn-change-address:hover { background-color: var(--primary-color); color: white; } .address-detail { font-size: 14px; color: var(--text-color); line-height: 1.6; margin-bottom: 12px; } .address-tag { display: flex; gap: 8px; } .tag { padding: 4px 12px; font-size: 12px; border-radius: 4px; display: inline-block; } .tag-default { background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); color: #f57c00; font-weight: 600; border: 1px solid #ffcc80; box-shadow: 0 2px 4px rgba(245, 124, 0, 0.1); } /* 商品列表样式 */ .goods-section .goods-list { margin-top: 16px; } .goods-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-color); } .goods-item:last-child { border-bottom: none; } .goods-image { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; flex-shrink: 0; } .goods-info { flex: 1; } .goods-title { font-size: 14px; font-weight: 500; color: var(--text-color); margin-bottom: 6px; } .goods-specs { font-size: 13px; color: var(--text-light); } .goods-right { text-align: right; } .goods-price { font-size: 16px; font-weight: 600; color: var(--primary-color); margin-bottom: 6px; } .goods-quantity { font-size: 13px; color: var(--text-light); } /* 优惠券选择样式 */ .coupon-section .coupon-selector { border: 1px solid var(--border-color); border-radius: 8px; padding: 16px; cursor: pointer; transition: all 0.3s ease; margin-top: 16px; } .coupon-selector:hover { border-color: var(--primary-color); background-color: #f8f9fa; } .coupon-placeholder { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-color); } .coupon-placeholder svg { color: var(--text-light); } /* 订单备注 */ #orderNotes { width: 100%; padding: 12px 16px; border: 1px solid var(--border-color); border-radius: 4px; font-size: 14px; resize: vertical; font-family: inherit; transition: all 0.3s ease; } #orderNotes:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1); } /* 弹窗样式 */ .modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); z-index: 9999; overflow-y: auto; padding: 20px; } .modal.show { display: flex; align-items: center; justify-content: center; } .modal-content { background-color: white; border-radius: 12px; max-width: 600px; width: 100%; max-height: 90vh; display: flex; flex-direction: column; animation: modalSlideIn 0.3s ease; } @keyframes modalSlideIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border-color); } .modal-header h3 { font-size: 18px; font-weight: 600; color: var(--text-color); margin: 0; } .modal-close { width: 32px; height: 32px; border: none; background: none; font-size: 24px; color: var(--text-light); cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.3s ease; } .modal-close:hover { background-color: var(--bg-gray); color: var(--text-color); } .modal-body { padding: 24px; overflow-y: auto; flex: 1; } .modal-footer { padding: 16px 24px; border-top: 1px solid var(--border-color); display: flex; justify-content: flex-end; gap: 12px; } /* 地址列表 */ .address-list { display: flex; flex-direction: column; gap: 12px; } .address-item { border: 2px solid var(--border-color); border-radius: 12px; padding: 0; cursor: pointer; transition: all 0.3s ease; position: relative; display: flex; align-items: center; overflow: hidden; } .address-item:hover { border-color: var(--primary-color); box-shadow: 0 4px 12px rgba(255, 107, 107, 0.15); } .address-item.selected { border-color: var(--primary-color); background-color: rgba(255, 107, 107, 0.05); } .address-content { flex: 1; padding: 16px 20px; min-width: 0; } .address-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 12px; } .address-user { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; } .user-name { font-weight: 600; font-size: 15px; color: var(--text-color); } .user-phone { font-size: 14px; color: var(--text-light); } .address-detail { font-size: 14px; color: var(--text-light); line-height: 1.6; } .address-operations { display: flex; flex-direction: column; border-left: 1px solid var(--border-color); background: #f8f9fa; } .btn-icon-action { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: none; background: transparent; color: var(--text-light); cursor: pointer; transition: all 0.2s ease; position: relative; } .btn-icon-action:first-child { border-bottom: 1px solid var(--border-color); } .btn-icon-action:hover { background: white; } .btn-edit-address:hover { color: var(--primary-color); } .btn-delete-address:hover { color: #ff3b30; } .btn-icon-action svg { width: 18px; height: 18px; } .address-selected-icon { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; background: linear-gradient(135deg, var(--primary-color) 0%, #ff5252 100%); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: bold; box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4); animation: scaleIn 0.3s ease; z-index: 1; } @keyframes scaleIn { 0% { opacity: 0; transform: scale(0); } 50% { transform: scale(1.2); } 100% { opacity: 1; transform: scale(1); } } .btn-add-address { width: 100%; margin-top: 16px; } /* 优惠券列表 */ .coupon-list { display: flex; flex-direction: column; gap: 12px; } .coupon-item { display: flex; border: 2px solid var(--border-color); border-radius: 8px; padding: 16px; cursor: pointer; transition: all 0.3s ease; position: relative; gap: 16px; } .coupon-item:hover { border-color: var(--primary-color); background-color: #f8f9fa; } .coupon-item.selected { border-color: var(--primary-color); background-color: #fff3e0; } .coupon-left { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 100px; border-right: 1px dashed var(--border-color); padding-right: 16px; } .coupon-discount { font-size: 28px; font-weight: 700; color: var(--primary-color); line-height: 1; } .coupon-condition { font-size: 12px; color: var(--text-light); margin-top: 4px; } .coupon-right { flex: 1; display: flex; flex-direction: column; justify-content: center; } .coupon-name { font-size: 15px; font-weight: 500; color: var(--text-color); margin-bottom: 6px; } .coupon-validity { font-size: 12px; color: var(--text-light); } .coupon-selected-icon { position: absolute; top: 16px; right: 16px; width: 24px; height: 24px; background-color: var(--primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; } /* 新增地址弹窗美化 */ .modal-address { max-width: 640px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); } .modal-address .modal-header { background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%); color: white; border-radius: 12px 12px 0 0; } .modal-address .modal-header h3 { color: white; } .modal-address .modal-close { color: rgba(255, 255, 255, 0.9); } .modal-address .modal-close:hover { background-color: rgba(255, 255, 255, 0.2); color: white; } .address-form { padding: 8px 0; } .address-form .form-group { margin-bottom: 24px; animation: fadeInUp 0.4s ease forwards; opacity: 0; } .address-form .form-group:nth-child(1) { animation-delay: 0.05s; } .address-form .form-group:nth-child(2) { animation-delay: 0.1s; } .address-form .form-group:nth-child(3) { animation-delay: 0.15s; } .address-form .form-group:nth-child(4) { animation-delay: 0.2s; } .address-form .form-group:nth-child(5) { animation-delay: 0.25s; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .address-form .form-group label { display: flex; align-items: center; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 10px; } .address-form .label-icon { font-size: 18px; margin-right: 8px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)); } .address-form input[type="text"], .address-form input[type="tel"], .address-form textarea, .address-form select { width: 100%; padding: 13px 18px; border: 2px solid #e8e8e8; border-radius: 10px; font-size: 14px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); background-color: #fafafa; font-family: inherit; } .address-form input[type="text"]:hover, .address-form input[type="tel"]:hover, .address-form textarea:hover, .address-form select:hover { border-color: #d0d0d0; background-color: #f5f5f5; } .address-form input[type="text"]:focus, .address-form input[type="tel"]:focus, .address-form textarea:focus, .address-form select:focus { outline: none; border-color: var(--primary-color); background-color: white; box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05); transform: translateY(-1px); } .address-form input::placeholder, .address-form textarea::placeholder { color: #999; } .address-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } /* 省市区选择器 */ .region-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative; } .region-select { padding: 13px 18px; border: 2px solid #e8e8e8; border-radius: 10px; font-size: 14px; background-color: #fafafa; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ff6b6b' stroke-width='2.5' 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 12px center; padding-right: 40px; font-family: inherit; } .region-select:hover:not(:disabled) { border-color: #d0d0d0; background-color: #f5f5f5; } .region-select:focus { outline: none; border-color: var(--primary-color); background-color: white; box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05); transform: translateY(-1px); } .region-select:disabled { background-color: #f8f8f8; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ccc' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); cursor: not-allowed; opacity: 0.5; border-color: #f0f0f0; } /* 字数统计 */ .char-count { text-align: right; font-size: 12px; color: #999; margin-top: 8px; font-weight: 500; } .char-count span { color: var(--primary-color); font-weight: 600; } /* 自定义复选框 */ .checkbox-group { margin-top: 8px; margin-bottom: 0; } .checkbox-label-new { display: flex; align-items: center; cursor: pointer; -webkit-user-select: none; user-select: none; padding: 14px 18px; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border: 2px solid #e8e8e8; border-radius: 10px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .checkbox-label-new:hover { background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%); border-color: var(--primary-color); transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); } .checkbox-label-new input[type="checkbox"] { position: absolute; opacity: 0; cursor: pointer; } .checkbox-custom { width: 22px; height: 22px; border: 2.5px solid #d0d0d0; border-radius: 6px; margin-right: 12px; position: relative; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); flex-shrink: 0; background-color: white; } .checkbox-label-new input[type="checkbox"]:checked ~ .checkbox-custom { background: linear-gradient(135deg, var(--primary-color) 0%, #ff5252 100%); border-color: var(--primary-color); transform: scale(1.1); box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3); } .checkbox-label-new input[type="checkbox"]:checked ~ .checkbox-custom::after { content: ''; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid white; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); animation: checkmark 0.3s ease; } @keyframes checkmark { 0% { opacity: 0; transform: rotate(45deg) scale(0); } 50% { opacity: 1; transform: rotate(45deg) scale(1.2); } 100% { opacity: 1; transform: rotate(45deg) scale(1); } } .checkbox-text { font-size: 14px; color: #333; font-weight: 500; } /* 按钮美化 */ .modal-footer .btn { padding: 13px 32px; font-size: 15px; font-weight: 600; border-radius: 10px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: none; } .modal-footer .btn-secondary { background-color: #f1f3f5; color: #495057; border: 2px solid #dee2e6; } .modal-footer .btn-secondary:hover { background-color: #e9ecef; border-color: #adb5bd; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } .modal-footer .btn-primary { background: linear-gradient(135deg, var(--primary-color) 0%, #ff5252 100%); color: white; box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3); } .modal-footer .btn-primary:hover { background: linear-gradient(135deg, #ff5252 0%, #e63946 100%); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4); } .modal-footer .btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3); } /* 响应式调整 */ @media (max-width: 768px) { .modal-address { max-width: 95%; } .address-form .form-row { grid-template-columns: 1fr; } .region-selector { grid-template-columns: 1fr; } } /* ===================== 支付方式 ===================== */ .payment-methods { display: flex; flex-direction: column; gap: 12px; } .payment-method { position: relative; border: 2px solid #e5e5e5; border-radius: 12px; padding: 20px; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: space-between; background: white; } .payment-method:hover:not(.disabled) { border-color: #09BB07; background: rgba(9, 187, 7, 0.02); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); } .payment-method.active { border-color: #09BB07; background: rgba(9, 187, 7, 0.05); box-shadow: 0 0 0 4px rgba(9, 187, 7, 0.1); } .payment-method.disabled { opacity: 0.5; cursor: not-allowed; background: #f5f5f5; } .payment-method-content { display: flex; align-items: center; gap: 16px; } .payment-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: #f8f9fa; border-radius: 8px; } .payment-info { display: flex; flex-direction: column; gap: 4px; } .payment-name { font-size: 16px; font-weight: 600; color: #333; display: flex; align-items: center; gap: 8px; } .payment-desc { font-size: 13px; color: #999; } .payment-check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #e5e5e5; display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.3s ease; } .payment-method.active .payment-check { opacity: 1; background: #09BB07; border-color: #09BB07; } .payment-method.active .payment-check svg { stroke: white; } .badge-disabled { font-size: 12px; padding: 2px 8px; background: #ff6b6b; color: white; border-radius: 4px; font-weight: 500; } /* ===================== 支付弹窗 ===================== */ .payment-modal-content { max-width: 500px; text-align: center; } .payment-modal-body { padding: 40px 30px; } .payment-amount { margin-bottom: 30px; } .amount-label { font-size: 14px; color: #999; margin-bottom: 8px; } .amount-value { font-size: 36px; font-weight: 700; color: #09BB07; } .qrcode-container { width: 280px; height: 280px; margin: 0 auto 30px; border: 2px solid #e5e5e5; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: white; position: relative; overflow: hidden; } .qrcode-loading { display: flex; flex-direction: column; align-items: center; gap: 16px; } .spinner { width: 48px; height: 48px; border: 4px solid #f3f3f3; border-top: 4px solid #09BB07; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .qrcode-loading p { color: #999; font-size: 14px; } .qrcode-container img { width: 100%; height: 100%; object-fit: contain; } .payment-tips { margin-bottom: 24px; } .payment-tips p { font-size: 14px; color: #666; margin-bottom: 8px; } .tips-secondary { font-size: 13px !important; color: #999 !important; } .payment-countdown { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: #666; padding: 12px; background: #f8f9fa; border-radius: 8px; } .countdown-time { font-weight: 600; color: #ff6b6b; font-size: 16px; }