.zc-consult-fallback {
    position: fixed;
    right: 30px;
    bottom: 0;
    z-index: 1000000;
    padding: 0 16px;
    border-radius: 6px 6px 0 0;
    background: #126fc3;
    color: #fff;
    font-size: 16px;
    line-height: 42px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.16);
}

#iframe_company_mini_div .pc-visitor-header,
#mini-btn {
    background-color: #126fc3 !important;
}

.zc-consult-fallback span {
    margin-left: 20px;
}

.zc-consult-fallback[hidden] {
    display: none;
}

@media (max-width: 768px) {
    .zc-consult-fallback {
        display: none;
    }
}

.zc-consult-dialog {
    width: calc(100% - 32px);
    max-width: 960px;
    height: calc(100vh - 48px);
    height: calc(100dvh - 48px);
    max-height: 720px;
    max-height: min(720px, calc(100dvh - 48px));
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.2);
}

.zc-consult-dialog::backdrop {
    background: rgba(15, 23, 42, 0.45);
}

.zc-consult-dialog .zc-consult-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 16px;
    background: #0baba8;
    color: #fff;
    font-size: 16px;
}

.zc-consult-dialog .zc-consult-header span {
    line-height: 1.5;
}

.zc-consult-dialog .zc-consult-close {
    position: relative;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.zc-consult-dialog .zc-consult-close::before,
.zc-consult-dialog .zc-consult-close::after {
    content: '';
    position: absolute;
    top: 17px;
    left: 9px;
    width: 18px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
}

.zc-consult-dialog .zc-consult-close::after {
    transform: rotate(-45deg);
}

.zc-consult-dialog .zc-consult-close:hover,
.zc-consult-dialog .zc-consult-close:focus-visible {
    background: rgba(255, 255, 255, 0.2);
}

.zc-consult-dialog iframe {
    display: block;
    width: 100%;
    height: calc(100% - 52px);
    border: 0;
}

@media (max-width: 600px) {
    .zc-consult-dialog {
        width: calc(100% - 16px);
        height: calc(100vh - 24px);
        height: calc(100dvh - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 8px;
    }
}
