#bot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, #1c3b2d, #111431);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    z-index: 9999; /* Make sure it’s above all other elements */
    pointer-events: auto; /* Ensure it's clickable */
}

#bot img {
    width: 100%;
    height: auto;
    pointer-events: none; /* Let click events pass through the image */
}

#form-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    padding: 20px;
    background: linear-gradient(to right, #1c3b2d, #111431);
    border: 1px solid #007BFF;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    display: none;
    color: white;
    z-index: 9998; /* Just below the bot icon */
    pointer-events: auto;
}

#chat-log {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.user-message {
    align-self: flex-end;
    background-color: #007BFF;
    color: white;
    border-radius: 10px;
    padding: 10px;
    margin: 5px;
    max-width: 60%;
    word-wrap: break-word;
}

.bot-message {
    align-self: flex-start;
    background-color: #f1f1f1;
    color: black;
    border-radius: 10px;
    padding: 10px;
    margin: 5px;
    max-width: 60%;
    word-wrap: break-word;
}

#form-container input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 100%; /* Makes input stretch to full width */
    margin-bottom: 10px;
}

#form-container input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
}

#form-container button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    width: 100%; /* Full-width button */
}

#form-container button:hover {
    background-color: #0056b3;
}
