/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
        max-width: 50%;
    min-width: 400px;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.button-green {
    color: green;
}

.button-grey {
    color: grey;
}

.button-red {
    color: red;
}

.button-remove {
    display: none;
}

.p-like {
    margin-bottom: 0;
    text-align: right;
}

.fa-thumbs-down {

}

.fa-thumbs-up {

}

.chat-container {
    max-width: 800px;
    margin: 20px auto;
    margin-top: 0;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    /*background-color: #f8f9fa;*/
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.chat-header .menu {
    font-size: 14px;
}

.chat-header .title {
    font-size: 24px;
    font-weight: bold;
}

.form-group label {
    font-weight: bold;
}

.form-group-like {
    display: revert !important;
    text-align: right !important;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 1px;
}

.form-group img {
    cursor: pointer;
    margin-left: 10px;
    margin-right: 10px;
}

.chat-messages {
    list-style: none;
    padding: 0;
}

.chat-message {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.chat-message .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.chat-message.user .avatar {
    margin-right: 0;
    margin-left: 10px;
}

.chat-message .message-content {
    padding: 10px;
    border-radius: 10px;
    background-color: #e9ecef;
    /*flex: 1;*/
    max-width: 80%;
    min-width: 70%;
}

.chat-message.other .message-content {
    background-color: var(--message-background-color);
    border: 2px solid var(--message-border-color);
}

.chat-message.other .message-content-error {
    background-color: #ffffff;
    border: 2px dashed #b8b8b8;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background-color: #e9ecef;
    border-radius: 10px;
}

.message-area {
    min-height: 100px;
    background-color: transparent;
    background-image: radial-gradient(circle, var(--dotted-background-color) 1.5px, white 1.5px);
    background-size: 15px 20px;
    padding: 1px 10px;
}

.inactive-button {
    background-color: #cbcbcb !important; /* Set the background color to grey */
    color: white !important;; /* Set the text color to white */
    border: none !important;; /* Remove the border */
    cursor: not-allowed !important;; /* Change the cursor to indicate the button is not clickable */
    pointer-events: none !important;; /* Disable pointer events to make the button non-interactive */
}

.inactive-button:hover {
    background-color: #cbcbcb !important;; /* Keep the background color grey on hover */
    color: white !important;; /* Keep the text color white on hover */
}

h2 {
    color: #262626;
    font-size: 32px;
    text-align: center;
}

h3 {
    font-size: 16px;
    color: #262626;
    /*border-bottom: 1px solid grey;*/
    width: auto;
    margin-bottom: 15px;
    text-align: center;
}

@keyframes dotSpin {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
}

.this_type_button {
    background-color: var(--start-button-color-1);
    border-color: var(--start-button-color-1);
}

.this_type_button:hover {
    background-color: var(--start-button-color-2);
    border-color: var(--start-button-color-1);
}

.dot {
    width: 12px;
    height: 12px;
    margin: 0 4px;
    border-radius: 50%;
    background-color: var(--start-button-color-1);
    animation: dotSpin 1.5s infinite ease-in-out;
}

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

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

.btn-one {
    color: #fff;
    background-color: #6b8cd3;
    border-color: #6b8cd3;
}

.btn-two {
    color: #fff;
    background-color: #6bd38c;
    border-color: #6bd38c;
}

.btn-three {
    color: #fff;
    background-color: #726bd3;
    border-color: #726bd3;
}

.btn-four {
    color: #fff;
    background-color: #d36b6b;
    border-color: #d36b6b;
}

.btn-five {
    color: #fff;
    background-color: #4aa0a8;
    border-color: #4aa0a8;
}

.btn-six {
    color: #fff;
    background-color: #cc6bd3;
    border-color: #cc6bd3;
}

.btn-six {
    color: #fff;
    background-color: #b0d36b;
    border-color: #b0d36b;
}

.btn-inactive {
    color: #232323 !important;
    background-color: #ffffff !important;
    border-color: #232323 !important;
}

.form-control {
    width: min-content;
    max-width: 70%;
    margin-left: 10px;
}

.started-value {
    margin-bottom: 7px;
    margin-left: 5px;
}

.choose-continue {
    background-color: white;
    padding: 2px 10px;
}

.text-translation {
    color: var(--text-translation-color);
    font-style: italic;
    margin-bottom: 0;
}

.spoiler {
    filter: blur(3px);
    transition: filter 0.3s ease;
    cursor: pointer;
}

.spoiler.visible {
    filter: none;
}

.user-check-text {
    border: 1px solid rgb(134, 164, 166);
    min-height: 100px;
    width: 100%;
}

.div-refresh {
    margin: 10px 10px;
    border-bottom: 2px solid var(--refresh-border-bottom);
    width: fit-content;
    border-radius: 3px;
    background-color: var(--refresh-background-color);
    color: white;

    padding: 4px 10px;
}

.div-refresh-chat{
    width: 100%;
    text-align: center;
}

.span-refresh {
    color: white;
}

.span-comment {
    color: #1a1a1a;
}

.div-button-comment {
    margin: 10px 10px;
    border-bottom: 2px solid #4e657c;
    width: fit-content;
    border-radius: 3px;
    background-color: #edf6ff;
    padding: 4px 10px;

}

#button-comment {
    cursor: pointer;
}

.modal-input {
    border: none;
    border-bottom: 1px dashed var(--modal-input-border-color);
    margin-left: 10px;
}
#submitButton{
    max-width: 100px;
    margin: 10px 0 10px 2px;
    color: #080a18;
    background-color: #ffffff;
    border: 1px solid #000000;
}
#submitButton:disabled{
    color:dimgrey;
    background-color: #afafaf;
    border: 1px dimgrey;
}

.listing-element{
    padding: 7px 10px;
}

.lang-label-DE{
    padding: 4px 9px;
    background-color: #ff601d52;
    border-radius: 10px;
    margin-left: 5px;
}
.lang-label-EN{
    padding: 4px 9px;
    background-color: rgba(29, 93, 255, 0.32);
    border-radius: 10px;
    margin-left: 5px;
}