body {
	margin: 0;
	font-family: Arial;
}
.chatW {
    background: #fff !important;
    height: calc(100vh - 65px) !important;
    overflow: auto !important;
    padding: 15px !important;
  
}
/* 圓形按鈕 */
#toggleBtn {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 60px;
	height: 60px;
	background-color: #3d5175;
	color: white;
	border: none;
	border-radius: 50%;
	font-size: 20px;
	cursor: pointer;
	z-index: 1000;
}

/* iframe 容器 */
#iframeContainer {
	position: fixed;
	bottom: 20px; 
	right: 20px;
	width: 400px;
	height: 450px;
	background-color: white;
	border: 1px solid #ccc;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	/*display: none;*/
	z-index: 999999;
	border-radius: 8px;
	overflow: hidden;
	pointer-events: none;
	transition: all 0.3s ease;
	opacity:0
}
#iframeContainer.visible {
  opacity: 1;
  pointer-events: auto;
}
/* 放大狀態 */
#iframeContainer.fullscreen {
	width: 90%;
	height: 80%;
	bottom: 20px;
	right: 20px
}

/* iframe 元素 */
#iframeContainer iframe {
	width: 100%;
	height: calc(100% - 40px);
	border: none;
}

/* 工具列 */
.toolbar {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 10px;
	border-bottom: 1px solid #ccc;
}
.toolbar b {
	font-size:13px
}
.toolbar button {
	margin-left: 8px;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 18px;
}

.toolbar button:hover {
	color: #007bff;
}

@media screen and (max-width: 480px) {
	#iframeContainer {
	    width: 90%
	}
}