/* Add these styles to your existing CSS or in a new <style> tag */
.chatbox {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 450px;
    height: 350px;
    border: 1px solid #332347;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    transition: all 0.3s ease;
}

.maximized {
    width: calc(60vw - 40px);
    height: calc(70vh - 40px);
    right: 10px;
    bottom: 10px;
}

.chat-header {
    background-color: #332347;
    color: #f7c65c;
    padding: 10px;
    font-weight: bold;
    cursor: move;
}

.close-btn {
    float: right;
    cursor: pointer;
    color: #fff;
}

.maximize-btn {
    float: right;
    cursor: pointer;
    color: #fff;
    margin-right: 10px;
}

.chat-body {
    padding: 10px;
    overflow-y: auto;
}

.chat-messages {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.maximized #user-input {
    width: 90%;
}

.maximized #chat-messages {
    max-height: 350px;
}

#user-input {
    width: 85%;
    padding: 5px;
    margin-right: 5px;
}

button {
    padding: 5px 15px;
    cursor: pointer;
    margin-top: 10px;
    background-color: #332347;
    color: #f7c65c;
}

button:hover {
    opacity: 0.75;
}