* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: #f6f6f6;
    color: #333;
    line-height: 1.5;
}

.header {
    width: 100%;
    height: 100px;
    background: linear-gradient(to right, #fefefe, #fef0f0);
    padding: 20px;
}

.header-title {
    float: left;
}

.header-title-tag {
    color: #f96525;
    font-weight: 700;
    font-size: 20px;
}

.header-title-content {
    color: #929395;
    font-size: 14px;
    margin-top: 2px;
}

.header-price {
    float: right;
}

.header-price-title {
    color: #929395;
    font-size: 15px;
}

.header-price-value {
    font-weight: 700;
    font-size: 24px;
}

.container {
    padding: 0 15px;
    margin: 10px 0;
}

.container-common {
    background: #fff;
    padding: 5px 15px;
    margin: 10px 0;
    border-radius: 10px;
}

.container-loan {
    padding: 5px 15px 20px 15px;
}

.info-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
}

.name-section {
    border-bottom: 2px solid #f0f0f0;
}

.info-number {
    font-size: 16px;
}

.name-input,
.idcard-input,
.city-input {
    /* 布局 */
    width: 100%;
    /* 按需调整宽度 */
    padding: 10px 15px;
    /* 控制光标位置 */
    box-sizing: border-box;
    /* 样式 */
    background: #fff;
    /* 白色背景 */
    border: none;
    /* 去掉边框 */
    outline: none;
    /* 移除聚焦时的轮廓线 */
    /* 字体 */
    font-size: 14px;
    /* 指定字号 */
    text-align: right;
    /* 光标靠右 */
    color: #000;
    /* 文字颜色（可选） */
    /* 其他 */
    border-radius: 0;
    /* 可选：去掉圆角 */
}

.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
}

.input-field::placeholder {
    color: #999;
}

.zhima-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.zhima-option {
    flex: 1;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
    background: #fff;
}

.zhima-option.active {
    background-color: #3562f9;
    color: #fff;
    border-color: #3562f9;
}

.purpose-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.purpose-option {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
}

.purpose-option.active {
    background-color: #3562f9;
    color: #fff;
    border-color: #3562f9;
}

.income-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.income-option {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
}

.income-option.active {
    background-color: #3562f9;
    color: #fff;
    border-color: #3562f9;
}

.section-title {
    font-size: 14px;
    color: #333;
    margin: 15px 0;
    font-weight: 500;
}

.section-title span {
    font-size: 12px;
}

.option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.option-btn {
    padding: 8px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    background: #f9f9f9;
    font-size: 14px;
}

.option-btn.active {
    background: #f44336;
    color: #fff;
    border-color: #f44336;
}

.city-warning {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
}

.agree-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.agree-group img {
    width: 20px;
    height: 20px;
}

.agree-btn {
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 2px;
    cursor: pointer;
}

.agree-btn.checked {
    background-color: #3562f9;
    border-color: #3562f9;
}

.agree-text {
    font-size: 12px;
    color: #999;
}

.agree-text a {
    color: #007bff;
    text-decoration: none;
}

.confirm-btn-group {
    width: 100%;
    cursor: pointer;
    text-align: center;
}

.confirm-btn {
    width: 86%;
    margin: 0 7%;
    background-color: #3562f9;
    border: none;
    display: block;
    padding: 12px;
    color: #fff;
    font-size: 15px;
    border-radius: 25px;
    margin-top: 20px;
    font-weight: 700;
}

.security-tips {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
    padding: 0 10px;
}

.security-tips-city {
    margin-bottom: 25px;
}

/* 修改.overlay样式 */
/* .overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #e6f6ff;
    padding: 20px 20px 80px; */
    /* 增加底部内边距为按钮留空间 */
    /* border-radius: 15px 15px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    z-index: 999;
    height: 600px;
    max-height: 90vh;
    overflow-y: auto;
} */

/* .overlay.active {
    transform: translateY(0);
}

.overlay-content {
    max-height: 60vh;
    overflow-y: auto;
    margin-bottom: 20px;
}

.overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.overlay-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.overlay-title {
    font-size: 15px;
    font-weight: 700;
    text-align: left;
}

.overlay-title a {
    text-decoration: none;
} */

.iframe-shareinfo {
    width: 100%;
    height: 40vh;
    overflow: hidden;
    background: #fff;
    padding-bottom: 20px;
    border-radius: 15px;
}

.iframe-shareinfo-custom {
    width: 100%;
    height: 100%;
    border: none;
}

.iframe-shareinfo-all {
    float: right;
    position: relative;
    bottom: 38px;
    width: 90px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    font-size: 14px;
    background-color: #e6f2ff;
    font-weight: 700;
}

.iframe-product, .iframe-thirdproduct {
    width: 100%;
    margin-top: 40px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #333;
}

/* 修改.confirm-overlay样式 */
.confirm-overlay {
    position: fixed;
    /* 改为fixed定位 */
    bottom: 20px;
    /* 距离底部20px */
    left: 50%;
    /* 水平居中 */
    transform: translateX(-50%);
    /* 精确居中 */
    width: calc(100% - 40px);
    /* 宽度减去左右边距 */
    max-width: 500px;
    /* 最大宽度限制 */
    height: 50px;
    line-height: 50px;
    background-color: #ff4444;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    z-index: 1001;
    /* 确保在遮盖层之上 */
    margin: 0 auto;
    /* 水平居中 */
    display: none;
    /* 默认隐藏 */
}

.confirm-overlay.disabled {
  background-color: #ff9999; /* 浅红色（倒计时期间） */
  cursor: not-allowed;
}

.iframe-product-custom {
    width: 100%;
    height: 40vh;
    overflow: hidden;
    background: #fff;
    padding-bottom: 20px;
    border-radius: 15px;
    border: none;
    margin-top: 20px;
}

.iframe-product-all {
    float: right;
    position: relative;
    bottom: 45px;
    width: 90px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    font-size: 14px;
    background-color: #e6f2ff;
    font-weight: 700;
}

/* 修改为弹窗样式 */
.overlay-loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: linear-gradient(to bottom, #e9eafe, #fff);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1005;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}

.overlay-loading.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.overlay-loading-img {
    width: 100%;
    height: 150px;
    text-align: center;
    margin-top: 30%;
}

.overlay-loading-img img {
    width: 150px;
    height: 150px;
}

.overlay-loading-content {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin: 10px 0;
}