#mila-widget .modal__dialog{
    padding: 0;
}
#mila-widget-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}
#MilaIframe {
    position: relative;
    max-height: 100vh;
    max-width: 100vw;
}
@media screen and (max-width: 540px) {
    #mila-widget-container {
        align-items: flex-start;
    }
    #MilaIframe {
        height: 100vh !important;
        min-height: 100vh !important;
        position: fixed;
        top: 0;
    }
}

.MilaButton {
    border-radius: 10px;
    background: #7f49de;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    width: 227px;
    height: 44px;
    color: white;
    text-decoration: none;
    word-break: break-word;
    text-align: center;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
    border: 1px solid transparent;
}

.MilaButton.Hide {
    display: none;
}

.MilaButton:hover {
    background-color: rgba(127, 73, 222, 0.08);
    color: #a373eb;
    border-color: #a373eb;
}
.mila-widget-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: auto;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.mila-widget-container.active {
    display: flex;
    opacity: 1;
}

.mila-widget-container #MilaIframe {
    width: 90%;
    max-height: 90vh;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 800px) {
    .js-mila-button{
        width: 100%;
    }
    .mila-widget-container #MilaIframe {
        width: 95%;
        height: 95vh !important;
    }

}
