.iframe-dialog,
.iframe-dialog-sm {
    padding: 0;
    border: none;
}

@media (max-width: 640px) {
    .iframe-dialog {
        width: 100dvw;
        max-width: 100dvw;
        max-height: 100dvh;
        height: 100dvh;
        border-radius: 0;
    }
}

@media (min-width: 641px) {
    .iframe-dialog {
        width: 90vw;
        height: 90vh;
        border-radius: 1rem;
    }
}

@media (max-width: 640px) {
    .iframe-dialog-sm {
        width: 100dvw;
        max-width: 100dvw;
        max-height: 100dvh;
        height: 100dvh;
        border-radius: 0;
    }
}

@media (min-width: 641px) {
    .iframe-dialog-sm {
        width: 80vw;
        height: 80vh;
        border-radius: 1rem;
    }
}

.iframe-dialog-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 641px) {
    .iframe-top-bar {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .iframe-top-bar {
        padding: 0.5rem 1rem;
    }
}

.iframe-top-bar {
    height: 65px;
    border-bottom: solid 1px #eeeeee;
    align-items: center;
    display: flex;
    position: relative;
    justify-content: space-between;
}

.iframe-dialog-close-button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

.iframe-site-container {
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.iframe-site-container::-webkit-scrollbar {
    display: none;
}

.iframe-site-content {
    width: 100%;
    height: 100%;
    border: none;
}

.absolute-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
