// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0

.webview,
.webview-container {
    height: 100%;
    width: 100%;
    border: none !important;
    outline: none !important;
    overflow: hidden;
    padding: 0;
    margin: 0;
    user-select: none;
    border-radius: 0 0 var(--block-border-radius) var(--block-border-radius);

    // try to force pixel alignment to prevent
    // subpixel rendering artifacts
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.webview-error {
    display: flex;
    position: absolute;
    background-color: black;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 100;
    div {
        font-size: x-large;
        color: var(--error-color);
        display: flex;
        margin: auto;
        padding: 30px;
    }
}

.block-frame-div-url {
    background: rgba(255, 255, 255, 0.1);

    input {
        opacity: 1;
    }

    .wave-iconbutton {
        width: fit-content !important;
        margin-right: 5px;
    }
}
