body {
    overscroll-behavior-y: none;
}



.chat-bubble {
    background: #eee;
    border-radius: 0.5em;
    margin-bottom: 0.25em;
    max-width: 30ch;
    font-size: 110%;
    padding: 0.5em 1em;
    pointer-events: none;
    background-color: #ff8fb2;
    background-image: linear-gradient(#ff8fb2 0%, #a797ff 50%, #00e5ff 100%);
    background-attachment: fixed;
    border-radius: 0.5em 0.5em 0 0.5em;
    color: white;
    text-align: left;
}


.chat-bubble.right {
    border-radius: 0.5em 0.5em 0 0.5em;
    align-self: flex-end;
}


.chat-bubble.left {
    border-radius: 0.5em 0.5em .5em 0;
    align-self: flex-start;
}


.browser-mini {
    width: 400px;
    height: 300px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f2f6ff;
    overflow: hidden;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.browser-header {
    height: 30px;
    background-color: #ddd;
    border-bottom: 1px solid #bbb;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #888;
}

.browser-buttons {
    display: flex;
    align-items: center;
}

.browser-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
}

.browser-close {
    background-color: #fc625d;
}

.browser-minimize {
    background-color: #fdbc40;
}

.browser-maximize {
    background-color: #35cd4b;
}

.browser-url {
    border: none;
    padding: 2px;
    font-size: 11px;
    width: 100%;
    border-radius: 10px;
    text-indent: 10px;
    margin: 8px;
    opacity: .9;
}

.browser-content {
    height: calc(100% - 16px - 50px);
    display: flex;
    gap: 12px;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px;
    overflow-y: auto;
}

.browser-content-section {
    opacity: 0.8;
    border-radius: 10px;
    background-color: #D7F2FC;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-content-header {
    height: 50px;
}

.browser-content-body {
    flex: 3;
}

.browser-content-sidebar {
    flex: 1;
}

.browser-bottom-toolbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f2f6ff;
    padding-bottom: 10px;
    text-align: center;
}

.browser-content-section.active {
    background-color: yellow;
}

.pulse {
    animation: pulse 1.2s infinite;
    animation-timing-function: ease-in;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(0.95);
    }
}

.rotate {
    animation: rotation 4s infinite;
    animation-timing-function: linear;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.optimizing {
    visibility: hidden;
}

.browser-content-header .optimizing {
    flex-direction: row !important;
}

.browser-content-section.active .optimizing {
    visibility: visible;
}

.cursor:after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 16px;
    margin-left: 2px;
    background-color: white;
    animation: blink 1s infinite;
}


@keyframes blink {
    0% {
        opacity: .8;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: .8;
    }
}

.dot {
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    margin: 0 0.05em;
    background: white;
    border-radius: 50%;
    vertical-align: middle;
    transform: scale(0);
    animation: dot 1s infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.15s;
}

.dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes dot {

    0%,
    80%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    30%,
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.load-progress-bar {

    transition: width .15s ease-in-out;
}


.optimize-button.disabled {
    opacity: .6;
    cursor: auto !important;
}

#sign-in:disabled {
    opacity: .6;
    cursor: auto !important;
}