/* 悬浮图标 */
.msg-float {
	position: fixed;
	top: 30vh;
	right: 12px;
	width: 42px;
	height: 42px;
	background: #FFA500;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 20px;
	z-index: 1000;
	transition: transform 0.2s ease;
}
.msg-float:active {
	transform: scale(0.95);
}

/* 弹窗蒙层 */
.msg-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.5);
	backdrop-filter: blur(3px);
	z-index: 1001;
	display: none;
}

/* 弹窗主体 */
.msg-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 85%;
	max-width: 380px;
	background: white;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	z-index: 1002;
}

/* 弹窗头部 */
.msg-header {
	padding: 18px 20px;
	background: #f8f9fa;
	border-bottom: 1px solid #eee;
}

.msg-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

/* 弹窗内容区 - 修正内边距 */
.msg-body {
	padding: 10px 20px;
}

.msg-textarea-container {
	position: relative;
}

.msg-textarea {
	width: 92%;
	min-height: 140px;
	padding: 14px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 16px;
	resize: none;
	outline: none;
	transition: border-color 0.2s;
}

.msg-textarea:focus {
	border-color: #FFA500;
}

/* 按钮组 */
.msg-footer {
	padding: 8px 20px;
	display: flex;
	gap: 12px;
}

.msg-btn {
	flex: 1;
	padding: 12px;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: opacity 0.2s;
}

.msg-btn:active {
	opacity: 0.8;
}

.submit-btn {
	background: #FFA500;
	color: white;
}

.cancel-btn {
	background: #f8f9fa;
	color: #666;
	border: 1px solid #ddd;
}
#messageBox {
	width: 100%;
	font-family: Arial, sans-serif;
}

#messageBox h3 {
	color: #333;
	text-align: center;
}

#messageBox button:hover {
	background: #45a049;
}