.history {
    position: fixed;
    top: 10px;
    left: 10px;
}

.history-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(212, 178, 136);
    border-radius: 10px;
    z-index: 100;
}

.history-block > svg {
    height: calc(100% - 2 * 7px);
    width: calc(100% - 2 * 7px);
}

.history-content {
    position: absolute;
    left: 50px;
    width: 400px;
    height: 150px;
    border-radius: 7px;
    background-color: rgb(201, 186, 167);
    padding-left: 9px;
    padding-right: 9px;
    padding-top: 9px;
    font-family: Consolas;
    opacity: 0;
    transition: all ease 0.25s;
    word-break: break-all;
    overflow-y: auto;
}

.history-content::-webkit-scrollbar {
    display: none;
}

.history:has(.history-input:focus) > .history-content {
    opacity: 1 !important;
}

.history-input {
    width: 100%;
    height: 100%;
    z-index: 200;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}