/* N.O. Portal Chatbot */

/* Ensure the root takes up NO space in your grid */
#n-o-chatbot-root {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 0 !important;
    height: 0 !important;
    z-index: 99999 !important;
    font-family: "Courier New", monospace;
    pointer-events: none; /* Allows clicks to pass through empty space */
    
}
/* Ensure the toggle and window can receive clicks */
#n-o-chatbot-root > * {
    pointer-events: auto;
}
#n-o-chatbot-root .chat-footer {

    border-top:1px solid #ff5a00;

    padding:10px;

}

/* Floating icon */

#n-o-chatbot-root .chatbot-toggle-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
}


#n-o-chatbot-root #chatbot-toggle {
    width: 56px;
    height: 56px;

    border-radius:50%;

    background:#ff5a00;

    border:2px solid #ff5a00;

    cursor:pointer;

    box-shadow:0 0 10px #ff5a00;
}


/* Main chat window */

#n-o-chatbot-root #chat-window {

    display:none;

    position:fixed;

    right:20px;

    bottom:90px;

    width:350px;

    height:500px;

    background:#020202;

    border:2px solid #ff5a00;

    color:#ff5a00;

    z-index:9999;

}


#n-o-chatbot-root #chat-window.show {

    display:block;

}
.chat-header {
    position: relative; /* Essential for the button to anchor here */
    padding: 10px;
}

.chat-close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    cursor: pointer;
    color: #ff5a00;
}