/* Modal chat: quasi full-screen */
.modal-bot-dialog{
    width: min(1200px, 96vw);
    max-width: 96vw;
    margin: 2vh auto;              /* centra e lascia poco margine sopra/sotto */
}

.modal-bot-content{
    height: 92vh;                   /* quasi full height */
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* header + footer fissi, body elastico */
.modal-bot-body{
    flex: 1;
    overflow: hidden;               /* NO scroll nel modal body */
}

/* iframe container full height */
.modal-bot-frame{
    width: 100%;
    height: 100%;
}

.modal-bot-frame iframe{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* mobile */
@media (max-width: 768px){
    .modal-bot-dialog{ width: 98vw; max-width: 98vw; margin: 1vh auto; }
    .modal-bot-content{ height: 96vh; border-radius: 12px; }
}
/* elimina la scrollbar del contenitore modal */
.modal-bot{
    overflow: hidden !important;
}

/* evita che il dialog crei scroll proprio */
.modal-bot .modal-dialog{
    overflow: hidden !important;
}

/* già ok, ma ribadiamo */
.modal-bot .modal-content{
    overflow: hidden !important;
}
/* nasconde la scrollbar ma lascia lo scroll funzionante */
#chat, .chat{
    overflow: hidden !important;
}
