/* Simple WYSIWYG Editor Styles - Makes CKEditor look like a plain textarea */

/* Hide CKEditor chrome/toolbar */
.cke_chrome {
    border: 1px solid #ced4da !important;
    box-shadow: none !important;
}

.cke_top {
    display: none !important;
}

.cke_bottom {
    display: none !important;
}

/* Make the editable area look like a textarea */
.cke_wysiwyg_div {
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 8px 12px !important;
    border: none !important;
    background-color: #fff !important;
}

/* Body class for simple styling inside editor */
.ckeditor-simple {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #495057 !important;
}

/* Basic HTML formatting inside editor */
.ckeditor-simple p {
    margin: 0 0 10px 0;
}

.ckeditor-simple strong,
.ckeditor-simple b {
    font-weight: bold;
}

.ckeditor-simple em,
.ckeditor-simple i {
    font-style: italic;
}

.ckeditor-simple u {
    text-decoration: underline;
}

.ckeditor-simple ul,
.ckeditor-simple ol {
    margin: 10px 0;
    padding-left: 20px;
}

.ckeditor-simple li {
    margin: 5px 0;
}

.ckeditor-simple a {
    color: #007bff;
    text-decoration: underline;
}

/* Focus state */
.cke_focus .cke_chrome {
    border-color: #80bdff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}
