* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #f5f5f5;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 16px 24px;
}
.page-top-bar {
    background: #1890ff;
    color: #fff;
    margin: 0 -16px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.user-phone {
    font-size: 14px;
    font-weight: 500;
}
.page-top-bar .logout-link {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    opacity: 0.85;
}
.step-bar {
    display: flex;
    background: #fff;
    margin: 0 -16px;
    padding: 12px 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.step-item {
    flex: 1;
    text-align: center;
    min-width: 0;
    position: relative;
}
.step-item::after {
    content: '';
    position: absolute;
    top: 14px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #e8e8e8;
    z-index: 0;
}
.step-item:last-child::after {
    display: none;
}
.step-item.completed::after {
    background: #52c41a;
}
.step-num {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    background: #e8e8e8;
    color: #999;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}
.step-item.active .step-num {
    background: #1890ff;
    color: #fff;
}
.step-item.completed .step-num {
    background: #52c41a;
    color: #fff;
}
.step-label {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.step-item.active .step-label {
    color: #1890ff;
    font-weight: 600;
}
.step-item.completed .step-label {
    color: #52c41a;
}
.step-content {
    background: #fff;
    border-radius: 8px;
    padding: 20px 16px;
    margin-top: 12px;
}
.step-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.form-group {
    margin-bottom: 16px;
    position: relative;
}
.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 500;
}
.required {
    color: #ff4d4f;
}
.radio-group {
    display: flex;
    gap: 16px;
}
.radio-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
}
.radio-label input[type="radio"] {
    margin-right: 6px;
    accent-color: #1890ff;
}
input[type="text"],
input[type="number"],
input[type="date"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24,144,255,0.2);
}
textarea {
    resize: vertical;
    min-height: 80px;
}
.single-upload {
    position: relative;
    border: 2px dashed #d9d9d9;
    border-radius: 8px;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
    background: #fafafa;
}
.single-upload:active {
    border-color: #1890ff;
}
.single-upload .upload-placeholder {
    color: #999;
}
.uploading-icon {
    animation: spin 1s linear infinite;
    display: inline-block;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.uploading-text {
    display: block;
    font-size: 13px;
    color: #1890ff;
    margin-top: 4px;
}
.upload-icon {
    display: block;
    font-size: 36px;
    color: #1890ff;
    margin-bottom: 4px;
    line-height: 1;
}
.upload-hint {
    display: block;
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}
.single-upload .upload-preview {
    position: relative;
}
.single-upload .upload-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}
.remove-img {
    margin-top: 8px;
    text-align: center;
    padding: 8px 0;
    color: #999;
    font-size: 13px;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    cursor: pointer;
}
.remove-img:active {
    color: #ff4d4f;
    border-color: #ff4d4f;
}
.multi-upload {
    border: 2px dashed #d9d9d9;
    border-radius: 8px;
    padding: 12px;
    background: #fafafa;
}
.multi-upload-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}
.multi-upload-item {
    position: relative;
    width: 100px;
}
.multi-upload-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #d9d9d9;
    display: block;
}
.multi-upload-item .remove-img {
    margin-top: 6px;
    padding: 5px 0;
    font-size: 12px;
}
.multi-upload .upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border: 2px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    color: #999;
    background: #fff;
    overflow: hidden;
}
.multi-upload .upload-placeholder .upload-icon {
    font-size: 28px;
    color: #1890ff;
    line-height: 1;
    margin-bottom: 2px;
}
.multi-upload .upload-placeholder .upload-hint {
    font-size: 11px;
    color: #999;
    line-height: 1.2;
    text-align: center;
}
.multi-upload .upload-placeholder:hover {
    border-color: #1890ff;
    color: #1890ff;
}
.ocr-tag {
    display: inline-block;
    font-size: 11px;
    color: #1890ff;
    background: #e6f7ff;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-bottom: 20px;
}
.btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}
.btn:active {
    opacity: 0.8;
}
.btn-primary {
    background: #1890ff;
    color: #fff;
}
.btn-prev {
    background: #f0f0f0;
    color: #666;
}
.btn-block {
    display: block;
    width: 100%;
}
.preview-area {
    font-size: 13px;
}
.preview-section {
    margin-bottom: 16px;
}
.preview-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1890ff;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
}
.preview-row {
    display: flex;
    padding: 6px 0;
    border-bottom: 1px solid #fafafa;
}
.preview-label {
    width: 100px;
    flex-shrink: 0;
    color: #999;
}
.preview-value {
    flex: 1;
    color: #333;
    word-break: break-all;
}
.preview-img {
    max-width: 80px;
    max-height: 60px;
    border-radius: 4px;
}
.success-page {
    text-align: center;
    padding: 60px 20px;
}
.success-icon {
    margin-bottom: 20px;
}
.success-page h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}
.success-desc {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}
.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.image-viewer-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
}
.image-viewer-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 95%;
    max-height: 90%;
}
.image-viewer-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
}
input.error,
textarea.error,
select.error {
    border-color: #ff4d4f;
}
.error-msg {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 4px;
}
.alert {
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 13px;
}
.alert-error {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: #f5222d;
}
.login-page {
    padding: 40px 16px;
}
.login-header {
    text-align: center;
    margin-bottom: 30px;
}
.login-header h1 {
    font-size: 22px;
    color: #1890ff;
    margin-bottom: 6px;
}
.login-header p {
    font-size: 14px;
    color: #999;
}
.login-form .form-group {
    margin-bottom: 16px;
}
.login-footer {
    text-align: center;
    margin-top: 20px;
}
.login-footer a {
    color: #1890ff;
    text-decoration: none;
    font-size: 14px;
}
.footer {
    text-align: center;
    padding: 20px 0;
    color: #999;
    font-size: 12px;
}
.rate-hint {
    font-size: 13px;
    color: #fa8c16;
    background: #fff7e6;
    border: 1px solid #ffe58f;
    border-radius: 6px;
    padding: 8px 12px;
    line-height: 1.6;
}
.record-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.record-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}
.record-info {
    font-size: 13px;
}
.record-row {
    display: flex;
    padding: 4px 0;
}
.record-label {
    width: 80px;
    color: #999;
    flex-shrink: 0;
}
.record-value {
    flex: 1;
    color: #333;
}
.record-reject {
    font-size: 12px;
    color: #f5222d;
    background: #fff2f0;
    border: 1px solid #ffccc7;
    border-radius: 4px;
    padding: 6px 10px;
    margin-top: 8px;
}
.record-actions {
    margin-top: 10px;
    text-align: right;
}
.with-tabbar {
    padding-bottom: 70px;
}
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #fff;
    display: flex;
    border-top: 1px solid #e8e8e8;
    z-index: 100;
    max-width: 750px;
    margin: 0 auto;
}
.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #999;
    font-size: 12px;
    padding: 4px 0;
}
.tab-item.active {
    color: #1890ff;
}
.tab-icon {
    font-size: 22px;
    line-height: 1;
    margin-bottom: 2px;
}
.tab-label {
    font-size: 11px;
}
.home-page {
    padding: 40px 0;
    text-align: center;
}
.home-header {
    margin-bottom: 40px;
}
.home-welcome {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.home-phone {
    font-size: 14px;
    color: #999;
}
.home-action {
    margin-bottom: 30px;
}
.home-add-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    background: #1890ff;
    border-radius: 24px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 16px rgba(24,144,255,0.3);
}
.home-add-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 8px;
}
.home-add-text {
    font-size: 16px;
    font-weight: 500;
}
.home-desc {
    color: #999;
    font-size: 13px;
    line-height: 2;
}
.my-page-header {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 16px;
}
.my-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e6f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 14px;
}
.my-info {
    flex: 1;
}
.my-phone {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.my-logout {
    font-size: 13px;
    color: #999;
    text-decoration: none;
}
.my-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}
.my-empty {
    text-align: center;
    padding: 60px 0;
    color: #999;
}
