body {
    margin: 0;
    font-family: "Noto sans", sans-serif;
    font-optical-sizing: auto;
}
h1, h2, h3{
    font-family: "Noto sans", sans-serif;
}
a{
    text-decoration: none;
}
.body-container{
    display: grid;
    grid-template-columns: 360px calc(100% - 360px);
}
.sidebar {
    min-height: 100vh;
    background-color: #f4f4f4;
    padding: 10px 20px 20px;
}
.content {
    position: relative;
    padding: 20px;
    min-height: calc(100vh - 265px);
}
.section {
    padding-bottom: 20px;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}
.sub-section .section::before{
    content: '';
    background-color: #26a;
    width: 25px;
    height: 1px;
    position: absolute;
    left: -30px;
    top: 15px;
}
.section h2 {
    margin-top: 0;
}
.pill{
    font-size: 16px;
    background-color: #cde;
    color: #26a;
    font-style: italic;
    font-weight: normal;
    padding: 2px 9px 2px 7px;
    margin-left: 10px;
    border-radius: 20px;
}
.pill.green{
    background-color: #bd8;
    color: forestgreen;
}
.pill.gold{
    background-color: #FC0;
    color: #947000;
}
.pill.blue{
    background-color: #d0e8ff;
    color: #0066cc;
}
.pill.purple{
    background-color: #e8d8ff;
    color: #6633cc;
}
code.example {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #333;
}
ul.featureList {
    list-style: none;
    padding: 15px 0;
    margin: 0;
}
ul.featureList li {
    line-height: 1.5;
}
ul.featureList li {
    line-height: 1.5;
}
ul.featureList li > a, ul.featureList li > span{
    color: #333;
    padding-left: 20px;
    cursor: pointer;
}
.expandable {
    position: relative;
}
ul.featureList li> a:hover, ul.featureList li > span:hover{
    color: #26a;
}
.expandable::before{
    content: '▶';
    position: absolute;
    left: 0;
    transition: .3s;
}
.expandable.rotate::before{
    transform: rotate(90deg);
}
ul.sub-sections {
    display: none;
    list-style: none;
    padding: 5px 10px 5px 20px;
    margin: 0;
}
ul.sub-sections.expanded {
    display: block;
}
.sub-section {
    padding-left: 30px;
    border-left: 1px solid #26a;
}
.sub-section .section:last-child {
    border-bottom: none;
}
.section pre {
    background-color: #fafafa;
    overflow: auto;
    max-height: 300px;
    padding: 10px;
}
.search{
    position: relative;
    padding: 10px 0 0;
}
.search input {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.search input:focus{
    outline: none;
}
.search ul.results {
    position: absolute;
    left: 0;
    top: 49px;
    list-style: none;
    margin: 0;
    z-index: 1;
    padding: 0;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: none;
    overflow: hidden;
}
.search ul.results li a{
    background-color: #fff;
    padding: 5px 15px;
    display: block;
    color: #26a;
}
.search ul.results li a:hover{
    background-color: #eee;
}
.clear-search {
    position: absolute;
    background-color: #aaa;
    color: #fff;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    line-height: 18px;
    text-align: center;
    right: 10px;
    top: 20px;
    cursor: pointer;
}
#goToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #26a;
    color: #fff;
    border: none;
    height: 42px;
    width: 42px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
}
.filter{
    cursor: pointer;
}
.active-filter.activated {
    padding: 15px 0 5px;
    font-weight: bold;
}
.filter-pill {
    background-color: #26a;
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    display: inline-block;
    font-weight: normal;
}
.filter-pill .remove-filter {
    cursor: pointer;
    background-color: firebrick;
    width: 24px;
    display: inline-block;
    text-align: center;
    height: 24px;
    border-radius: 50%;
    font-weight: bold;
    margin-left: 5px;
    line-height: 24px;
}
.section .images-preview {
    margin-bottom: 15px;
}
.section .images-preview img{
    height: 200px;
}
.title-pill {
    background-color: #cde;
    color: #26a;
    font-size: 24px;
    width: 30px;
    display: inline-block;
    text-align: center;
    height: 30px;
    border-radius: 50%;
}
ul#post-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    overflow-y: auto;
    max-height: 600px;
    border: 1px solid #26a;
}
/* width */
ul#post-list::-webkit-scrollbar {
    width: 10px;
}

/* Track */
ul#post-list::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

/* Handle */
ul#post-list::-webkit-scrollbar-thumb {
    background: #888; 
}

/* Handle on hover */
ul#post-list::-webkit-scrollbar-thumb:hover {
    background: #555; 
}
ul#post-list li{
    cursor: pointer;
    padding: 5px 10px;
}
ul#post-list li:hover{
    background-color: #26a;
    color: #fff;
}
.content-editor-wrapper{
    display: grid;
    grid-template-columns: calc(100% - 300px) 300px;
    position: relative;
}
.content-editor {
    padding: 0 15px;
}
.blog-title{
    margin: 0 0 20px;
}
.input-text{
    width: 100%;
    border-radius: 4px;
    display: block;
    border: 1px solid #aaa;
    padding: 7px 12px;
}
.content-editor textarea {
    width: 100%;
    min-height: 640px;
    border-radius: 4px;
    display: block;
    border: 1px solid #aaa;
    padding: 7px 12px;
}
.content-actions {
    background-color: #fafafa;
    padding: 10px 15px;
}
.message {
    display: none;
    position: fixed;
    top: 70px;
    right: 24px;
    z-index: 9999;
    padding: 12px 20px;
    border-radius: 5px;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.message.success {
    background-color: #bd8;
    color: forestgreen;
}
.message.error {
    color: #fff;
    background-color: firebrick;
}
.message.info {
    background-color: #e0f0ff;
    color: #1a6fa8;
}
.slug-alert {
    background-color: #bd8;
    color: forestgreen;
    margin: 5px 0 10px;
    padding: 10px 15px;
    border-radius: 5px;
    display: none;
}
input:read-only {
    background-color: #eee;
    color: #666;
}
.edit-slug{
    color: #26a;
    font-size: 14px;
    margin-left: 10px;
    cursor: pointer;
}
.editor-section {
    border-top: 1px solid #ddd;
    padding-top: 18px;
    margin-top: 18px;
}
.editor-section:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}
.editor-section-title {
    margin: 0 0 14px;
    color: #5d6d7a;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.editor-action-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ai-sync-panel label {
    display: block;
    margin-bottom: 8px;
}
.editor-secondary-actions {
    margin-top: 6px;
}
.editor-action-button {
    display: inline-block;
    border: 1px solid #c8ced6;
    background-color: #fff;
    color: #50616f;
    padding: 8px 14px;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
}
.editor-action-button:hover {
    color: #32414d;
}
.editor-action-button.action-primary {
    background-color: #9b6;
    border-color: #9b6;
    color: #fff;
}
.editor-action-button.action-danger {
    background-color: firebrick;
    border-color: firebrick;
    color: #fff;
}
.ai-sync-toggle.protobi-green {
    background-color: #9bbb59;
    border-color: #9bbb59;
    color: #fff;
}
.ai-sync-toggle.protobi-blue {
    background-color: #39c;
    border-color: #39c;
    color: #fff;
}
.ai-sync-toggle.checking,
.ai-sync-toggle.disabled,
.ai-sync-toggle.error {
    background-color: #969696;
    border-color: #969696;
    color: #fff;
}
.ai-sync-note {
    border-radius: 5px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.4;
    background-color: #f3f4f6;
    color: #333;
    margin-top: 10px;
    display: none;
}
.ai-sync-note.synced {
    background-color: #dff0d8;
    color: #2f6b2f;
}
.ai-sync-note.unsynced {
    background-color: #fcf8e3;
    color: #8a6d3b;
}
.ai-sync-note.disabled,
.ai-sync-note.checking {
    background-color: #eef3f7;
    color: #486273;
}
.ai-sync-note.error {
    background-color: #f2dede;
    color: #a94442;
}
#save-post{
    margin-left: 0;
}
#save-post.can-save{
    background-color: #9b6;
    border-color: #9b6;
    color: #fff;
}
#delete-post{
    background-color: firebrick;
    border-color: firebrick;
    width: 100%;
}
#convertToMd{
    width: 100%;
}
#convertToMd:disabled{
    background-color: #969696;
    border-color: #969696;
    color: #fff;
}
.button-wrapper {
    display: flex;
    align-items: center;
    margin: 0 0 20px;
}
.editor-primary-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
.create-new-post {
    display: inline-block;
    margin-left: 12px;
    padding: 6px 14px;
    background: #39c;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    vertical-align: middle;
}
.create-new-post:hover{
    background: #2980b9;
    color: #fff;
    text-decoration: none;
}
.content-editor .CodeMirror-fullscreen, 
.content-editor .editor-preview-side,
.content-editor .editor-toolbar.fullscreen{
    position: absolute !important;
}
.content-editor .CodeMirror-fullscreen, .content-editor .editor-preview-side{
    top: 90px;
}
.content-editor .editor-toolbar.fullscreen{
    top: 40px;
    background-color: #eee;
}
.editor-preview-side img, .editor-preview img {
    max-width: 100%;
}
.CodeMirror .cm-formatting {
    color: #39c;
    font-size: 0.8em;
}
.manage-option{
    float: right;
}
.editor-delete-area {
    border-top: 1px solid #ddd;
    margin-top: 22px;
    padding-top: 18px;
}
