/* Elanlar v4.7.14 — fully isolate Şikayət Bildir from the outer chat shell. */

/* The complaint has its own close control. Remove the chat close button
   completely while the nested dialog is active, on desktop and mobile. */
#elan-chat-modal-root.has-nested-modal .elan-chat-modal__close{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}

/* The complaint overlay is rendered inside the messenger iframe. Expand
   that iframe to the viewport so its backdrop does not expose the desktop
   chat card's border, radius, background or shadow around the outside. */
#elan-chat-modal-root.has-nested-modal{
    padding:0!important;
    background:transparent!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}

#elan-chat-modal-root.has-nested-modal .elan-chat-modal__dialog{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    height:100dvh!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    border:0!important;
    outline:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:hidden!important;
}

#elan-chat-modal-root.has-nested-modal .elan-chat-modal__dialog::before,
#elan-chat-modal-root.has-nested-modal .elan-chat-modal__dialog::after{
    display:none!important;
    content:none!important;
}

#elan-chat-modal-root.has-nested-modal .elan-chat-modal__iframe{
    width:100vw!important;
    height:100vh!important;
    height:100dvh!important;
    max-width:none!important;
    max-height:none!important;
    border:0!important;
    outline:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
