html, body { margin: 0; padding: 0; background-color: #f4f5f7; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; width: 100%; -webkit-tap-highlight-color: transparent;}
.page-container { width: 100%; max-width: 450px; padding: 15px; box-sizing: border-box; min-height: 100vh; position: relative; margin: 0 auto; }

/* 基础模块 */
.banner-card { background: linear-gradient(135deg, #4A86FF 0%, #2A5DED 100%); border-radius: 12px; padding: 24px 20px; color: #fff; position: relative; margin-bottom: -40px; padding-bottom: 60px; }
.banner-title { font-size: 22px; font-weight: bold; margin-bottom: 6px; }
.banner-sub { font-size: 13px; opacity: 0.9; margin-bottom: 16px; }
.banner-list p { margin: 4px 0; font-size: 12px; opacity: 0.8; }
.main-content { background-color: #fff; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.04); position: relative; z-index: 2; }
.form-area { padding: 0 16px; }
.form-list-item { display: flex; align-items: center; padding: 18px 0; border-bottom: 1px solid #f0f0f0; }
.form-list-item.no-border { border-bottom: none; }
.label { font-size: 15px; color: #333; width: 80px; flex-shrink: 0; }
.value-input { flex: 1; font-size: 15px; color: #333; border: none; outline: none; background: transparent; text-align: right; padding: 0; }
.unit { font-size: 15px; color: #333; margin-left: 6px; }
.vin-section { padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.vin-input-wrap { background-color: #f7f8fa; border-radius: 8px; height: 44px; display: flex; align-items: center; padding: 0 12px; position: relative; }
.vin-input { flex: 1; background: transparent; border: none; outline: none; font-size: 15px; pointer-events: none; }
.camera-btn-wrap { position: absolute; right: 0; top: 0; width: 50px; height: 100%; display: flex; align-items: center; justify-content: center; z-index: 99; }
.camera-icon { font-size: 20px; pointer-events: none; position: relative; z-index: 1; }
#camera-upload { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; }
.bottom-action { margin-top: 30px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.submit-btn { width: 90%; height: 48px; background-color: #4A86FF; color: #ffffff; font-size: 18px; font-weight: bold; border-radius: 8px; border: none; cursor: pointer; transition: 0.2s; }
.submit-btn:active { transform: scale(0.98); opacity: 0.9; }
.agreement { display: flex; align-items: center; justify-content: center; margin-top: 15px; }
.agree-text { font-size: 12px; color: #999; margin-left: 6px; }
.agreement-link { color: #4A86FF; cursor: pointer; }

/* ==========================================
   🚨 全屏抽屉式大弹窗 (伪装第二页)
   ========================================== */
.full-screen-modal { position: fixed; top: 100%; left: 0; width: 100vw; height: 100vh; background-color:transparent; z-index: 99999; display: flex; flex-direction: column; transition: top 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
.full-screen-modal.show { top: 0; }

.modal-nav { height: 50px; background: #fff; display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 1px solid #eee; flex-shrink: 0; }
.nav-back { position: absolute; left: 15px; font-size: 14px; color: #666; cursor: pointer; font-weight: bold; }
.nav-title { font-size: 16px; font-weight: bold; color: #333; }
.success-dialog-mask {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 24px;
    background: rgba(0, 0, 0, 0.42);
}

.success-dialog-mask.show {
    display: flex;
}

.success-dialog {
    width: min(78vw, 300px);
    box-sizing: border-box;
    padding: 22px 20px 18px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.success-dialog-title {
    color: #222;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.success-dialog-message {
    margin-top: 10px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.success-dialog-button {
    min-width: 92px;
    height: 38px;
    margin-top: 18px;
    padding: 0 24px;
    border: 0;
    border-radius: 19px;
    background: #2c825f;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.success-dialog-button:focus-visible {
    outline: 2px solid #76b99c;
    outline-offset: 2px;
}
