#chat-window {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 350px;
    height: 500px;
    border: 2px solid #aaa;
    background-color: #fff;
    display: none; /* Initially hidden */
	z-index: 100000;
	border-radius: 4px 4px 0px 0px;
	border-bottom: 0px;
}

.chat-header {
    background-color: #ccc;
    height: 33px;
}

.chat-messages {
    height: 70%;
	/*
		max-height: 70%;
    	overflow: auto;
	*/
}

.chat-control {
	width: 100%;
	height: 233px;
	padding: 8px 8px;
	display: table;
	background: #ddd;
}
.chat-control .left {
    display: table-cell;
	padding: 4px 0px 4px 13px;
}
.chat-control .left .chat_msg {
    
}

.chat-control .right {
    width: 74px;
	display: table-cell;
	text-align: center;
	
}
.disable-background {
    pointer-events: none; /* Disable mouse interactions */
    opacity: 0.5;         /* Dim the background to visually indicate it is disabled */
    user-select: none;    /* Prevent text selection */
}
.enable-chat {
    pointer-events: auto; /* Enable interactions for the chat window */
    z-index: 1000;        /* Ensure it's above the disabled background */
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 99999; /* High z-index to cover other elements */
	pointer-events: all; /* Enable pointer events to block interactions */
}
.body-no-scroll {
    overflow: hidden;
}
.hide {
	display: none;
}