* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px 16px;
    min-height: 100vh;
}

.card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    margin-top: 20px;
}

/* 头部 */
.header {
    text-align: center;
    margin-bottom: 28px;
}

.logo {
    font-size: 48px;
    margin-bottom: 8px;
}

.header h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 6px;
}

.subtitle {
    font-size: 14px;
    color: #999;
}

/* 表单 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    height: 48px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus {
    border-color: #667eea;
}

.form-group input::placeholder {
    color: #bbb;
}

/* 提交按钮 */
.btn-submit {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 8px;
}

.btn-submit:active {
    opacity: 0.85;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 成功页 */
.success-card {
    text-align: center;
}

.success-icon {
    font-size: 56px;
    margin-bottom: 8px;
}

.success-card h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 24px;
}

.info-list {
    background: #f7f8fc;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: #888;
}

.info-value {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.info-value.highlight {
    color: #667eea;
    font-weight: 700;
    font-size: 16px;
}

/* 提示框 */
.tip-box {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 14px 16px;
    text-align: left;
    margin-bottom: 24px;
}

.tip-box strong {
    /* display: block; */
    font-size: 14px;
    color: #f57c00;
    margin-bottom: 4px;
}

.tip-box p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.tip-box strong {
    color: #f57c00;
}

/* 按钮组 */
.btn-group {
    display: flex;
    gap: 12px;
}

.btn-copy, .btn-again {
    flex: 1;
    height: 46px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-copy {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-again {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
}

.btn-copy:active, .btn-again:active {
    opacity: 0.8;
}

/* Toast */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    max-width: 80%;
    text-align: center;
    line-height: 1.5;
}

.toast.show {
    opacity: 1;
}
