/* /plugin/editor/ckeditor5/ckeditor5_custom.css */

/* 에디터 기본 스타일 */
.ck.ck-editor {
    width: 100%;
}

.ck-editor__editable {
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
}

/* 툴바 스타일 */
.ck.ck-toolbar {
    border: 1px solid #c4c4c4 !important;
    background: #f7f7f7;
}

.ck.ck-toolbar .ck-toolbar__items {
    flex-wrap: wrap;
}

/* 에디터 본문 스타일 */
.ck-editor__editable_inline {
    border: 1px solid #c4c4c4;
    border-top: none;
    padding: 20px;
}

/* 포커스 상태 */
.ck.ck-editor__editable:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

/* 반응형 */
@media (max-width: 768px) {
    .ck-editor__editable {
        min-height: 300px;
    }
    
    .ck.ck-toolbar .ck-toolbar__items {
        font-size: 12px;
    }
}

/* 테이블 스타일 */
.ck-content .table {
    margin: 1em 0;
}

.ck-content .table table {
    border-collapse: collapse;
    width: 100%;
}

.ck-content .table table td,
.ck-content .table table th {
    border: 1px solid #bfbfbf;
    padding: 0.4em;
}

/* 링크 스타일 */
.ck-content a {
    color: #4a90e2;
    text-decoration: underline;
}