/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #efefef;
    min-height: 100vh;
}

/* ===== 页面容器 ===== */
.page-container {
    max-width: 710px;
    margin: 0 auto;
    padding: 0 50px;
}

/* ===== Logo区域 ===== */
.logo-section {
    text-align: center;
    padding-top: 17px;
}

.logo {
    width: 84px;
    height: 84px;
    margin: 0 auto;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===== 标题区域 ===== */
.title-section {
    text-align: center;
    margin-top: 19px;
}

.title-cn {
    font-size: 22px;
    font-weight: bold;
    color: #086fc5;
    line-height: 1.4;
}

.title-en {
    font-size: 20px;
    color: #0185eb;
    line-height: 1.4;
    margin-top: 4px;
}

/* ===== 白色卡片 ===== */
.card {
    background-color: #ffffff;
    border-radius: 8px;
    margin-top: 19px;
    padding: 48px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ===== 首页按钮列表 ===== */
.button-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 0 50px;
}

.query-button {
    width: 351px;
    height: 48px;
    border: 1px solid #979797;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s;
}

.query-button:hover {
    background-color: #f9f9f9;
}

.query-button .arrow {
    color: #979797;
    font-size: 18px;
}

/* ===== 查询结果页样式 ===== */
.result-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.stamp {
    width: 140px;
    height: 70px;
}

.stamp img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.congrats-text {
    font-size: 28px;
    color: #2ecc71;
    font-weight: bold;
    margin-left: 10px;
}

/* ===== 信息分组 ===== */
.info-section {
    margin-top: 40px;
    padding: 0 30px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.section-line {
    flex: 1;
    height: 1px;
    background-color: #e8e8e8;
}

.section-line:first-child {
    max-width: 30px;
    flex: 0 0 30px;
}

.section-title {
    font-size: 17px;
    color: #171717;
    font-weight: bold;
    padding: 0 12px;
    white-space: nowrap;
}

/* ===== 信息项 ===== */
.info-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 14px;
    padding-left: 50px;
}

.info-label {
    font-size: 16px;
    color: #b0b0b0;
    min-width: 85px;
}

.info-value {
    font-size: 17px;
    color: #171717;
    font-weight: 500;
}

/* ===== 底部信息 ===== */
.footer-section {
    margin-top: 40px;
    padding: 0 30px 30px;
}

.footer-item {
    font-size: 16px;
    color: #929292;
    margin-bottom: 8px;
}

.footer-divider {
    height: 1px;
    background-color: #282828;
    margin: 20px 0;
}

.footer-center {
    text-align: center;
    font-size: 16px;
    color: #929292;
    padding-bottom: 30px;
}

/* ===== 查询页样式 ===== */
.query-card {
    position: relative;
}

.back-button {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background-color: #50a8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    border: none;
    cursor: pointer;
}

.query-title {
    text-align: center;
    font-size: 26px;
    color: #0185eb;
    font-weight: bold;
    margin-top: 40px;
}

.id-icon {
    width: 80px;
    height: 80px;
    margin: 30px auto 20px;
}

.id-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.input-label {
    text-align: center;
    font-size: 18px;
    color: #171717;
    font-weight: bold;
    margin-bottom: 12px;
}

.input-field {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 30px;
}

.input-field input {
    width: 100%;
    height: 44px;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    padding: 0 16px;
    font-size: 16px;
    color: #333333;
    outline: none;
}

.input-field input::placeholder {
    color: #c0c0c0;
}

.submit-button {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 20px auto 0;
    height: 44px;
    background-color: #0185eb;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background-color: #0074d0;
}

.submit-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.notice-section {
    margin-top: 30px;
    padding: 0 30px;
}

.notice-title {
    font-size: 15px;
    color: #171717;
    font-weight: bold;
    margin-bottom: 12px;
}

.notice-list {
    list-style: none;
    padding: 0;
}

.notice-list li {
    font-size: 14px;
    color: #666666;
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.notice-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: #666666;
    border-radius: 50%;
}

/* ===== 验证码弹窗样式 ===== */
.modal-overlay {
    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;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background-color: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease;
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 20px;
    color: #171717;
    font-weight: bold;
    margin-bottom: 12px;
}

.modal-phone-tip {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
}

.modal-phone-number {
    color: #0185eb;
    font-weight: 500;
}

.code-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.code-input {
    flex: 1;
    height: 48px;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    padding: 0 16px;
    font-size: 16px;
    color: #333333;
    outline: none;
    transition: border-color 0.2s;
}

.code-input:focus {
    border-color: #0185eb;
}

.code-input::placeholder {
    color: #c0c0c0;
}

.code-button {
    width: 120px;
    height: 48px;
    background-color: #0185eb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.code-button:hover:not(:disabled) {
    background-color: #0074d0;
}

.code-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.modal-submit {
    width: 100%;
    height: 48px;
    background-color: #0185eb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.modal-submit:hover {
    background-color: #0074d0;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 32px;
    text-align: center;
}

.modal-close:hover {
    color: #666;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 页面切换 ===== */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* ===== 响应式适配 ===== */
@media (max-width: 768px) {
    .page-container {
        padding: 0 20px;
    }

    .query-button {
        width: 100%;
    }

    .button-list {
        padding: 0 20px;
    }

    .title-cn {
        font-size: 18px;
    }

    .title-en {
        font-size: 16px;
    }

    .modal-container {
        margin: 0 20px;
        width: calc(100% - 40px);
    }
}
.red {
    color: #e61f17;
}
.error-text{
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}