/* =============================================================
 * 预约弹窗 + 电话按钮视觉统一层
 * 2026-12-03
 *
 * 只做视觉：颜色、字体、圆角、阴影、间距、悬停反馈。
 * 不改表单字段、提交地址、JS 钩子、路由、数据库、预约语义、电话逻辑。
 * 本文件由 site-footer.php 在旧样式之后加载。
 * ============================================================= */

/* ---------- 预约弹窗 ---------- */
html body .booking-inquiry-modal.open,
html body .booking-success-modal.open{
    padding:20px 122px 20px 20px !important;
    justify-content:flex-end !important;
}

html body .booking-inquiry-mask{
    background:rgba(11,46,102,.62) !important;
    backdrop-filter:blur(8px) !important;
}

html body .booking-inquiry-dialog{
    width:min(520px,calc(100vw - 150px)) !important;
    max-height:calc(100vh - 40px) !important;
    border:1px solid #DDE6F2 !important;
    border-radius:24px !important;
    background:#FFFFFF !important;
    box-shadow:0 10px 24px rgba(18,63,124,.12),0 30px 80px rgba(11,46,102,.22) !important;
}

html body .booking-inquiry-dialog>header{
    padding:27px 31px 22px !important;
    background:linear-gradient(135deg,#2568B8,#123F7C) !important;
    color:#FFFFFF !important;
}

html body .booking-inquiry-dialog>header>span{
    color:#D4A65A !important;
    font-size:10px !important;
    font-weight:800 !important;
    letter-spacing:.18em !important;
}

html body .booking-inquiry-dialog>header h2{
    margin:6px 0 6px !important;
    color:#FFFFFF !important;
    font-size:26px !important;
    font-weight:700 !important;
    line-height:1.22 !important;
    letter-spacing:-.01em !important;
}

html body .booking-inquiry-dialog>header p{
    color:rgba(255,255,255,.88) !important;
    font-size:12px !important;
    line-height:1.7 !important;
}

html body .booking-inquiry-close{
    width:34px !important;
    height:34px !important;
    right:14px !important;
    top:14px !important;
    border:1px solid rgba(255,255,255,.55) !important;
    border-radius:50% !important;
    background:rgba(255,255,255,.12) !important;
    color:#FFFFFF !important;
    font-size:20px !important;
    transition:.2s ease !important;
}

html body .booking-inquiry-close:hover{
    background:rgba(255,255,255,.24) !important;
    transform:rotate(90deg) !important;
}

html body .booking-inquiry-dialog .booking-inquiry-form{
    padding:22px 30px 26px !important;
    background:#FFFFFF !important;
}

html body .booking-context-card{
    border:1px solid #DDE6F2 !important;
    border-radius:16px !important;
    background:#F6F9FD !important;
    box-shadow:0 2px 8px rgba(18,63,124,.06) !important;
}

html body .booking-context-icon{
    border-radius:13px !important;
    background:#EEF4FC !important;
    color:#1559AE !important;
}

html body .booking-context-copy strong{
    color:#17385F !important;
    font-size:14px !important;
    font-weight:700 !important;
}

html body .booking-context-copy small,
html body .booking-context-copy em{
    color:#5A6B80 !important;
}

html body .booking-context-lock{
    border:1px solid #DDE6F2 !important;
    border-radius:999px !important;
    background:#FFFFFF !important;
    color:#1559AE !important;
    box-shadow:none !important;
}

html body .booking-inquiry-dialog .booking-field>span,
html body .booking-inquiry-dialog .booking-date-picker>label>span{
    color:#17385F !important;
    font-size:12px !important;
    font-weight:700 !important;
}

html body .booking-inquiry-dialog .booking-field input,
html body .booking-inquiry-dialog .booking-field select,
html body .booking-inquiry-dialog .booking-field textarea,
html body .booking-inquiry-dialog .booking-date-display{
    border:1px solid #DDE6F2 !important;
    border-radius:12px !important;
    background:#FFFFFF !important;
    color:#17385F !important;
    font-size:13px !important;
    transition:border-color .2s ease,box-shadow .2s ease !important;
}

html body .booking-inquiry-dialog .booking-field input,
html body .booking-inquiry-dialog .booking-field select,
html body .booking-inquiry-dialog .booking-date-display{
    height:44px !important;
}

html body .booking-inquiry-dialog .booking-field input:focus,
html body .booking-inquiry-dialog .booking-field select:focus,
html body .booking-inquiry-dialog .booking-field textarea:focus{
    border-color:#2568B8 !important;
    box-shadow:0 0 0 3px rgba(37,104,184,.12) !important;
}

html body .booking-inquiry-dialog .booking-more-fields{
    border:1px solid #EADFCB !important;
    border-radius:14px !important;
    background:#FBF6ED !important;
}

html body .booking-inquiry-dialog .booking-more-fields>summary{
    color:#17385F !important;
}

html body .booking-inquiry-dialog .booking-more-fields>summary b{
    background:#D4A65A !important;
    color:#FFFFFF !important;
}

html body .booking-inquiry-dialog .booking-submit{
    min-height:48px !important;
    border:0 !important;
    border-radius:999px !important;
    background:linear-gradient(135deg,#2568B8,#123F7C) !important;
    box-shadow:0 10px 24px rgba(18,63,124,.18) !important;
    color:#FFFFFF !important;
    font-size:14px !important;
    font-weight:800 !important;
    letter-spacing:.02em !important;
    transition:transform .2s ease,box-shadow .2s ease,filter .2s ease !important;
}

html body .booking-inquiry-dialog .booking-submit:hover{
    transform:translateY(-1px) !important;
    filter:brightness(.98) !important;
    box-shadow:0 12px 28px rgba(18,63,124,.24) !important;
}

html body .booking-disclaimer{
    color:#5A6B80 !important;
    font-size:11px !important;
    line-height:1.55 !important;
}

/* ---------- 提交成功弹窗 ---------- */
html body .booking-success-dialog{
    width:min(460px,100%) !important;
    padding:36px 32px !important;
    border:1px solid #DDE6F2 !important;
    border-radius:24px !important;
    box-shadow:0 10px 24px rgba(18,63,124,.12),0 30px 80px rgba(11,46,102,.22) !important;
}

html body .booking-success-icon{
    width:68px !important;
    height:68px !important;
    margin-bottom:18px !important;
    background:#EEF4FC !important;
    color:#1559AE !important;
    font-size:32px !important;
}

html body .booking-success-dialog h2{
    color:#17385F !important;
    font-size:24px !important;
    font-weight:700 !important;
}

html body .booking-success-dialog p{
    color:#5A6B80 !important;
    font-size:13px !important;
    line-height:1.8 !important;
}

html body .booking-success-dialog small{
    border-radius:12px !important;
    background:#F6F9FD !important;
    color:#1559AE !important;
    font-size:12px !important;
    line-height:1.7 !important;
}

html body .booking-success-dialog .primary-btn{
    min-height:48px !important;
    border:0 !important;
    border-radius:999px !important;
    background:linear-gradient(135deg,#2568B8,#123F7C) !important;
    box-shadow:0 10px 24px rgba(18,63,124,.18) !important;
    font-size:14px !important;
    font-weight:800 !important;
}

/* ---------- 首页主按钮 ---------- */
html body .home-hero .hero-actions .home-hero-primary,
html body .home-hero .hero-actions .home-hero-secondary{
    min-height:48px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:9px !important;
    padding:0 24px !important;
    border-radius:999px !important;
    font-size:14px !important;
    font-weight:800 !important;
    letter-spacing:.01em !important;
    text-decoration:none !important;
    transition:transform .2s ease,box-shadow .2s ease,filter .2s ease !important;
}

html body .home-hero .hero-actions .home-hero-primary{
    border:0 !important;
    background:linear-gradient(135deg,#2568B8,#123F7C) !important;
    box-shadow:0 10px 24px rgba(18,63,124,.18) !important;
    color:#FFFFFF !important;
}

html body .home-hero .hero-actions .home-hero-secondary{
    border:1px solid #BFD3EA !important;
    background:rgba(255,255,255,.86) !important;
    box-shadow:0 2px 8px rgba(18,63,124,.06) !important;
    color:#123F7C !important;
    backdrop-filter:blur(6px) !important;
}

html body .home-hero .hero-actions .home-hero-primary:hover,
html body .home-hero .hero-actions .home-hero-secondary:hover{
    transform:translateY(-2px) !important;
}

html body .home-hero .hero-actions .home-hero-primary:hover{
    box-shadow:0 14px 30px rgba(18,63,124,.26) !important;
}

html body .home-hero .hero-actions .home-hero-secondary:hover{
    border-color:#2568B8 !important;
    box-shadow:0 10px 24px rgba(18,63,124,.14) !important;
}

html body .home-hero .hero-actions svg{
    width:17px !important;
    height:17px !important;
    stroke:currentColor !important;
}

/* ---------- 右侧悬浮按钮 ---------- */
html body .bhmz-floating-tools--v106 .bhmz-float-item--booking{
    border:0 !important;
    border-radius:18px !important;
    background:linear-gradient(135deg,#2568B8,#123F7C) !important;
    box-shadow:0 10px 24px rgba(18,63,124,.18) !important;
    color:#FFFFFF !important;
}

html body .bhmz-floating-tools--v106 .bhmz-float-item--booking .bhmz-float-icon{
    color:#D4A65A !important;
}

html body .bhmz-floating-tools--v106 .bhmz-float-item--availability{
    border:1px solid #DDE6F2 !important;
    border-radius:18px !important;
    background:#FFFFFF !important;
    box-shadow:0 2px 8px rgba(18,63,124,.06) !important;
    color:#123F7C !important;
}

html body .bhmz-floating-tools--v106 .bhmz-float-item--availability .bhmz-float-icon{
    color:#1559AE !important;
}

html body .bhmz-floating-tools--v106 a.bhmz-float-item[href^="tel:"]{
    border:1px solid #DDE6F2 !important;
    border-radius:18px !important;
    background:#FFFFFF !important;
    box-shadow:0 2px 8px rgba(18,63,124,.06) !important;
    color:#123F7C !important;
}

html body .bhmz-floating-tools--v106 a.bhmz-float-item[href^="tel:"] .bhmz-float-icon{
    color:#1559AE !important;
}

html body .bhmz-floating-tools--v106 .bhmz-float-item--booking:hover,
html body .bhmz-floating-tools--v106 .bhmz-float-item--availability:hover,
html body .bhmz-floating-tools--v106 a.bhmz-float-item[href^="tel:"]:hover{
    transform:translateY(-2px) !important;
    box-shadow:0 10px 24px rgba(18,63,124,.16) !important;
}

html body .bhmz-floating-tools--v106 .bhmz-float-item strong{
    font-size:10.5px !important;
    font-weight:800 !important;
    letter-spacing:.01em !important;
}

html body .bhmz-floating-tools--v106 .bhmz-float-icon svg{
    stroke-width:1.9 !important;
}

/* ---------- 移动端 ---------- */
@media(max-width:820px){
    html body .booking-inquiry-modal.open,
    html body .booking-success-modal.open{
        align-items:flex-end !important;
        justify-content:center !important;
        padding:8px !important;
    }

    html body .booking-inquiry-dialog{
        width:100% !important;
        max-height:calc(100vh - 16px) !important;
        border-radius:23px 23px 16px 16px !important;
    }

    html body .booking-inquiry-dialog>header{
        padding:22px 20px 18px !important;
    }

    html body .booking-inquiry-dialog>header h2{
        font-size:23px !important;
    }

    html body .booking-inquiry-dialog .booking-inquiry-form{
        padding:18px 18px 22px !important;
    }

    html body .booking-success-dialog{
        border-radius:23px 23px 16px 16px !important;
        padding:30px 22px !important;
    }
}

@media(max-width:620px){
    html body .home-hero .hero-actions{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:12px !important;
    }

    html body .home-hero .hero-actions .home-hero-primary,
    html body .home-hero .hero-actions .home-hero-secondary{
        width:100% !important;
    }
}

@media(prefers-reduced-motion:reduce){
    html body .booking-inquiry-dialog *,
    html body .booking-success-dialog *,
    html body .home-hero .hero-actions *,
    html body .bhmz-floating-tools--v106 *{
        transition:none !important;
        transform:none !important;
    }
}
