html, body {
	font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
	font-size: 16px;
}

.container_block {
	max-width: 100%;
	margin: 0 auto;
	background: white;
	/* border-radius: 12px; */
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: calc(100vh - 40px);
}

.header {
	background: #35373c;
	color: white;
	padding: 10px;
	text-align: center;
	flex-shrink: 0;
}

.header h1 {
	font-size: 28px;
	margin-bottom: 5px;
}

.header p {
	opacity: 0.9;
	font-size: 14px;
	margin: 0;
}

.content {
	display: flex;
	flex: 1;
	min-height: 0;
}

.input-panel, .out-panel {
	flex: 1;
	padding: 20px;
	display: flex;
	flex-direction: column;
}

.input-panel .block1 {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.input-panel .block1 .title-1 {
	display: flex;
	justify-content: space-between;
	margin: 10px;
}

.input-panel .block1 .input1 .input-textarea {
	height: 230px;
}

.input-panel .block2 {
	display: flex;
	flex-direction: column;
	flex: 2;
}

.input-panel .block2 .title-2 {
	display: flex;
	justify-content: space-between;
	margin: 10px;
}

.block2 .input2 {
	flex: 1;
}

.out-panel .block3 {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.block3 .out1 {
	flex: 1;
}

.out-panel .block3 .title-3 {
	display: flex;
	justify-content: space-between;
	margin: 10px;
}

.block2 .inputText2, .block3 .inputText3 {
	height: 100% !important;
	tab-size: 4; /* 制表符\t显示为4个空格宽度（关键） */
	white-space: pre-wrap; /* 保留换行和空格，自动换行（核心） */
	word-wrap: break-word; /* 超长行自动换行，避免横向滚动 */
}

.title::before {
	content: "•";
	color: #2c699e;
	margin-right: 8px;
	font-size: 20px;
}

.output-section {
	flex: 1;
	padding: 20px;
	display: flex;
	flex-direction: column;
	min-height: 0;
	position: relative;
}

.output-section:first-child {
	border-bottom: 1px solid #eaeaea;
}

.panel-title {
	font-weight: bold;
	margin-bottom: 10px;
	color: #2c3e50;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.panel-title::before {
	content: "•";
	color: #2c699e;
	margin-right: 8px;
	font-size: 20px;
}

.copy-btn {
	background: #2c699e;
	color: white;
	border: none;
	border-radius: 4px;
	padding: 6px 12px;
	font-size: 12px;
	cursor: pointer;
	transition: all 0.3s;
}

.reset-btn {
	background: #ffc107;
	color: white;
	border: none;
	border-radius: 4px;
	padding: 6px 12px;
	font-size: 12px;
	cursor: pointer;
	transition: all 0.3s;
	margin-right: 5px;
}

.copy-btn:hover {
	background: #2980b9;
	transform: translateY(-1px);
}

.copy-btn.copied {
	background: #27ae60;
}

textarea {
	width: 100%;
	flex: 1;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-family: 'Courier New', monospace;
	font-size: 14px;
	line-height: 1.5;
	resize: none;
	transition: border-color 0.3s;
	min-height: 0;
}

textarea:focus {
	outline: none;
	border-color: #3498db;
	box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.input-textarea {
	background: #fafafa;
}

.output-textarea {
	background: #f8f9fa;
}

.footer {
	padding: 15px;
	text-align: center;
	color: #7f8c8d;
	font-size: 13px;
	border-top: 1px solid #eaeaea;
	background: #f8f9fa;
	flex-shrink: 0;
}

.stats {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
	font-size: 12px;
	color: #7f8c8d;
}

/* 滚动条样式 */
textarea::-webkit-scrollbar {
	width: 8px;
}

textarea::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 4px;
}

textarea::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 4px;
}

textarea::-webkit-scrollbar-thumb:hover {
	background: #a8a8a8;
}

/* 动画效果 */
@
keyframes fadeIn {from { opacity:0;
	transform: translateY(5px);
}

to {
	opacity: 1;
	transform: translateY(0);
}

}
.output-section {
	animation: fadeIn 0.3s ease-out;
}

.panel-left {
	justify-content: flex-start;
}

.panel-right {
	justify-content: flex-start;
}

.panel-title-right-1 {
	flex: 1;
}

.panel-title-right-2 {
	justify-self: right;
}

.input-text {
	background: #fafafa;
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.5;
	transition: border-color 0.3s;
	box-sizing: border-box;
	outline: none;
	appearance: none;
}