﻿.ai_modal {
    display: none;
}

.ai_paper_div {
    border: 1px solid #f1f1f1;
    border-radius: 8px;
    padding: 10px
}

.ai_paper_image {
}

.ai_paper_name {
    font-size: 20px;
}

.ai_paper_description {
}

.ai_paper_more {
}

.chat-container {
    width: 100%;
    margin: 0 auto;
    height: 570px;
    overflow-y: auto;
    margin: 0 auto;
    overflow-y: auto;
}

.chat-message {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
}

.chat-input {
    display: flex;
    font-size: smaller;
}

    .chat-input input[type="text"] {
        flex: 1;
        padding: 10px;
        font-size: 16px;
    }

    .chat-input input[type="submit"] {
        padding: 10px 20px;
        font-size: 16px;
    }

.chat-message {
    display: flex;
    margin-bottom: 10px;
}

    .chat-message .user-message {
        background-color: #d1e7dd;
        color: #0f5132;
        align-self: flex-end;
        border-radius: 15px 15px 0 15px;
        margin-left: auto;
        line-height: 20px;
        font-size: 14px;
    }

    .chat-message .bot-message {
        background-color: #ffffff;
        color: #000000;
        align-self: flex-start;
        border-radius: 15px 15px 15px 0;
        margin-right: auto;
        line-height: 20px;
        font-size: 14px;
    }

.cs-chat-popup-portal {
    width: 450px;
    position: fixed;
    z-index: 9999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: transparent;
    max-width: 100%;
    top: 50px;
}

.cs-chat-popup {
    background: #fff;
    border-radius: 8px;
    box-shadow: -1px 0px 5px 3px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 10px;
    border: none !important;
    top: 10px;
    right: 10px;
    left: inherit;
    width: 450px;
    height: 750px;
    transform: none;
    backface-visibility: visible;
    touch-action: none;
    z-index: 3002;
    visibility: visible;
    position: fixed;
    max-width: 450px;
    min-width: 450px;
}

@media (max-width: 768px) {
    .cs-chat-popup {
        width: 100%;
        right: 0;
        top: 0;
        transform: none;
        max-width: inherit;
        margin: 0px;
    }
}

.chat-collapsed {
    background-color: transparent !important;
    box-shadow: none !important;
    height: 150px !important;
    border-radius: 8px;
    box-shadow: -1px 0px 5px 3px rgba(0, 0, 0, 0.2);
    margin: 0px;
}

    .chat-collapsed .cs-chat-popup-info {
        display: none;
    }

    .chat-collapsed .cs-chat-popup-header {
        border-radius: 8px;
        box-shadow: -1px 0px 5px 3px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        overflow: hidden;
        margin: 10px;
        border: none !important;
        width: 450px;
        transform: none;
        backface-visibility: visible;
        touch-action: none;
        z-index: 3002;
        visibility: visible;
        position: fixed;
        right: 10px;
    }

.cs-chat-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ff5722;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    text-align: center;
}

    .cs-chat-popup-header .header-button {
        background: transparent;
        border: none;
        color: white;
        cursor: pointer;
        position: absolute;
        float: right;
        right: 12px;
    }

.cs-chat-popup-info {
    padding: 1px 15px;
    background: #f8f9fa;
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

    .cs-chat-popup-info p {
        margin: 0px;
    }

.cs-chat-popup-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f1f1f1;
}

.cs-chat {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.cs-chat-channel {
    flex: 1;
    overflow-y: auto;
    padding: 5px;
}

.cs-chat-thread {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-chat-message {
    display: flex;
}

.cs-chat-message-bubble {
    max-width: 75%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
}

.cs-chat-message.is-system .cs-chat-message-bubble {
    background: #e9ecef;
    color: #495057;
    align-self: flex-start;
    border-radius: 15px 15px 15px 0;
}

.cs-chat-message.is-user {
    justify-content: flex-end;
}

    .cs-chat-message.is-user .cs-chat-message-bubble {
        background: #6a9976;
        color: white;
        border-radius: 15px 15px 0 15px;
    }

.cs-chat-suggestions {
    padding: 10px 15px;
}

.cs-chat-composer {
    display: flex;
    align-items: center;
    border-top: 1px solid #dee2e6;
    background: white;
    position: relative;
    bottom: 3px;
    margin: 5px;
}

    .cs-chat-composer textarea {
        flex: 1;
        resize: none;
        border: none;
        padding: 10px;
        border-radius: 20px;
        background: #f1f1f1;
        font-size: 14px;
        outline: none;
        height: 38px;
    }

    .cs-chat-composer button {
        background: #6a9976;
        border: none;
        color: white;
        margin-left: 10px;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .cs-chat-composer button:hover {
            background: #0b5ed7;
        }

.spinner-border-chat img {
    width: 100px;
}

/*΅WIZARD*/
.wizard-container {
    width: 100%;
    margin: 0 auto;
    height: 570px;
    overflow-y: auto;
    margin: 0 auto;
    overflow-y: auto;
}

.wizard-message {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
}

.wizard-input {
    display: flex;
    font-size: smaller;
}

    .wizard-input input[type="text"] {
        flex: 1;
        padding: 10px;
        font-size: 16px;
    }

    .wizard-input input[type="submit"] {
        padding: 10px 20px;
        font-size: 16px;
    }

.wizard-message {
    display: flex;
    margin-bottom: 10px;
}

    .wizard-message .user-message {
        background-color: #d1e7dd;
        color: #0f5132;
        align-self: flex-end;
        border-radius: 15px 15px 0 15px;
        margin-left: auto;
        line-height: 20px;
        font-size: 14px;
    }

    .wizard-message .bot-message {
        background-color: #ffffff;
        color: #000000;
        align-self: flex-start;
        border-radius: 15px 15px 15px 0;
        margin-right: auto;
        line-height: 20px;
        font-size: 14px;
    }

.cs-wizard-popup-portal {
    width: 450px;
    position: fixed;
    z-index: 9999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: transparent;
    max-width: 100%;
    top: 50px;
}

.cs-wizard-popup {
    background: #fff;
    border-radius: 8px;
    box-shadow: -1px 0px 5px 3px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 10px;
    border: none !important;
    top: 10px;
    right: 10px;
    left: inherit;
    width: 450px;
    height: 750px;
    transform: none;
    backface-visibility: visible;
    touch-action: none;
    z-index: 3002;
    visibility: visible;
    position: fixed;
    max-width: 450px;
    min-width: 450px;
}

@media (max-width: 768px) {
    .cs-wizard-popup {
        width: 100%;
        right: 0;
        top: 0;
        transform: none;
        max-width: inherit;
        margin: 0px;
    }
}

.wizard-collapsed {
    background-color: transparent !important;
    box-shadow: none !important;
    height: 150px !important;
    border-radius: 8px;
    box-shadow: -1px 0px 5px 3px rgba(0, 0, 0, 0.2);
    margin: 0px;
}

    .wizard-collapsed .cs-wizard-popup-info {
        display: none;
    }

    .wizard-collapsed .cs-wizard-popup-header {
        border-radius: 8px;
        box-shadow: -1px 0px 5px 3px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        overflow: hidden;
        margin: 10px;
        border: none !important;
        width: 450px;
        transform: none;
        backface-visibility: visible;
        touch-action: none;
        z-index: 3002;
        visibility: visible;
        position: fixed;
        right: 10px;
    }

.cs-wizard-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ff5722;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    text-align: center;
}

    .cs-wizard-popup-header .header-button {
        background: transparent;
        border: none;
        color: white;
        cursor: pointer;
        position: absolute;
        float: right;
        right: 12px;
    }

.cs-wizard-popup-info {
    padding: 1px 15px;
    background: #f8f9fa;
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

    .cs-wizard-popup-info p {
        margin: 0px;
    }

.cs-wizard-popup-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f1f1f1;
}

.cs-wizard {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.cs-wizard-channel {
    flex: 1;
    overflow-y: auto;
    padding: 5px;
}

.cs-wizard-thread {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-wizard-message {
    display: flex;
}

.cs-wizard-message-bubble {
    max-width: 75%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
}

.cs-wizard-message.is-system .cs-wizard-message-bubble {
    background: #e9ecef;
    color: #495057;
    align-self: flex-start;
    border-radius: 15px 15px 15px 0;
}

.cs-wizard-message.is-user {
    justify-content: flex-end;
}

    .cs-wizard-message.is-user .cs-wizard-message-bubble {
        background: #6a9976;
        color: white;
        border-radius: 15px 15px 0 15px;
    }

.cs-wizard-suggestions {
    padding: 10px 15px;
}

.cs-wizard-composer {
    display: flex;
    align-items: center;
    border-top: 1px solid #dee2e6;
    background: white;
    position: relative;
    bottom: 3px;
    margin: 5px;
}

    .cs-wizard-composer textarea {
        flex: 1;
        resize: none;
        border: none;
        padding: 10px;
        border-radius: 20px;
        background: #f1f1f1;
        font-size: 14px;
        outline: none;
        height: 38px;
    }

    .cs-wizard-composer button {
        background: #6a9976;
        border: none;
        color: white;
        margin-left: 10px;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .cs-wizard-composer button:hover {
            background: #0b5ed7;
        }

.spinner-border-wizard img {
    width: 100px;
}








.user-message {
    align-self: flex-end;
    background-color: #d1e7dd;
    color: #000;
    padding: 10px;
    border-radius: 10px;
    max-width: 70%;
}

.bot-message {
    align-self: flex-start;
    background-color: #e2e3e5;
    color: #000;
    padding: 10px;
    border-radius: 10px;
    max-width: 70%;
}

.message-text {
    max-width: 75%;
    padding: 10px 15px;
    word-wrap: break-word;
}
.actions {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    margin-top: 8px;
}

.button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #6a9976;
}





.btn-arrow {
    color: #6a9976;
    position: absolute;
    right: 5px;
    font-size: x-large;
}






.header-title {
    width: 100%;
    cursor: move;
}

.header-button-undo {
    color: white;
    position: absolute;
    left: 12px;
}

    .header-button-undo:hover {
        color: white;
    }
