.chat-icon {
    position: fixed;
    bottom: 33px;
    right: 15px;
    width: 35px;
    height: 35px;
    z-index: 1000;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    position: absolute;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 7px  7px 7px 7px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    max-width: 800px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

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

#sendMessage {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#chatInput {
    width: 100%;
    height: 80px;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 16px;
    resize: vertical;
}

#sendMessage {
    padding: 10px 20px;
    border: none;
    background-color: #999999;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

#resetMessage {
    padding: 10px 20px;
    border: none;
    background-color: #999999;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

#sendMessage:hover {
    background-color: #45a049;
}

#resetMessage:hover {
    background-color: #45a049;
}

button:focus {
    outline: 2px solid #009688;
    background-color: #b2dfdb;
}

textarea:focus {
    outline: 1px solid #009688;
}

#chatInput::placeholder {
    color: #a9a9a9;
}

.message {
    padding: 10px 15px;
    margin-bottom: 5px;
    border-radius: 10px;
    max-width: 70%;
}

.user-message {
    background-color: #007AFF;
    color: #FFFFFF;
    text-align: left;
    border: 1px solid #005ECB;
    padding: 10px 15px;
    margin-bottom: 5px;
    border-radius: 10px;
    max-width: 90%;
    margin-left: auto;
}

.assistant-message {
    background-color: #E5E5EA;
    color: #333;
    text-align: left;
    border: 1px solid #D1D1D6;
    padding: 10px 15px;
    margin-bottom: 5px;
    border-radius: 10px;
    max-width: 90%;
    margin-right: auto;
}

.button-container {
    display: flex;
    justify-content: space-between;
}

#resetMessage {
    margin-left: auto;
}

.highlight {
    background-color: lightgreen;
}

.chat-messages {
    height: 600px;
    overflow-y: auto;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    padding: 5px;
}

.chat-table {
    max-width: 600px;
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
}

.chat-table th,
.chat-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.chat-table th {
    background-color: #f2f2f2;
    color: black;
}

.chat-table tr:nth-child(even) {background-color: #f9f9f9;}
.chat-table tr:nth-child(odd) {background-color: #ffffff;}


