/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft Yahei', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #1d2129;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: #165DFF;
    font-size: 24px;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #165DFF;
}

.current-date {
    font-size: 14px;
    color: #86909c;
}

/* 主内容区样式 */
main {
    padding: 30px 0;
}

.page-title {
    text-align: center;
    margin-bottom: 30px;
}

.page-title h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: #1d2129;
}

.page-title p {
    color: #86909c;
    font-size: 16px;
}

/* 卡片样式 */
.card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.card-section {
    padding: 24px;
    border-bottom: 1px solid #f2f3f5;
}

.card-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.section-title i {
    color: #165DFF;
    margin-right: 8px;
}

/* 信息列表样式 */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
	padding-left:8px
}

.info-item {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #f2f3f5;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    width: 30%;
    color: #86909c;
}

.info-value {
    width: 70%;
    font-weight: 500;
}

.text-success {
    color: #52C41A;
}

/* 表单元素 */
.form-input,
.form-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 15px;
    color: #1d2129;
    background-color: #fff;
    transition: border-color 0.3s ease;
    outline: none;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus {
    border-color: #165DFF;
    box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
}

.form-input::placeholder {
    color: #c9cdd4;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2386909c'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

/* 支付方式样式 */
.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 2px solid #165DFF;
    border-radius: 8px;
    background-color: rgba(22, 93, 255, 0.05);
    width: fit-content;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method i {
    color: #1677FF;
    font-size: 24px;
}

.payment-method .check-icon {
    color: #165DFF;
    margin-left: 8px;
}

/* 金额样式 */
.amount-section {
    background-color: #f5f7fa;
    padding: 24px;
}

.amount-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amount-label {
    color: #86909c;
    font-size: 16px;
}

.amount-value {
    font-size: 24px;
    font-weight: bold;
    color: #FF4D4F;
}

/* 按钮样式 */
.button-container {
    text-align: center;
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: #165DFF;
    color: white;
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.35);
}

.btn-primary:hover {
    background-color: #0E4BDB;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 93, 255, 0.4);
}

.security-info {
    margin-top: 16px;
    font-size: 14px;
    color: #86909c;
}

.security-info i {
    color: #165DFF;
    margin-right: 4px;
}

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-content {
    padding: 24px;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.modal-message {
    color: #4e5969;
    margin-bottom: 24px;
    font-size: 16px;
}

.modal-actions {
    display: flex;
    gap: 12px;
}

.btn-secondary {
    background-color: white;
    color: #1d2129;
    border: 1px solid #d9d9d9;
    flex: 1;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
}

.btn-confirm {
    background-color: #165DFF;
    color: white;
    flex: 1;
}

.btn-confirm:hover {
    background-color: #0E4BDB;
}

/* 页脚样式 */
footer {
    background-color: white;
    border-top: 1px solid #f2f3f5;
    margin-top: 40px;
}

.footer-content {
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
    color: #86909c;
}

.footer-content p {
    margin-bottom: 8px;
}

/* 工具类 */
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 768px; }

/* Logo 图片 */
.logo-img { width: 130px; }
.ga-img { width: 15px; vertical-align: middle; }

/* 响应式样式 */
@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .header-content {
        padding: 12px 0;
    }

    .logo-img {
        width: 100px;
    }

    .current-date {
        font-size: 12px;
    }

    main {
        padding: 20px 0;
    }

    .page-title {
        margin-bottom: 20px;
    }

    .page-title h2 {
        font-size: 22px;
    }

    .page-title p {
        font-size: 14px;
    }

    .card-section {
        padding: 16px;
    }

    .section-title {
        font-size: 16px;
    }

    .info-item {
        flex-direction: column;
    }

    .info-label, .info-value, .info-value-block {
        width: 100%;
    }

    .info-label {
        margin-bottom: 4px;
        font-size: 13px;
    }

    .info-value {
        font-size: 15px;
    }

    .amount-section {
        padding: 16px;
    }

    .amount-label {
        font-size: 14px;
    }

    .amount-value {
        font-size: 20px;
    }

    .btn {
        min-height: 44px;
    }

    .btn-primary {
        width: 100%;
    }

    .modal {
        width: 92%;
    }

    .modal-content {
        padding: 20px;
    }

    .modal-title {
        font-size: 18px;
    }

    .modal-message {
        font-size: 14px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .footer-content {
        padding: 16px 0;
        font-size: 12px;
    }
}