.blog-admin { background: #f7f6fa; color: var(--brand-navy); min-height: 75vh; }
.admin-header { background: linear-gradient(115deg, var(--brand-purple-dark), var(--brand-purple)); border-bottom: 6px solid var(--brand-yellow); padding: 55px 0; }
.admin-header .container { align-items: center; display: flex; justify-content: space-between; }
.admin-header p { color: var(--brand-yellow); font-size: 11px; font-weight: 800; letter-spacing: .12em; margin-bottom: 7px; text-transform: uppercase; }
.admin-header h1 { color: #fff; font-size: 37px; font-weight: 700; margin: 0 0 7px; text-transform: none; }
.admin-header span { color: #dcd6e7; }
.admin-primary, .admin-secondary { align-items: center; border: 0; border-radius: 7px; cursor: pointer; display: inline-flex; font-size: 13px; font-weight: 800; gap: 8px; justify-content: center; min-height: 48px; padding: 12px 20px; }
.admin-header-actions { align-items: center; display: flex; gap: 10px; }
.admin-header-actions form { margin: 0; }
.admin-header-actions button { background: transparent; }
.admin-primary { background: var(--brand-yellow); color: var(--brand-purple-dark); }
.admin-primary:hover { background: #ffc62f; color: var(--brand-purple-dark); text-decoration: none; }
.admin-secondary { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.admin-secondary:hover { border-color: #fff; color: #fff; text-decoration: none; }
.admin-content { padding: 50px 0 80px; }
.admin-toolbar { align-items: center; display: flex; justify-content: space-between; margin-bottom: 18px; }
.admin-toolbar a { color: var(--brand-purple); font-size: 13px; font-weight: 700; }
.admin-table-wrap, .admin-panel { background: #fff; border: 1px solid #e3ddec; border-radius: 13px; box-shadow: 0 12px 30px rgba(32,58,100,.06); overflow: hidden; }
.admin-table { border-collapse: collapse; width: 100%; }
.admin-table th { background: #f1edf6; color: #6a6176; font-size: 10px; letter-spacing: .08em; padding: 14px 18px; text-align: left; text-transform: uppercase; }
.admin-table td { border-top: 1px solid #eeeaf2; color: #5f5868; font-size: 13px; padding: 17px 18px; vertical-align: middle; }
.admin-table td > strong, .admin-table td > small { display: block; }
.admin-table td > strong { color: var(--brand-navy); font-size: 14px; }
.admin-table td > small { color: #948b9f; margin-top: 3px; }
.admin-status { background: #eeeaf2; border-radius: 30px; color: #696173; display: inline-block; font-size: 10px; font-weight: 800; padding: 6px 10px; text-transform: uppercase; }
.admin-status.is-published { background: #e5f7ed; color: #08784b; }
.admin-actions { text-align: right; white-space: nowrap; }
.admin-actions a { color: var(--brand-purple); font-weight: 700; margin-left: 12px; }
.admin-empty { padding: 45px !important; text-align: center; }
.admin-form-header { padding: 38px 0; }
.admin-back { color: var(--brand-yellow); display: inline-block; font-size: 12px; font-weight: 700; margin-bottom: 9px; }
.admin-editor-main { align-items: start; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 320px; }
.admin-panel { overflow: visible; padding: 30px; }
.admin-field { margin-bottom: 24px; }
.admin-field:last-child { margin-bottom: 0; }
.admin-field label { color: var(--brand-navy); display: block; font-size: 12px; font-weight: 800; margin-bottom: 7px; }
.admin-input { background: #fbfafc; border: 1px solid #dcd5e5; border-radius: 6px; box-shadow: none; color: var(--brand-navy); min-height: 45px; padding: 9px 12px; width: 100%; }
textarea.admin-input { resize: vertical; }
.admin-input:focus { background: #fff; border-color: var(--brand-purple); box-shadow: 0 0 0 3px rgba(52,32,92,.08); outline: 0; }
.admin-label-row { align-items: center; display: flex; justify-content: space-between; }
.admin-label-row button { background: none; border: 0; color: var(--brand-purple); cursor: pointer; font-size: 11px; font-weight: 700; padding: 0; }
.admin-help, #summary-count { color: #8a8293; font-size: 10px; }
.admin-error { color: #b42318; display: block; font-size: 11px; margin-top: 5px; }
.admin-publish-field { background: #f7f6fa; border-radius: 8px; padding: 15px; }
.admin-publish-field input { float: left; height: 18px; margin: 2px 9px 0 0; width: 18px; }
.admin-publish-field label { margin: 0; }
.admin-publish-field small { color: #82798d; display: block; font-size: 10px; margin: 4px 0 0 27px; }
.admin-advanced { border-top: 1px solid #e8e3ed; margin: 5px 0 22px; padding-top: 16px; }
.admin-advanced summary { color: var(--brand-purple); cursor: pointer; font-size: 12px; font-weight: 700; margin-bottom: 15px; }
.admin-save { width: 100%; }
.admin-image-preview { align-items: center; background: #f5f2f8; border: 1px dashed #cfc6da; border-radius: 9px; display: flex; justify-content: center; margin-bottom: 11px; min-height: 150px; overflow: hidden; position: relative; }
.admin-image-preview img { display: none; height: 170px; object-fit: cover; width: 100%; }
.admin-image-preview.has-image img { display: block; }
.admin-image-preview.has-image span { display: none; }
.admin-image-preview span { color: #8a8293; display: flex; flex-direction: column; font-size: 11px; gap: 8px; text-align: center; }
.admin-image-preview span i { color: #b4a9c1; font-size: 29px; }
.admin-file-input { height: 1px; opacity: 0; overflow: hidden; position: absolute; width: 1px; }
.admin-file-button { align-items: center; background: #f1edf6; border: 1px solid #d9d1e2; border-radius: 7px; color: var(--brand-purple) !important; cursor: pointer; display: flex !important; gap: 8px; justify-content: center; margin: 0 0 8px !important; min-height: 43px; padding: 10px 12px; width: 100%; }
.admin-file-button:hover { background: #e9e2f0; }
#editor-upload-status { display: block; margin-top: 7px; min-height: 16px; }
.note-editor.note-frame { border-color: #dcd5e5; border-radius: 6px; }
.note-editor .note-toolbar { background: #f3f0f6; }
.note-editable { min-height: 430px; }
.blog-admin .note-editor .note-btn { background: #fff !important; border: 1px solid #d8d1e0 !important; box-shadow: none !important; color: var(--brand-navy) !important; min-height: 34px; padding: 7px 10px !important; transform: none !important; }
.blog-admin .note-editor .note-btn:hover, .blog-admin .note-editor .note-btn:focus, .blog-admin .note-editor .note-btn.active { background: #ece6f3 !important; border-color: #bdb1ca !important; color: var(--brand-purple) !important; }
.blog-admin .note-editor .note-toolbar { border-bottom: 1px solid #ded7e5; padding: 9px; }
.blog-admin .note-editor .note-editable { background: #fff; color: #2d3748; font-family: Arial, sans-serif; font-size: 16px; line-height: 1.75; padding: 24px; }
.blog-admin .note-table-popover { display: none !important; }
.note-toolbar { white-space: normal; }
.note-toolbar .note-btn-group { display: inline-flex; flex-wrap: wrap; }
.note-editor .dropdown-menu { max-width: min(320px, calc(100vw - 48px)); }
.admin-login-page { background: linear-gradient(135deg, #21163d, #34205c 58%, #203a64); }
.admin-login-section { align-items: center; display: flex; min-height: calc(100vh - 76px); padding: 70px 0; }
.admin-login-card { background: #fff; border-radius: 16px; box-shadow: 0 30px 80px rgba(17,10,34,.35); margin: auto; max-width: 470px; overflow: hidden; padding: 42px; width: 100%; }
.admin-login-heading { margin-bottom: 30px; text-align: center; }
.admin-login-heading > span { align-items: center; background: var(--brand-yellow); border-radius: 50%; color: var(--brand-purple-dark); display: inline-flex; font-size: 19px; height: 50px; justify-content: center; margin-bottom: 18px; width: 50px; }
.admin-login-heading p { color: var(--brand-purple); font-size: 11px; font-weight: 800; letter-spacing: .12em; margin-bottom: 6px; text-transform: uppercase; }
.admin-login-heading h1 { color: var(--brand-navy); font-size: 33px; margin-bottom: 9px; text-transform: none; }
.admin-login-heading small { color: #766e80; display: block; font-size: 12px; line-height: 1.6; }
.admin-login-submit { width: 100%; }
.admin-login-home { color: var(--brand-purple); display: block; font-size: 11px; font-weight: 700; margin-top: 22px; text-align: center; }
@media (max-width: 991px) { .admin-editor-main { grid-template-columns: 1fr; } .admin-sidebar-panel { order: initial; } }
@media (max-width: 767px) { .admin-header { padding: 38px 0; } .admin-header .container, .admin-toolbar { align-items: stretch; flex-direction: column; gap: 18px; } .admin-header-actions { align-items: stretch; flex-direction: column; } .admin-header-actions a, .admin-header-actions button { width: 100%; } .admin-header h1 { font-size: 30px; } .admin-content { padding: 35px 0 60px; } .admin-panel { min-width: 0; padding: 21px 16px; } .admin-label-row { align-items: flex-start; gap: 8px; } .admin-table thead { display: none; } .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; } .admin-table tr { border-top: 8px solid #f7f6fa; padding: 10px 0; } .admin-table td { border: 0; min-height: 34px; padding: 7px 16px 7px 112px; position: relative; } .admin-table td::before { color: #8a8293; content: attr(data-label); font-size: 9px; font-weight: 800; left: 16px; position: absolute; text-transform: uppercase; top: 10px; } .admin-actions { padding-left: 16px !important; text-align: left; } .admin-actions a { display: inline-flex; margin: 0 18px 0 0; min-height: 42px; padding: 10px 0; } .note-editable { min-height: 320px; } .note-toolbar { overflow-x: auto; padding: 6px 4px; } .admin-login-section { min-height: calc(100vh - 70px); padding: 35px 0; } .admin-login-card { padding: 32px 20px; } .admin-login-heading h1 { font-size: 29px; } }
