.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #87CEEB; /* Changed to sky blue */
    color: #000000; /* Changed to black for better contrast */
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.chat-button i {
    line-height: 60px;
}

.chat-container {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background-color: #E6F3FF; /* Light sky blue background */
    border: 1px solid #87CEEB;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(135, 206, 235, 0.3);
    z-index: 999;
    overflow: hidden;
}

.chat-header {
    background-color: #87CEEB;
    color: #000000;
    padding: 15px;
    font-weight: bold;
    font-size: 18px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-button {
    background: none;
    border: none;
    color: #000000;
    font-size: 20px;
    cursor: pointer;
}

.chat-messages {
    height: 380px;
    overflow-y: auto;
    padding: 15px;
}

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

.user-message {
    background-color: #B0E0FF; /* Sky blue for user messages */
    color: #000000;
    align-self: flex-end;
    margin-left: auto;
}

.bot-message {
    background-color: #98FB98; /* Light green for bot messages */
    color: #000000;
}

.chat-input {
    display: flex;
    padding: 15px;
    background-color: #E6F3FF;
    border-top: 1px solid #87CEEB;
}

.chat-input input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #87CEEB;
    border-radius: 25px;
    font-size: 14px;
    background-color: #F0F8FF; /* Very light sky blue for input */
}

.chat-input button {
    margin-left: 10px;
    padding: 10px 20px;
    background-color: #87CEEB;
    color: #000000;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.chat-input button:hover {
    background-color: #6CA6CD;
}

.typing-indicator {
    display: none;
    padding: 10px;
    background-color: #E6F3FF;
    border-radius: 10px;
    margin-bottom: 15px;
    position: absolute;
    bottom: 60px;
    right: 15px;
}

.typing-indicator span {
    height: 10px;
    width: 10px;
    float: left;
    margin: 0 1px;
    background-color: #9E9EA1;
    display: block;
    border-radius: 50%;
    opacity: 0.4;
}

.typing-indicator span:nth-of-type(1) {
    animation: 1s blink infinite 0.3333s;
}

.typing-indicator span:nth-of-type(2) {
    animation: 1s blink infinite 0.6666s;
}

.typing-indicator span:nth-of-type(3) {
    animation: 1s blink infinite 0.9999s;
}

@keyframes blink {
    50% {
        opacity: 1;
    }
}