/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @format
 */

.editorContainer {
    position: relative;
}

.tryEditorConfig {
    position: absolute;
    width: 100%;
    height: calc(100vh - var(--ifm-navbar-height) - 40px);
    z-index: 10;
    background-color: white;
    padding: 1rem;
}

.resetBanner {
    position: absolute;
    display: flex;
    justify-content: space-between;
    z-index: 1;
    width: 100%;
    padding: 1rem;
    background-color: white;
    border: 1px solid #ddd;
    bottom: 0;
}

.tryEditor {
    display: flex;
    flex: 1;
    height: calc(100vh - var(--ifm-navbar-height));
}

.code,
.results {
    flex: 1;
    width: 50%;
}

.code {
    background: #fff;
}

.results {
    position: relative;
    font-size: 12px;
    background: #f7f7f7;
    border-left: 1px solid #ddd;
    overflow: auto;
}

.toolbar {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #ddd;
    list-style: none;
    margin: 0;
    padding: 0;
}

.toolbar:after {
    content: "";
    display: block;
    clear: both;
}

.tab {
    border-right: 1px solid #ddd;
    cursor: pointer;
    float: left;
    font-size: 14px;
    font-weight: bold;
    padding: 7px 15px;
}

.version {
    position: absolute;
    right: 5px;
    top: 0px;
    line-height: 36px;
}

.selectedTab {
    background: white;
    border-bottom: 2px solid #404040;
}

.loader {
    position: relative;
    margin: 150px auto 0;
    width: 70px;
    text-align: center;
}

.loader > div {
    width: 18px;
    height: 18px;
    background-color: #ddd;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.resultBody {
    padding: 7px 10px;
}

.errors ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.errors  li + li {
    margin-top: 10px;
    padding-top: 10px;
    border-top: solid #eee 1px;
}

.errors li ul li,
.errors li ul li + li {
    padding: inherit;
    padding-left: 20px;
    margin: inherit;
    border: none;
}

.msgHighlight,
.msgType {
    cursor: pointer;
}
