/* Floating Button */
#askrji-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#askrji-button {
    padding: 10px 20px;
    background-color: #0052cc;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

#askrji-button:focus,

#close-chat:focus {
    outline: 3px solid #001a72;
    outline-offset: 2px;
}

#askrji-button:hover {
    background-color: #0042a3;
}

/* Chat Popup */
#askrji-chat-popup {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 90vw;
    max-width: 400px;
    height: 80vh;
    max-height: 600px;
    overflow: hidden;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,.2);
    display: none;
    flex-direction: column;
    z-index: 1001;
}

#askrji-chat-popup.visible {
    display: flex;
}

#askrji-chat-header {
    background-color: #0052cc;
    color: white;
    padding: 10px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#askrji-chat-header button {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

#askrji-chat-header button:focus {
    outline: 3px solid #001a72;
    outline-offset: 2px;
}  

#askrji-chat-frame {
    flex: 1;
    border: none;
}
