@charset "UTF-8";

/* =========================
   notice.css
   - 공지사항 모듈 전용 스타일
   ========================= */

#notice_wrap {
	padding: .25rem 0;
}

/* 공통 카드 (diary 패턴과 동일) */
#notice_wrap .card-soft {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 14px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
}

#notice_wrap .section-hd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(0, 0, 0, .12);
}

#notice_wrap .section-bd {
	padding: 14px 16px;
}

#notice_wrap .field {
	margin-bottom: 0;
}

#notice_wrap .field-label {
	font-size: 13px;
	color: rgba(0, 0, 0, .55);
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 6px;
}


#notice_wrap .notice-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	padding: .25rem 0 .75rem;
}

#notice_wrap .notice-tabs {
	display: flex;
	gap: .5rem;
	flex-wrap: wrap;
}

#notice_wrap .notice-tab {
	border: 1px solid rgba(0, 0, 0, .12);
	background: #fff;
	border-radius: 999px;
	padding: .38rem .9rem;
	font-size: .95rem;
	line-height: 1;
	cursor: pointer;
}

#notice_wrap .notice-tab.is-on {
	border-color: rgba(13, 110, 253, .45);
	box-shadow: 0 4px 12px rgba(13, 110, 253, .10);
}

#notice_wrap .notice-card {
	border: 1px solid rgba(0, 0, 0, .10);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
}

#notice_wrap .notice-card-hd {
	padding: .85rem 1rem;
	border-bottom: 1px solid rgba(0, 0, 0, .06);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
}

#notice_wrap .notice-card-title {
	font-weight: 500;
	font-size: 1rem;
	color: #5c7cfa;
}

#notice_sec_write .notice-card-hd .fw-semibold {
	font-size: 1rem;
	font-weight: 500 !important;
	color: #5c7cfa;
}

#notice_wrap .notice-card-bd {
	padding: 1rem;
}

#notice_wrap .notice-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

#notice_wrap .notice-item {
	padding: .85rem 1rem;
	border-bottom: 1px solid rgba(0, 0, 0, .06);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

#notice_wrap .notice-item:last-child {
	border-bottom: 0;
}

#notice_wrap .notice-item .nt-left {
	min-width: 0;
	flex: 1 1 auto;
}

#notice_wrap .notice-item .nt-title {
	display: flex;
	align-items: center;
	gap: .45rem;
	min-width: 0;
}

#notice_wrap .notice-item .nt-title a {
	color: inherit;
	text-decoration: none;
	font-weight: 400;
	font-size: 1.05rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

#notice_wrap .badge-pin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: .78rem;
	padding: .18rem .55rem;
	border-radius: 999px;
	border: 1px solid rgba(220, 53, 69, .35);
	color: rgba(220, 53, 69, .95);
	background: rgba(220, 53, 69, .06);
}

#notice_wrap .nt-meta {
	display: flex;
	gap: .75rem;
	flex: 0 0 auto;
	white-space: nowrap;
	color: rgba(0, 0, 0, .55);
	font-size: .88rem;
}

#notice_wrap .form-row {
	display: flex;
	gap: .75rem;
	flex-wrap: wrap;
	align-items: center;
}

#notice_wrap .form-row .form-check {
	margin: 0;
}

#notice_wrap .notice-actions {
	display: flex;
	gap: .5rem;
	justify-content: flex-end;
	padding: .85rem 1rem;
	border-top: 1px solid rgba(0, 0, 0, .06);
	background: rgba(0, 0, 0, .01);
}

/* 모달 본문: 글 줄바꿈 */
#notice_view_body {
	white-space: normal;
}


/* =========================
   공지사항 보기 모달 폭
   - 등록 화면 CKEditor 본문 폭과 유사하게 맞춤
   - Bootstrap modal-lg(기본 800px)보다 넓게
   ========================= */
#notice_view_modal .modal-dialog {
	width: calc(100% - 2rem);
	max-width: 900px;
	/* CKEditor 본문 영역과 유사한 폭 980 */
}


/* =========================================================
   조회 모달: CKEditor(읽기 전용) 표시용
   - textarea(#notice_view_body)에 CKEditor를 붙여 HTML을 그대로 표시
   - 툴바 숨김 + 본문 카드 느낌
   ========================================================= */
#notice_view_modal .ck-toolbar {
	display: none !important;
}

#notice_view_modal .ck-editor__editable,
#notice_view_modal .ck-content {
	min-height: 320px;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	/* padding: 0 !important; */
}

#notice_view_modal .ck.ck-editor__main>.ck-editor__editable:not(.ck-focused) {
	border: 0 !important;
}

#notice_view_modal #notice_view_body {
	width: 100%;
	min-height: 320px;
	border: 0;
	background: transparent;
	resize: none;
	outline: none;
}