@font-face {
    font-family: "Inmosoft Contact Icons";
    src: url("/vendor/font-awesome/fonts/fontawesome-webfont.woff2") format("woff2");
    font-display: block;
}

:root {
    --inmosoft-contact-button-size: 46px;
    --inmosoft-advisor-right: calc(16px + env(safe-area-inset-right));
}

a.WhatsAppButton,
.inmosoft-whatsapp-float,
.inmosoft-asesor-float {
    bottom: calc(12px + env(safe-area-inset-bottom));
}

.inmosoft-whatsapp-float,
.inmosoft-asesor-float {
    position: fixed;
    display: grid;
    width: var(--inmosoft-contact-button-size);
    height: var(--inmosoft-contact-button-size);
    place-items: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
}

.inmosoft-whatsapp-float {
    z-index: 100;
    left: calc(23px + env(safe-area-inset-left));
    background: #25d366;
}

.inmosoft-whatsapp-float::before {
    content: "\f232";
    font: 25px/1 "Inmosoft Contact Icons";
}

.inmosoft-whatsapp-float:hover,
.inmosoft-whatsapp-float:focus {
    background-color: #128c49;
    color: #fff;
    text-decoration: none;
}

.inmosoft-whatsapp-float:focus-visible {
    outline: 2px solid #07538e;
    outline-offset: 3px;
}

.inmosoft-asesor-float {
    z-index: 1041;
    right: var(--inmosoft-advisor-right);
    background: #0064a7;
}

@media (min-width: 992px) {
    html:has(.scroll-to-top:is(.visible, :hover, :focus-visible)) .inmosoft-asesor-float {
        right: calc(69px + env(safe-area-inset-right));
    }
}

.inmosoft-asesor-float::before {
    content: "\f27b";
    font: 27px/1 "Inmosoft Contact Icons";
}

.inmosoft-asesor-float:hover,
.inmosoft-asesor-float:focus {
    background: #005187;
    color: #fff;
    text-decoration: none;
}

.inmosoft-asesor-float:focus-visible {
    outline: 2px solid #07538e;
    outline-offset: 3px;
}

.inmosoft-asesor-modal {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: min(calc(100% - 24px), 560px);
    height: min(calc(100vh - 24px), 680px);
    height: min(calc(100dvh - 24px), 680px);
    max-height: none;
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid #d7e5f0;
    border-top: 3px solid #088ee0;
    border-radius: 12px;
    background: #fff;
    color: #12284c;
    font-family: var(--inmosoft-font-family, "Open Sans", Arial, sans-serif);
    box-shadow: 0 14px 48px #10275042;
}

.inmosoft-asesor-modal[open] {
    display: flex;
    flex-direction: column;
}

.inmosoft-asesor-modal::backdrop {
    background: #10275075;
}

.inmosoft-asesor-modal iframe {
    width: 100%;
    min-height: 0;
    flex: 1;
    border: 0;
}
