/* 与 consult-float 扫码弹层内 popContent 结构一致，独立作用域 */

.u-consult-modal-btn {
    padding: 6px 14px;
    border: 1px solid #3876ff;
    border-radius: 4px;
    background: #fff;
    color: #3876ff;
    font-size: 14px;
    cursor: pointer;
}

.u-consult-modal-btn:hover {
    background: #f5f8ff;
}

.consult-modal[hidden] {
    display: none !important;
}

.consult-modal:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.consult-modal__backdrop {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.consult-modal__inner {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.consult-modal__close {
    position: absolute;
    right: -12px;
    top: -12px;
    z-index: 2;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 22px;
    line-height: 1;
    color: rgba(0, 0, 0, 0.65);
    cursor: pointer;
}

.consult-modal__close:hover {
    color: #000;
}

.consult-modal .popContent {
    position: relative;
    width: 280px;
    height: 353px;
    text-align: center;
}

.consult-modal .bgPic {
    display: block;
    width: 100%;
    height: 100%;
}

.consult-modal .absoluteContent {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 16px;
    box-sizing: border-box;
}

.consult-modal .topDesc {
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.45);
}

.consult-modal .bigTit {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
}

.consult-modal .bigTit .redText {
    color: #ff4d4f;
}

.consult-modal .codeBorder {
    display: inline-block;
    width: 160px;
    height: 160px;
    padding: 16px;
    border: 1px solid #3876ff;
    border-radius: 11px;
    background: #fff;
    box-sizing: border-box;
}

.consult-modal .codeBorder .weixin {
    display: block;
    width: 100%;
    height: auto;
}
