#chat-support {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* Chat Toggle Button */
#chat-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #76FF03, #2C5364);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, background 0.5s, box-shadow 0.3s;
}

#chat-toggle:hover {
    transform: scale(1.15);
    background: linear-gradient(45deg, #49a101, #123646);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

/* Chat Box */
#chat-box {
    width: 400px;
    background: rgba(44, 83, 100, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: fixed;
    bottom: 50px;
    right: 90px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: none;
}

#chat-box.active {
    opacity: 1;
    transform: scale(1);
    display: block;
}

/* Chat Header */
#chat-header {
    background: linear-gradient(45deg, #76FF03, #2C5364);
    color: #112c38;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    border-radius: 15px 15px 0 0;
}

#close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

#close-chat:hover {
    transform: rotate(90deg);
}

/* Chat Content */
#chat-content {
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
}

#chat-messages {
    height: 260px;
    overflow-y: auto;
    padding: 12px;
    font-size: 14px;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Message Styling */
.user-message,
.bot-message {
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    max-width: 75%;
    display: inline-block;
    animation: fadeInMessage 0.3s ease-in-out;
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* User message */
.user-message {
    background: linear-gradient(45deg, #76FF03, #FFFFFF);
    color: #2C5364;
    font-weight: bold;
    align-self: flex-end;
    text-align: right;
}

/* Bot message */
.bot-message {
    background: #2C5364;
    color: white;
    font-weight: bold;
    text-align: left;
}

/* Chat Input */
#chat-input-container {
    display: flex;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

#user-input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
    color: #2C5364;
    background: white;
    transition: background 0.3s ease-in-out;
}

#user-input:focus {
    background: #76FF03;
    color: #2C5364;
    font-weight: bold;
}

/* Send Button */
#send-btn {
    width: 45px;
    background: linear-gradient(45deg, #76FF03, #2C5364);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    margin-left: 12px;
    transition: transform 0.3s ease-in-out, background 0.5s ease-in-out;
}

#send-btn:hover {
    background: linear-gradient(45deg, #76FF03, #FFFFFF);
    color: #2C5364;
    transform: scale(1.1);
}

/* Quick Question Buttons */
#chat-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding-top: 10px;
}

.quick-question {
    background: linear-gradient(45deg, #76FF03, #2C5364);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.quick-question:hover {
    background: linear-gradient(45deg, #76FF03, #FFFFFF);
    color: #2C5364;
    transform: scale(1.05);
}

.quick-question:active {
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 400px) {
    .quick-question {
        font-size: 12px;
        padding: 8px 12px;
    }
}