/* Chat icon */
.chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #000;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
}

/* Chat container */
.chat-container {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 350px;
    max-height: 500px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    z-index: 9999;
    border: 1px solid #000;
}

/* Chat header */
.chat-header {
    background-color: #000;
    color: #fff;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h2 {
    margin: 0;
    font-size: 18px;
}

.close-btn {
    cursor: pointer;
    font-size: 24px;
}

/* Chat box */
.chat-box {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.chat-message {
    margin-bottom: 15px;
    max-width: 80%;
}

.user-message {
    align-self: flex-end;
    background-color: #000;
    color: #fff;
    border-radius: 10px 10px 0 10px;
    padding: 10px;
}

.bot-message {
    align-self: flex-start;
    background-color: #f1f1f1;
    border-radius: 10px 10px 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
}

/* Chat input */
.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #000;
}

.chat-input input {
    flex-grow: 1;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
}

.chat-input button {
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
}