@charset "utf-8";
/* CSS Document */


/* =========================================
   MUSHINZUI FLOATING CHATBOT
   ========================================= */

/* Floating chat button */
#mushinzui-chat-launcher {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 62px;
    height: 62px;
    border: none;
    border-radius: 50%;
    background: rgba(240, 240, 240, 0.5);
    color: white;
    /*font-size: 30px;*/
    cursor: pointer;
    z-index: 2147483647;
    box-shadow: 0 3px 12px rgba(0,0,0,0.3);
	visibility: visible;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Chat panel */
#mushinzui-chat-panel {
    position: fixed;
    right: 25px;
    bottom: 100px;
    width: 390px;
    height: 600px;
    max-height: calc(100vh - 125px);
    background: white;
    border-radius: 12px;
    overflow: hidden;
    z-index: 2147483646;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Hidden panel */
#mushinzui-chat-panel[hidden] {
    display: none !important;
}

/* Close button */
#mushinzui-chat-close {
    position: absolute;
    top: 11px;
    right: 12px;
    z-index: 10;

    width: 32px;
    height: 32px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;
    background: #f0f0f0;
    color: #000;

    cursor: pointer;
    box-sizing: border-box;
}

/* Close cross SVG */
#mushinzui-chat-close svg {
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Expand / reduce width button */
#mushinzui-chat-expand {
    position: absolute;
    top: 11px;
    right: 52px;
    z-index: 10;

    width: 32px;
    height: 32px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;
    background: #f0f0f0;
    color: #000;

    cursor: pointer;
    box-sizing: border-box;
}

/* Expand / reduce SVG arrow */
#mushinzui-chat-expand svg {
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}


/* Wider chatbot panel */
#mushinzui-chat-panel.is-expanded {
    width: 800px;
    max-width: calc(100vw - 50px);
}


/* Chat iframe */
#mushinzui-chat-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}



/* Mobile layout */
@media screen and (max-width: 600px) {

    #mushinzui-chat-panel,
    #mushinzui-chat-panel.is-expanded {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100% !important;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        max-width: 100% !important;
        border-radius: 0;
    }
	
	 #mushinzui-chat-expand {
        display: none !important;
    }
	
    #mushinzui-chat-launcher {
        right: 18px;
        bottom: 18px;
    }
}
