#chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #004b8d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
}

#chat-modal {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: #ffffff;
    border: 2px solid #004b8d;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9998;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#chat-header {
    background-color: #004b8d;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    #chat-header img {
        height: 24px;
    }

#chatbox {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    background: #f5faff;
}

.message {
    margin: 10px;
    padding: 10px;
    border-radius: 8px;
}

.user {
    background-color: #d4edda;
    text-align: right;
}

.bot {
    background-color: #e2efff;
    text-align: left;
}

#input-area {
    padding: 10px;
    border-top: 1px solid #ccc;
    background: #f0f0f0;
}

    #input-area textarea {
        width: 100%;
        resize: none;
        padding: 8px;
    }

    #input-area button {
        margin-top: 5px;
        width: 100%;
        padding: 10px;
        background: #004b8d;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 16px;
        cursor: pointer;
    }
