* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
}

body {
    position: relative;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
}

.bg-layer img {
    width: 100%;
    height: auto;
    display: block;
}

/* 图片热区通用样式 */
.hotspot {
    position: absolute;
    display: block;
    cursor: pointer;
    top: 0;
    height: 100%;
}

/* 首页：xuan.jpg(1290×249)左侧第1格，x:0-258 → 20% */
.hotspot-shouye {
    left: 0;
    width: 20%;
}

/* 津心登：2.jpg(1290×2511) x:500-770, y:1280-1480 */
.hotspot-jinxindeng-2 {
    left: 38.8%;
    top: 51.0%;
    width: 20.9%;
    height: 12%;
}

/* 查询：3.jpg(1290×2352) x:30-300, y:1300-1580 */
.hotspot-chaxun {
    left: 2.3%;
    top: 55.3%;
    width: 20.9%;
    height: 11.9%;
}

/* 我的不动产：4.jpg(1290×2559) x:690-1250, y:490-680 */
.hotspot-wodebdc {
    left: 53.5%;
    top: 19.1%;
    width: 43.4%;
    height: 7.4%;
}

/* 登记信息查询：4.jpg(1290×2559) x:40-640, y:1060-1250 */
.hotspot-djxxcx {
    left: 3.1%;
    top: 41.4%;
    width: 46.5%;
    height: 7.4%;
}

/* 不动产详情蓝色卡片：5.jpg(1290×2664) x:50-1250, y:290-990 */
.hotspot-bdc-detail {
    left: 3.9%;
    top: 10.9%;
    width: 93.0%;
    height: 26.3%;
}

/* 6.jpg(1290×2670) 返回按钮① 顶部"< 返回 关闭" x:0-310, y:0-100 */
.hotspot-back6-1 {
    left: 0%;
    top: 0%;
    width: 24.0%;
    height: 3.7%;
}

/* 6.jpg(1290×2670) 返回按钮② 蓝色导航栏"<" x:0-180, y:130-280 */
.hotspot-back6-2 {
    left: 0%;
    top: 4.9%;
    width: 13.9%;
    height: 5.6%;
}

/* 8.jpg(1290×2037) 选择不动产按钮 x:690-1250, y:1450-1660 */
.hotspot-select-property {
    left: 53.5%;
    top: 54.2%;
    width: 43.4%;
    height: 10.3%;
}

/* 9.html PDF 查看器 */
#pageContent9 {
    position: relative;
    min-height: 100vh;
    padding-bottom: 80px;
}

.pdf-images {
    width: 100%;
}

.pdf-page {
    width: 100%;
    display: block;
    margin-bottom: 10px;
}
#toolbar{background-color:#e0e0e0 !important;}
/* 底部悬浮按钮组 */
.bottom-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.btn-download {
    flex: 1;
    height: 44px;
    background: #fff;
    border: 1px solid #2979f0;
    border-radius: 22px;
    color: #2979f0;
    font-size: 15px;
    cursor: pointer;
}

.btn-evaluate {
    flex: 2;
    height: 44px;
    background: linear-gradient(90deg, #5aabf8, #2979f0);
    border: none;
    border-radius: 22px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.page-content {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

/* 8.html 和 9.html 的内容区需要交互 */
#pageContent8,
#pageContent9 {
    pointer-events: auto;
}

/* 8.html 特殊处理：表单固定在页面底部 */
#pageContent8 {
    background: #f5f5f5;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

/* 查询表单 */
.form-section {
    background: #fff;
    padding: 24px 16px 16px;    margin: 0px 16px;
}

.form-item {
    margin-bottom: 12px;
}

.form-label {
    display: block;
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
}

.required {
    color: #e53935;
}

.form-input {
    width: 100%;
    height: 46px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 14px;
    color: #333;
    outline: none;
    background: #fff;
}

.form-input::placeholder {
    color: #c0c0c0;
}

.form-input:focus {
    border-color: #4a9ef5;
}

.form-actions {
    padding: 24px 16px 16px;
    background: #fff;    margin: 0px 16px;
}

.btn-query {
    width: 100%;
    height: 50px;
    background: linear-gradient(90deg, #5aabf8, #2979f0);
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 17px;
    letter-spacing: 4px;
    cursor: pointer;
}

/* 弹窗遮罩 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 底部弹窗 */
.modal-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 80vh;
    background: #f5f5f5;
    border-radius: 16px 16px 0 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
}

.modal-bottom.active {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 16px 16px;
    text-align: center;
    background: #f5f5f5;
    border-bottom: 1px solid #e8e8e8;
}

.modal-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.modal-body {
    padding: 16px;
    padding-bottom: 200px;
    background: #f5f5f5;
}

.property-card {
    background: url('../images/di.jpg') center/100% 100% no-repeat;
    border-radius: 12px;
    padding: 16px;
    color: #fff;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.property-id {
    font-size: 18px;
    font-weight:normal;
    color: #ffffff;
}

.property-check {
    width: 24px;
    height: 24px;
    background: #fff;
    color: #5d9cf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

.property-row {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.property-label {
    flex-shrink: 0;
    opacity: 0.9;
}

.property-value {
    flex: 1;
    text-align: right;
}

.modal-footer {
    padding: 16px;
    background: #f5f5f5;
}

.btn-confirm {
    width: 100%;
    height: 48px;
    background: linear-gradient(90deg, #5aabf8, #2979f0);
    border: none;
    border-radius: 24px;
    color: #fff;
    font-size: 16px;
    letter-spacing: 6px;
    cursor: pointer;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.bottom-nav img {
    width: 100%;
    display: block;
}
