/* Summernote 에디터 높이 조정 */
.note-editor .note-editable,
.note-editor .note-placeholder {
	font-size: clamp(1.6rem, 1.5vw, 2rem) !important;
}
.note-editor.note-frame {
	margin-bottom: 0;
	border: 1px solid #ddd;
	border-radius: 4px;
}
.note-editor.note-frame .note-editing-area {
	min-height: 400px;
}
/* 파일 미리보기 스타일 */
.file-preview {
	margin-top: 12px;
}
.preview-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	background: #f8f9fa;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	margin-bottom: 8px;
	position: relative;
}
.preview-item .file-info {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}
.preview-item .file-info img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
}
.preview-item .file-name {
	flex: 1;
	font-size: 14px;
	color: #333;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
#boardWrite .file-name {
	padding: 1rem 1.2rem;
	max-width: 26rem;
}
.preview-item .delete-btn {
	width: 24px;
	height: 24px;
	padding: 0;
	background: #dc3545;
	color: white;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	flex-shrink: 0;
}
.preview-item .delete-btn:hover {
	background: #c82333;
}
.file-icon {
	font-size: 32px;
}
/* 필수 표시 */
.required-mark {
	color: #dc3545;
	margin-left: 4px;
}
b {
	font-weight:800;
}
#boardWrite .btn{
	height:55px;
}
.file-preview{
	display:grid;
	gap:10px;
	grid-template-columns: repeat(3, 1fr);
	width:100%;
	}
@media (max-width: 1400px) {
	.file-preview {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 640px) {
	.form-table tr.form-group td input#author {
    	width: 100%!important;
    }
	.file-preview {
		display:flex;
		flex-direction: column;
	}
	#boardWrite .file-name {
		max-width: 15rem;
	}
}