@charset "utf-8";
/* ============================================================
   Summernote(BS5) 에디터 화면 보정 — _header.php 의 need_editor 블록에서만 로드
   구 adminlte.min_gng_custom_for_user.css(844KB: AdminLTE3+BS4 전체를 .note-editor 로 스코프)
   중 실제로 효과가 있던 규칙만 이관. 편집영역(.note-editable) 본문 서식은 dist/css/edit.css 담당.
   ============================================================ */

/* 팝오버(이미지·링크·표 클릭 시) — BS5 .popover 에는 position 이 없어(Popper 가 인라인 부여)
   Summernote 가 주는 top/left 가 무시되고 에디터 아래로 밀려남. 필수 */
.note-editor .note-popover{
    position: absolute; z-index: 1060;
    border-color: rgba(0,0,0,.2); border-radius: .3rem;
    box-shadow: 0 .25rem .5rem rgba(0,0,0,.2);
}
.note-editor .note-popover .popover-body{ padding: .5rem .75rem; }

/* 툴바 */
.note-editor .note-toolbar{ background-color: transparent; border-radius: .25rem .25rem 0 0; }

/* 드롭다운 */
.note-editor .note-dropdown-menu{
    margin-top: .125rem;
    border-color: rgba(0,0,0,.15); border-radius: .25rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.175);
}
/* 스타일 드롭다운 미리보기 — 프론트 리셋이 제목 크기를 지워 전부 16px 로 보이는 것 복원 */
.note-editor .dropdown-style h1{ font-size: 2.5rem;  line-height: 1.2; }
.note-editor .dropdown-style h2{ font-size: 2rem;    line-height: 1.2; }
.note-editor .dropdown-style h3{ font-size: 1.75rem; line-height: 1.2; }
.note-editor .dropdown-style h5{ font-size: 1.25rem; line-height: 1.2; }
.note-editor .dropdown-style h6{ font-size: 1rem;    line-height: 1.2; }

/* 모달(링크·이미지·동영상 삽입) */
.note-editor .note-modal .modal-content{
    border-color: rgba(0,0,0,.2); border-radius: .3rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.5);
}
.note-editor .note-modal .form-group{ margin-bottom: 1rem; } /* BS5 에는 .form-group 이 없음 */
.note-editor .note-modal label:not(.form-check-label){ margin-bottom: .5rem; font-weight: 700; }
.note-editor .note-modal .note-form-control:not([type=file]){ height: calc(2.25rem + 2px); padding: .375rem .75rem; border-radius: .25rem; }
.note-editor .note-modal .note-image-input{ display: block; }
.note-editor .note-modal small{ font-size: 80%; font-weight: 400; } /* 굵은 label 안의 보조문구 */
