 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
 }

 body {
     background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
     color: #333;
     line-height: 1.6;
     min-height: 100vh
 }



 .editor-top-bar {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
     color: white;
     padding: 15px 20px;
     box-shadow: 0 2px 15px rgba(0, 0, 0, .1);
     z-index: 1000;
     display: flex;
     justify-content: space-between;
     align-items: center
 }

 .editor-logo {
     font-size: 24px;
     font-weight: 700;
     display: flex;
     align-items: center;
     gap: 10px
 }

 .editor-logo i {
     color: #6dd5ed;
     animation: pulse 2s infinite
 }

 @keyframes pulse {
     0% {
         transform: scale(1)
     }

     50% {
         transform: scale(1.1)
     }

     100% {
         transform: scale(1)
     }
 }

 .editor-nav-links {
     display: flex;
     gap: 15px
 }

 .editor-nav-links a {
     color: white;
     text-decoration: none;
     font-weight: 500;
     padding: 8px 15px;
     border-radius: 5px;
     transition: all .3s ease;
     display: flex;
     align-items: center;
     gap: 8px;
     position: relative;
     overflow: hidden
 }

 .editor-nav-links a::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: rgba(255, 255, 255, .2);
     transition: all .5s ease;
     z-index: -1
 }

 .editor-nav-links a:hover::before {
     left: 0
 }

 .editor-nav-links a:hover {
     transform: translateY(-2px);
     box-shadow: 0 5px 15px rgba(0, 0, 0, .2)
 }

 .editor-nav-links a.editor-active {
     background: rgba(255, 255, 255, .25);
     box-shadow: inset 0 0 10px rgba(0, 0, 0, .2)
 }

 .editor-nav-links a i {
     font-size: 18px
 }

 .editor-container {
     padding: 10px 0
 }

 .editor-section {
     background: white;
     border-radius: 12px;
     box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
     transition: all .4s ease;
     display: none;
     opacity: 0;
     transform: translateY(20px)
 }

 .editor-section.editor-active {
     display: block;
     animation: fadeIn .5s ease forwards
 }

 @keyframes fadeIn {
     to {
         opacity: 1;
         transform: translateY(0)
     }
 }

 .editor-section-title {
     font-size: 28px;
     margin-bottom: 25px;
     color: #2c3e50;
     display: flex;
     gap: 15px;
     padding-bottom: 15px;
     border-bottom: 2px solid #eaeaea
 }

 .editor-footer {
     background: #2c3e50;
     color: white;
     padding: 30px;
     text-align: center;
     margin-top: 40px;
     border-top-left-radius: 15px;
     border-top-right-radius: 15px
 }

 .editor-dashboard-title {
     font-size: 32px;
     margin-bottom: 20px;
     color: white
 }

 .editor-dashboard-placeholder {
     background: rgba(255, 255, 255, .1);
     padding: 30px;
     border-radius: 10px;
     max-width: 800px;
     border: 2px dashed rgba(255, 255, 255, .3)
 }

 .editor-dashboard-placeholder i {
     font-size: 40px;
     margin-bottom: 20px;
     color: #6dd5ed
 }

 .editor-dashboard-placeholder h3 {
     font-size: 20px;
     margin-bottom: 15px
 }

 @media (max-width:768px) {
     .editor-top-bar {
         flex-direction: column;
         gap: 15px;
         padding: 15px
     }

     .editor-nav-links {
         width: 100%;
         justify-content: center;
         flex-wrap: wrap;
         gap: 8px
     }

     .editor-nav-links a {
         padding: 8px 12px;
         font-size: 14px
     }

     .editor-section {
         padding: 20px
     }

     .editor-section-title {
         font-size: 24px
     }
 }




 .editor-container {
     max-width: 1400px;
     margin: 0 auto;
     display: flex;
     flex-direction: column;
     gap: 30px
 }

 header {
     text-align: center;
     padding: 20px;
     background: #4b6cb7;
     border-radius: 12px;
     color: white;
     box-shadow: 0 5px 20px rgba(0, 0, 0, .1)
 }

 header h1 {
     font-size: 2.5rem;
     margin-bottom: 10px
 }

 .editor-editor-preview-container {
     display: flex;
     gap: 30px
 }

 .editor-editor-form {
     flex: 1;
     background: white;
     border-radius: 12px;
     padding: 25px;
     box-shadow: 0 8px 25px rgba(0, 0, 0, .08)
 }

 .editor-preview-section {
     flex: 1;
     background: white;
     border-radius: 12px;
     padding: 25px;
     box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
     display: flex;
     flex-direction: column
 }

 .editor-section-title {
     font-size: 1.8rem;
     color: #2c3e50;
     margin-bottom: 25px;
     padding-bottom: 15px;
     border-bottom: 2px solid #eaeaea;
     display: flex;
     align-items: center;
     gap: 12px
 }

 .editor-section-title i {
     color: #4b6cb7;
     background: #eef4ff;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center
 }

 .editor-form-group {
     margin-bottom: 20px
 }

 .editor-form-group label {
     display: block;
     margin-bottom: 8px;
     font-weight: 600;
     color: #2c3e50
 }

 .editor-form-control {
     width: 100%;
     padding: 12px 15px;
     border: 1px solid #ddd;
     border-radius: 8px;
     font-size: 1rem;
     transition: all .3s
 }

 .editor-form-control:focus {
     border-color: #4b6cb7;
     box-shadow: 0 0 0 3px rgba(75, 108, 183, .2);
     outline: none
 }

 textarea.editor-form-control {
     min-height: 120px;
     resize: vertical
 }

 .editor-btn-container {
     display: flex;
     gap: 15px;
     flex-wrap: wrap
 }

 .editor-btn-group {
     background: #f8f9fa;
     border-radius: 8px;
     padding: 15px;
     border: 1px dashed #dee2e6;
     margin-bottom: 20px
 }

 .editor-btn-group-title {
     font-size: 1.2rem;
     margin-bottom: 15px;
     color: #4b6cb7
 }

 .editor-hero {
     display: flex;
     gap: 40px;
     margin-top: 20px;
     align-items: center
 }

 .editor-hero-content {
     flex: 1
 }

 .editor-hero h1 {
     font-size: 2.5rem;
     color: #2c3e50;
     margin-bottom: 20px;
     line-height: 1.3
 }

 .editor-p1-home {
     margin-bottom: 15px;
     font-size: 1.1rem;
     color: #555;
     line-height: 1.7
 }

 .editor-banner-btn-group-hhjnn9 {
     display: flex;
     gap: 15px;
     flex-wrap: wrap;
     margin-top: 25px
 }

 .editor-cta-button-m5k2 {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     padding: 12px 24px;
     background: #4b6cb7;
     color: white;
     text-decoration: none;
     border-radius: 8px;
     font-weight: 600;
     transition: all .3s;
     border: 2px solid #4b6cb7
 }

 .editor-cta-button-m5k2:hover {
     background: #3a5795;
     transform: translateY(-3px);
     box-shadow: 0 5px 15px rgba(0, 0, 0, .1)
 }

 .editor-hero-image {
     flex: 1;
     display: flex;
     justify-content: center;
     align-items: center
 }

 .editor-hero-image img {
     max-width: 100%;
     height: auto;
     border-radius: 8px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
     border: 1px solid #eee;
     object-fit: cover;
     max-width: 600px;
     max-height: 400px
 }

 .hero-image img {
     max-width: 100%;
     max-height: 350px;
     width: auto;
     height: auto;
     object-fit: contain
 }

 #preview-blog-content img {
     height: auto;
     margin: 15px auto;
     display: block
 }

 .editor-image-options {
     background: #f8f9fa;
     border-radius: 8px;
     padding: 15px;
     border: 1px dashed #dee2e6;
     margin-top: 20px
 }

 .editor-preview-title {
     text-align: center;
     margin-bottom: 30px;
     color: #4b6cb7;
     font-size: 1.5rem
 }

 .editor-preview-container {
     flex: 1;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: auto;
     padding: 20px;
     border: 1px dashed #dee2e6;
     border-radius: 8px;
     background: #f8f9fa
 }

 .editor-actions {
     display: flex;
     justify-content: flex-end;
     gap: 15px;
     margin-top: 20px
 }

 .editor-btn {
     padding: 12px 25px;
     border-radius: 8px;
     font-weight: 600;
     cursor: pointer;
     transition: all .3s;
     border: none;
     font-size: 1rem
 }

 .editor-btn-primary {
     background: #4b6cb7;
     color: white
 }

 .editor-btn-primary:hover {
     background: #3a5795
 }

 .editor-btn-secondary {
     background: #6c757d;
     color: white
 }

 .editor-btn-secondary:hover {
     background: #5a6268
 }

 @media (max-width:1200px) {
     .editor-editor-preview-container {
         flex-direction: column
     }

     .editor-hero {
         flex-direction: column
     }

     .editor-hero-image {
         order: -1;
         margin-bottom: 20px
     }
 }

 @media (max-width:768px) {
     .editor-banner-btn-group-hhjnn9 {
         flex-direction: column
     }

     .editor-btn-container {
         flex-direction: column
     }
 }

 .editor-blog-preview-container img {
     width: 100%;
     max-width: 600px;
     max-height: 400px;
     object-fit: cover
 }

 .editor-blog-container {
     max-width: 1400px;
     margin: 0 auto;
     display: flex;
     flex-direction: column;
     gap: 30px
 }

 header {
     text-align: center;
     padding: 25px;
     background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
     border-radius: 15px;
     color: white;
     box-shadow: 0 8px 25px rgba(0, 0, 0, .15)
 }

 header h1 {
     font-size: 2.8rem;
     margin-bottom: 15px
 }

 header p {
     font-size: 1.2rem;
     opacity: .9
 }

 .editor-blog-editor-preview-container {
     display: flex;
     flex-direction: column;
     gap: 30px
 }

 .editor-blog-editor-form {
     flex: 1;
     background: white;
     border-radius: 15px;
     padding: 30px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, .1)
 }

 .editor-blog-preview-section {
     flex: 1;
     background: white;
     border-radius: 15px;
     padding: 30px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, .1)
 }

 .editor-blog-section-title {
     font-size: 1.8rem;
     color: #2c3e50;
     margin-bottom: 25px;
     padding-bottom: 15px;
     border-bottom: 2px solid #eaeaea;
     display: flex;
     align-items: center;
     gap: 15px
 }

 .editor-blog-section-title i {
     color: #4b6cb7;
     background: #eef4ff;
     width: 45px;
     height: 45px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center
 }

 .editor-blog-form-group {
     margin-bottom: 25px
 }

 .editor-blog-form-group label {
     display: block;
     margin-bottom: 10px;
     font-weight: 600;
     color: #2c3e50;
     font-size: 1.1rem
 }

 .editor-blog-form-control {
     width: 100%;
     padding: 14px 18px;
     border: 1px solid #ddd;
     border-radius: 10px;
     font-size: 1.05rem;
     transition: all .3s
 }

 .editor-blog-form-control:focus {
     border-color: #4b6cb7;
     box-shadow: 0 0 0 4px rgba(75, 108, 183, .2);
     outline: none
 }

 #editor {
     height: 400px;
     background: white;
     border: 1px solid #ddd;
     border-radius: 10px;
     margin-bottom: 20px
 }

 .ql-toolbar.ql-snow {
     border-radius: 10px 10px 0 0;
     border: 1px solid #ddd
 }

 .ql-container.ql-snow {
     border-radius: 0 0 10px 10px;
     border: 1px solid #ddd
 }

 .editor-blog-btn-group {
     background: #f8f9fa;
     border-radius: 10px;
     padding: 20px;
     border: 1px dashed #dee2e6;
     margin-bottom: 25px
 }

 .editor-blog-btn-group-title {
     font-size: 1.3rem;
     margin-bottom: 15px;
     color: #4b6cb7
 }

 .editor-blog-format-buttons {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
     margin-bottom: 20px
 }

 .editor-blog-format-btn {
     padding: 10px 18px;
     background: #4b6cb7;
     color: white;
     border: none;
     border-radius: 8px;
     font-weight: 500;
     cursor: pointer;
     transition: all .3s;
     display: flex;
     align-items: center;
     gap: 8px
 }

 .editor-blog-format-btn:hover {
     background: #3a5795;
     transform: translateY(-3px)
 }

 .editor-blog-teacher-select {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 15px;
     margin-top: 15px
 }

 .editor-blog-teacher-option {
     display: flex;
     align-items: center;
     gap: 12px;
     padding: 12px;
     border: 2px solid #e0e0e0;
     border-radius: 10px;
     cursor: pointer;
     transition: all .3s
 }

 .editor-blog-teacher-option:hover,
 .editor-blog-teacher-option.editor-blog-selected {
     border-color: #4b6cb7;
     background: #f0f4ff
 }

 .editor-blog-teacher-option img {
     width: 60px;
     height: 60px;
     border-radius: 50%;
     object-fit: cover;
     border: 2px solid #e0e0e0
 }

 .editor-blog-teacher-name {
     font-weight: 500;
     font-size: 1.1rem
 }

 .editor-blog-preview-container {
     border-radius: 12px;
     margin-top: 15px;
     min-height: 500px
 }

 .card-blog-blog {
     background: -webkit-radial-gradient(circle, #fff 0, #b3daff 100%) !important;
     box-shadow: 1px 1px 9px -1px #b3daff
 }

 .ql-syntax {
     padding: 20px
 }

 .editor-blog-preview-title {
     text-align: center;
     margin-bottom: 30px;
     color: #4b6cb7;
     font-size: 1.5rem;
     padding: 10px;
     background: #eef4ff;
     border-radius: 8px
 }

 .editor-blog-blog-preview {
     background: white;
     border-radius: 12px;
     padding: 30px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, .05)
 }

 .editor-blog-post-meta {
     display: flex;
     align-items: center;
     gap: 15px;
     margin: 20px 0;
     padding-bottom: 20px;
     border-bottom: 1px solid #eee
 }

 .editor-blog-avatar {
     width: 40px;
     height: 40px;
     border-radius: 50%;
     overflow: hidden;
     flex-shrink: 0;
     border: 2px solid #4b6cb7
 }

 .editor-blog-avatar img {
     width: 100%;
     height: 100%;
     object-fit: cover
 }

 .editor-blog-author-info {
     display: flex;
     flex-direction: column
 }

 .editor-blog-author-name {
     font-weight: 600;
     color: #2c3e50
 }

 .editor-blog-year {
     color: #6c757d;
     font-size: .9rem
 }

 .editor-blog-p1-home {
     margin: 20px 0;
     color: #444;
     line-height: 1.8;
     font-size: 1.1rem
 }

 .editor-blog-code-container {
     position: relative;
     background: #282c34;
     color: #abb2bf;
     border-radius: 8px;
     padding: 25px;
     margin: 25px 0;
     overflow-x: auto
 }

 .editor-blog-copy-btn {
     position: absolute;
     top: 10px;
     right: 10px;
     background: #3a3f4b;
     color: white;
     border: none;
     padding: 8px 15px;
     border-radius: 6px;
     cursor: pointer;
     font-size: .9rem;
     transition: background .2s
 }

 .editor-blog-copy-btn:hover {
     background: #4d535f
 }

 #preview-blog-content pre {
     background: #282c34 !important;
     color: #abb2bf !important;
     border-radius: 8px !important;
     padding: 20px !important;
     overflow-x: auto !important;
     font-size: 14px !important;
     border: none !important;
     box-shadow: none !important;
     margin: 20px 0 !important
 }

 pre {
     background: #282c34;
     color: #abb2bf;
     border-radius: 8px;
     padding: 20px;
     overflow-x: auto;
     font-size: 14px;
     border: none;
     margin: 20px 0
 }

 pre code {
     background: transparent;
     padding: 0;
     color: inherit
 }

 #preview-blog-content pre code {
     background: transparent !important;
     padding: 0 !important;
     color: inherit !important
 }

 #preview-blog-content .editor-blog-code-container pre {
     margin: 0 !important
 }

 .editor-blog-actions {
     display: flex;
     justify-content: flex-end;
     gap: 20px;
     margin-top: 30px
 }

 .editor-blog-btn {
     padding: 14px 28px;
     border-radius: 10px;
     font-weight: 600;
     cursor: pointer;
     transition: all .3s;
     border: none;
     font-size: 1.1rem;
     display: flex;
     align-items: center;
     gap: 10px
 }

 .editor-blog-btn-primary {
     background: linear-gradient(135deg, #4b6cb7, #3a5795);
     color: white
 }

 .editor-blog-btn-primary:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 20px rgba(75, 108, 183, .3)
 }

 .editor-blog-btn-secondary {
     background: #6c757d;
     color: white
 }

 .editor-blog-btn-secondary:hover {
     background: #5a6268
 }

 .editor-blog-post-meta-icons {
     display: flex;
     gap: 20px;
     margin: 15px 0;
     padding: 10px 0;
     list-style: none
 }

 .editor-blog-post-meta-icons li {
     display: flex;
     align-items: center;
     gap: 8px;
     color: #6c757d;
     font-size: .95rem
 }

 .editor-blog-post-meta-icons i {
     color: #4b6cb7
 }

 .editor-blog-custom-toolbar {
     display: flex;
     gap: 5px;
     margin-bottom: 10px;
     flex-wrap: wrap
 }

 .editor-blog-custom-toolbar button {
     background: #f1f3f5;
     border: 1px solid #dee2e6;
     padding: 8px 12px;
     border-radius: 5px;
     cursor: pointer;
     display: flex;
     align-items: center;
     gap: 5px;
     transition: all .2s
 }

 .editor-blog-custom-toolbar button:hover {
     background: #e9ecef
 }

 .editor-blog-teacher-dropdown {
     position: relative;
     display: inline-block
 }

 .editor-blog-teacher-dropdown-content {
     display: none;
     position: absolute;
     background-color: white;
     min-width: 250px;
     box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2);
     z-index: 1;
     border-radius: 8px;
     overflow: hidden;
     max-height: 300px;
     overflow-y: auto
 }

 .editor-blog-teacher-dropdown-content a {
     color: #333;
     padding: 12px 16px;
     text-decoration: none;
     display: flex;
     align-items: center;
     gap: 10px;
     transition: background .2s
 }

 .editor-blog-teacher-dropdown-content a:hover {
     background-color: #f1f5f9
 }

 .editor-blog-teacher-dropdown-content img {
     width: 30px;
     height: 30px;
     border-radius: 50%;
     object-fit: cover
 }

 .editor-blog-teacher-dropdown:hover .editor-blog-teacher-dropdown-content {
     display: block
 }

 @media (max-width:1200px) {
     .editor-blog-editor-preview-container {
         flex-direction: column
     }
 }

 @media (max-width:768px) {
     .editor-blog-teacher-select {
         grid-template-columns: 1fr
     }

     .editor-blog-format-buttons {
         flex-direction: column
     }

     .editor-blog-format-btn {
         width: 100%;
         justify-content: center
     }

     header h1 {
         font-size: 2.2rem
     }

     .editor-blog-custom-toolbar {
         flex-direction: column
     }
 }

 .editor-blog-toast {
     position: fixed;
     bottom: 20px;
     right: 20px;
     padding: 12px 20px;
     background: #4CAF50;
     color: white;
     border-radius: 8px;
     box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
     opacity: 0;
     transition: opacity .3s, transform .3s;
     transform: translateY(20px);
     z-index: 1000
 }

 .editor-blog-toast.editor-blog-show {
     opacity: 1;
     transform: translateY(0)
 }

 table {
     width: 100%;
     border-collapse: collapse;
     margin: 20px 0;
     background: white;
     border-radius: 8px;
     overflow: hidden;
     box-shadow: 0 0 10px rgba(0, 0, 0, .05)
 }

 th {
     background: #4b6cb7;
     color: white;
     padding: 12px 15px;
     text-align: left
 }

 td {
     padding: 12px 15px;
     border-bottom: 1px solid #eee
 }

 tr:nth-child(even) {
     background: #f8f9fa
 }

 tr:hover {
     background: #eef4ff
 }

 .meta-heading {
     font-size: 20px;
     font-weight: bold;
     margin-bottom: 15px;
     color: #007bff;
     border-bottom: 2px solid #007bff;
     display: inline-block;
     padding-bottom: 5px
 }

 .meta-input-boxes {
     background: #fff;
     border-radius: 12px;
     padding: 20px;
     box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
     max-width: 1350px;
     border: 1px solid #e0e0e0
 }

 .meta-field {
     margin-bottom: 18px
 }

 .meta-field label {
     display: block;
     margin-bottom: 6px;
     font-weight: 600;
     font-size: 14px;
     color: #333
 }

 .meta-field label i {
     margin-right: 6px;
     color: #007bff
 }

 .meta-field input {
     width: 100%;
     padding: 10px 12px;
     border-radius: 8px;
     border: 1px solid #ccc;
     font-size: 14px;
     background-color: #fafafa;
     transition: all .2s ease-in-out
 }

 .meta-field input:focus {
     outline: none;
     border-color: #007bff;
     background-color: #fff;
     box-shadow: 0 0 8px rgba(0, 123, 255, .25)
 }