/* Klassen */
.chat-container {
      display: none;
}

.chat-box {
    background-color: rgba(52, 53, 71, 0.8);
    color: #D6D6D6;
    height: 100%;
    display: flex;
    /*text-align: center;*/
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.chat-messages {
    overflow-y: auto;
    height: 84vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 8px;
    margin-bottom: 12px;
    border-color: rgba(184, 184, 184, 0.72);
    border-style: solid;
    border-width: 2px;
    border-radius: 5px;
    box-shadow: #2f2c39 0 5px 10px 5px;
}

.context-wrapper {
    position: relative;
    height: 6%;
    margin-top: 2px;
    margin-bottom: 0;
    padding: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.change-context-button {
    background-color: #43aa8b;
    color: white;
    height: 100%;
    width: 30vh;
    border-radius: 5px;
    padding: 4px 20px;
    margin-left: 8px;
    margin-right: 8px;
    cursor: pointer;
    z-index: 2;
}

.change-context-button:hover {
    background-color: #2c6e5a;
}

#active {
    background-color: #2c6e5a;
    border: white 2px solid;
}

#backto-selection-button {
    background-color: #43aa8b;
    color: white;
    border-radius: 5px;
    margin-left: 12px;
    cursor: pointer;
    height: 100%;
    width: 50px;
    position: absolute;
    right: 0;
    z-index: 2;
}

#backto-selection-button:hover {
    background-color: #2c6e5a;
}

.input-wrapper {
    position: relative;
    height: 8vh;
    padding: 2px 2px 6px 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.input-wrapper label {
    position: relative;
    width: auto;
    max-width: 80%;
    min-width: 60%;
}

.input-wrapper label::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset -45px 0 20px -15px #0E131F, inset 45px 0 20px -15px #0E131F;
    pointer-events: none;
    z-index: 3;
    border-radius: 5px;
}

.input-wrapper label input {
    position: relative;
    height: 4.5vh;
    width: 100%;
    padding: 0 8px;
    background-color: #0E131F;
    color: #D6D6D6;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
}

.input-wrapper label input:focus {
    outline: none;
    padding: 0 12px;
}

#chat-send-button {
    background-color: #43aa8b;
    color: white;
    height: 4.5vh;
    width: 4.5vh;
    border-radius: 5px;
    margin-left: 8px;
    cursor: pointer;
    z-index: 2;
}

#chat-send-button:hover {
    background-color: #2c6e5a;
}

#history {
    display: block;
    overflow-y: auto;
    user-select: text;
    height: 100%;
    width: 100%;
}

#history_html {
    display: none;
    overflow-y: auto;
    user-select: text;
    height: 100%;
    width: 100%;
}

#api_info {
    display: none;
    align-content: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    z-index: 800;
}

.button-icon {
    width: 90%;
    height: 90%;
    margin: 2px;
}

.answer-block {
    display: none;
    margin-left: 6px;
    padding: 10px;
    border-radius: 5px;
    background-color: #2f2c3966;
    box-shadow: #2f2c39 0 5px 10px 5px;
}


#history::-webkit-scrollbar {
    width: 5px; /* Breite des Scrollbalkens */
}

#history::-webkit-scrollbar-track {
    background: #f1f1f1; /* Hintergrundfarbe des Scrollbalkens */
}

#history::-webkit-scrollbar-thumb {
    background: #888; /* Farbe des beweglichen Teils des Scrollbalkens */
}

#history::-webkit-scrollbar-thumb:hover {
    background: #555; /* Farbe des beweglichen Teils des Scrollbalkens beim Überfahren mit der Maus */
}

code {
    user-select: text;
    border-radius: 5px;
}