pre {
    max-height: 300px;
    overflow: auto;
}

button {
    margin: 4px;
    padding: 6px 9px;
    font-size: 14px;
}

input,
textarea {
    width: 100%;
    min-width: 500px;
    display: block;
    box-sizing: border-box;
    /* 拖动角移动后这个傻逼自己设置了margin */
    margin: 3px 1px !important;
    padding: 4px;
}

input {
    min-height: 30px;
    line-height: 30px;
}

textarea {
    min-height: 180px;
}

.fallbacker-header {
    display: flex;
    position: fixed;
    z-index: 1;
    top: 0;
    width: 100%;
    background-color: white;
    margin: 0;
    padding: 24px 8px;
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.05);
}

.fallbacker-header button {
    margin-left: 16px;
}

.body-container {
    padding: 132px 8px 8px 8px;
    display: flex;
}

.fallback-wrap {
    border: 1px solid #efefef;
    padding: 4px;
    margin-right: 4px;
    max-width: 1000px;
}

.fallback-result {}

.division-group {
    max-height: 2000px;
    overflow: auto;
}

.division-group>div {
    padding: 4px;
    background-color: #f8f8f8;
    margin: 4px 0;
}

.fallback-tool-wrap {
    flex-grow: 1;
    border: 1px solid #efefef;
    padding: 4px;
    margin-right: 4px;
}

.label-source {
    cursor: pointer;
}

.label-target {
    display: none;
}

.label-target~pre {
    display: none;
}

.label-target:checked~pre {
    display: block;
}

.loading-wrap {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.3);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
}

.loading-toast {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 15px;
    border-radius: 3px;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.05);
}

.modal-wrap {
    position: fixed;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.3);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.modal-dialog-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 400px;
    max-width: 100vw;
    max-height: 90vh;
    background-color: white;
    box-sizing: border-box;
    border-radius: 3px;
}

.modal-dialog-wrap.darcula {
    background-color: #2b2b2b;
    color: #a9b7c6;
}

.modal-dialog-wrap .title {
    padding: 12px;
    font-weight: bold;
}

.modal-dialog-wrap .close-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 12px;
    cursor: pointer;
}

.modal-dialog-wrap .content {
    padding: 12px;
    box-sizing: border-box;
    max-height: calc(90vh - 44px - 68px);
    overflow: auto;
}

.modal-dialog-wrap .confirm {
    padding: 12px;
    margin: 12px;
    background-color: #efefef;
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 3px;
}

.modal-dialog-wrap.darcula .confirm {
    background-color: #2b2b2b;
    color: #a9b7c6;
    border: 1px solid #a9b7c6;
}

.cover-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    z-index: 999;
}

.cover-wrap .close-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px;
    z-index: 999;
    cursor: pointer;
}

.cover-container {
    width: 100%;
    height: 100%;
    padding-top: 16px;
}

.mission-item {
    cursor: pointer;
    padding: 4px;
}

.mission-item:hover {
    background-color: #efefef;
}

.code-mirror-wrap {
    width: 90vw;
}

.CodeMirror {
    border: 1px solid #aaa;
    height: 70vh;
}

.selector-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.selector-option-container {
    position: fixed;
    border-radius: 3px;
    background-color: white;
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
}

.selector-option {
    font-size: 14px;
    padding: 10px 8px;
    cursor: pointer;
}

.selector-option:hover {
    color: #a9b7c6;
}

.to-top {
    position: fixed;
    z-index: 10;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%);
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    background-color: #efefef;
    border-radius: 4px;
}