/* Chat Button (Fixed at bottom right) */
#chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #004080; /* Dark blue */
    color: #fff;
    padding: 8px 5px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

#chat-button:hover {
    background-color: #0059b3;
}

.chat-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.green-dot {
    width: 10px;
    height: 10px;
    background-color: limegreen;
    border-radius: 50%;
    margin-left: 10px;
}

/* Chat Box */
#chat-box {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    background-color: #e6f0ff;
    border: 1px solid #004080;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    transition: transform 0.3s ease-in-out, opacity 0.3s;
}

/* Collapsed (Hidden) */
#chat-box.collapsed {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
    pointer-events: none;
}

/* Chat Header */
.chat-header {
    background-color: #004080;
    color: #fff;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header .title {
    font-weight: bold;
}

#toggle-chat {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* Chat Body */
.chat-body {
    padding: 15px;
    font-size: 14px;
    color: #003366;
}

.language-options {
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
}

.language-options button {
    padding: 6px 12px;
    background-color: #0073e6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.language-options button:hover {
    background-color: #0059b3;
}

/* Chat Input */
.chat-input {
    border-top: 1px solid #ccc;
    padding: 10px;
    background-color: #f2f9ff;
}

.chat-input .chat_form{
    display: flex;
    width: 100%;
    border: 1px solid #0073e6;
}

.chat-input input {
    /* width: 100%; */
    padding: 8px;
    border: none;
    border-radius: 5px;
}
