/* ============================================================
   CSS 变量（从设计图提取）
   ============================================================ */
:root {
    /* 文字颜色 */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-tertiary: #999999;

    /* 背景颜色 */
    --bg-page: #ffffff;
    --bg-card: #ffffff;

    /* 品牌色 */
    --color-primary: #1a56db;

    /* 边框 */
    --border-color: #e5e5e5;

    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* 字体 */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", 
                   "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ============================================================
   重置样式
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--bg-page);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { border: none; outline: none; font-family: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   页面容器
   ============================================================ */
.page {
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg-page);
    display: flex;
    flex-direction: column;
}

/* ============================================================
   顶部导航
   ============================================================ */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-page);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px;
    width: auto;
}

.page-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.header-right {
    width: 40px; /* 占位，保持标题居中 */
}

/* ============================================================
   主内容区
   ============================================================ */
.main-content {
    flex: 1;
    padding: 0 20px;
}

/* ============================================================
   区块样式
   ============================================================ */
.section {
    margin-bottom: 32px;
}

.section:first-child {
    margin-top: 34px;
}

.section:nth-child(2) {
    margin-top: 56px;
}

.section-header {
    padding-bottom: 12px;
    border-bottom: 2px solid var(--text-primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================================
   付款信息列表
   ============================================================ */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    align-items: center;
}

.info-label {
    font-size: 14px;
    color: var(--text-tertiary);
    width: 80px;
    flex-shrink: 0;
}

.info-value {
    font-size: 14px;
    color: var(--text-primary);
    margin-left: 40px;
}

.info-row--highlight {
    margin-top: 8px;
}

.info-label--primary {
    color: var(--color-primary);
    font-weight: 700;
    width: auto;
    white-space: nowrap;
}

.info-value--primary {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 16px;
}

/* ============================================================
   座位信息卡片
   ============================================================ */
.ticket-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-row {
    display: flex;
    align-items: flex-start;
}

.ticket-label {
    font-size: 14px;
    color: var(--text-tertiary);
    width: 70px;
    flex-shrink: 0;
}

.ticket-value {
    font-size: 14px;
    color: var(--text-primary);
}

.ticket-label--bold {
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================================
   底部区域
   ============================================================ */
.footer {
    padding: 16px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-group {
    display: flex;
    gap: 12px;
}

.btn {
    flex: 1;
    height: 48px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn--outline {
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn--outline:hover {
    background: #f5f5f5;
}

.btn--outline:active {
    transform: scale(0.98);
}

.btn--outline.btn--primary {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn--outline.btn--primary:hover {
    background: rgba(26, 86, 219, 0.05);
}

.btn-contact {
    width: 100%;
    height: 48px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.btn-contact:hover {
    background: #f5f5f5;
}

.btn-contact:active {
    transform: scale(0.98);
}

.site-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-tertiary);
    padding-top: 8px;
}

.site-info i {
    font-size: 12px;
}

