    <style>
        /* Reset cơ bản & Box Sizing */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Krub', sans-serif;
            background-color: #1a1a1a;
            color: #d1d5db;
            line-height: 1.6;
            height: 100vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        body.tintuc-detail-page {
            height: 100vh;
            overflow: hidden;
        }

        body.tintuc-detail-page .container-custom {
            overflow: auto;
        }

        /* Container */
        .container-custom {
            width: 100%;
            padding-right: 1rem;
            padding-left: 1rem;
            margin-right: auto;
            margin-left: auto;
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
            padding-bottom: 1rem;
        }

        @media (min-width: 640px) {
            .container-custom {
                max-width: 640px;
            }
        }

        @media (min-width: 768px) {
            .container-custom {
                max-width: 768px;
            }
        }

        @media (min-width: 1024px) {
            .container-custom {
                max-width: 1024px;
            }
        }

        @media (min-width: 1280px) {
            .container-custom {
                max-width: 1280px;
            }
        }

   


        /* Main Content Layout */
        .main-content-wrapper {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            flex: 1;
            min-height: 0;
            overflow: hidden;
            padding-top: 1.5rem;
            margin-top: 0;
        }

        @media (min-width: 768px) {
            .main-content-wrapper {
                flex-direction: row;
            }

            .sidebar-custom {
                width: 300px;
                flex-shrink: 0;
            }

            .content-area-custom {
                flex: 1;
                min-width: 0;
            }
        }

        /* Sidebar */
        .sidebar-custom {
            width: 100%;
            background-color: #232323;
            padding: 1.5rem;
            border-radius: 0.5rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            min-height: 0;
            max-height: 100%;
            overflow-y: auto;
            position: relative;
        }

        .sidebar-content {
            height: 100%;
            overflow-y: auto;
            overflow-x: visible;
        }

        @media (min-width: 768px) {
            .sidebar-custom {
                width: 33.333333%;
            }
        }

        @media (min-width: 1024px) {
            .sidebar-custom {
                width: 25%;
            }
        }

        /* Content Area */
        .content-area-custom {
            width: 100%;
            background-color: #232323;
            padding: 1.5rem;
            border-radius: 0.5rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
            max-height: 100%;
            overflow-y: auto;
        }

        .news-content {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            flex: 1;
            min-height: 0;
        }

        /* Custom scrollbar for content area */
        .content-area-custom::-webkit-scrollbar {
            width: 8px;
        }

        .content-area-custom::-webkit-scrollbar-track {
            background: #1a1a1a;
        }

        .content-area-custom::-webkit-scrollbar-thumb {
            background: #333;
            border-radius: 4px;
        }

        .content-area-custom::-webkit-scrollbar-thumb:hover {
            background: #444;
        }

        @media (min-width: 768px) {
            .content-area-custom {
                width: 66.666667%;
            }
        }

        @media (min-width: 1024px) {
            .content-area-custom {
                width: 75%;
            }
        }

        /* Tiêu đề */
        .main-title {
            font-size: 1.875rem;
            line-height: 2.25rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 2rem;
        }

        .sidebar-title {
            font-size: 1.25rem;
            line-height: 1.75rem;
            font-weight: 600;
            color: #ffffff;
            margin: 0;
            padding: 0;
        }

        .content-title {
            font-size: 1.5rem;
            line-height: 2rem;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid #1f2937;
            padding-bottom: 0.75rem;
        }
  /* Navigation */
  .bg-light-dark {
            background-color: #1a1a1a
        }

  .nav-container {
            max-width: 80rem;
            margin-left: auto;
            margin-right: auto;
            padding-left: 1rem;
            padding-right: 1rem;
        }

        .nav-flex {
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-height: 4rem;
            height: auto;
            padding: 0.5rem 0;
        }

        .nav-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .nav-buttons {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .nav-buttons a,
        .nav-buttons button {
            text-decoration: none;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .vip-button {
            background-color: #7c3aed;
            transition: all 0.3s ease;
        }

        /* Mobile Menu Styles */
        #mobileMenu {
            transition: all 0.3s ease-in-out;
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            display: none;
        }

        #mobileMenu.show {
            max-height: 500px;
            opacity: 1;
            display: block;
        }

        #mobileMenu a,
        #mobileMenu button {
            transition: all 0.2s ease;
            border-radius: 0.375rem;
        }

        #mobileMenu a:hover,
        #mobileMenu button:hover {
            background-color: rgba(255, 255, 255, 0.1);
            transform: translateX(5px);
        }

        /* Mobile menu button animation */
        .mobile-menu-button {
            transition: all 0.2s ease;
            background: transparent !important;
            border: none !important;
            outline: none !important;
        }

        .mobile-menu-button:hover {
            transform: scale(1.05);
            background: transparent !important;
            border: none !important;
        }

        .mobile-menu-button:focus {
            outline: none !important;
            box-shadow: none !important;
        }

        /* Force responsive behavior */
        @media (max-width: 1023px) {
            /* Hide all desktop navigation buttons */
            .nav-buttons.hidden.lg\\:flex {
                display: none !important;
                visibility: hidden !important;
                opacity: 0 !important;
                position: absolute !important;
                left: -9999px !important;
            }
            
            /* Hide any other navigation buttons that might be visible */
            .nav-buttons:not(.mobile-menu-container) {
                display: none !important;
                visibility: hidden !important;
                opacity: 0 !important;
            }
            
            /* Show mobile elements */
            .lg\\:hidden {
                display: block !important;
                visibility: visible !important;
                opacity: 1 !important;
            }
            
            /* Hide any navigation links that might be showing */
            .nav-content > a,
            .nav-content > button {
                display: none !important;
            }
            
            /* Hide all navigation buttons except mobile menu */
            .nav-buttons {
                display: none !important;
            }
            
            /* Only show mobile menu container */
            .nav-content > .mobile-menu-container,
            .mobile-menu-container {
                display: flex !important;
            }
            
            /* Hide all other navigation elements */
            .nav-content > *:not(.mobile-menu-container) {
                display: none !important;
            }
            
            /* Ensure mobile menu button is visible */
            .mobile-menu-container {
                display: flex !important;
                width: 100% !important;
                justify-content: center !important;
                visibility: visible !important;
                opacity: 1 !important;
                flex: 1 !important;
            }
            
            /* Make mobile menu button take full width */
            .mobile-menu-container button {
                width: 90% !important;
                max-width: 90% !important;
                background: transparent !important;
                border: none !important;
                outline: none !important;
            }
        }

        @media (min-width: 1024px) {
            /* Hide mobile elements on desktop */
            .lg\\:hidden {
                display: none !important;
                visibility: hidden !important;
                opacity: 0 !important;
            }
            
            /* Show desktop navigation */
            .nav-buttons.hidden.lg\\:flex {
                display: flex !important;
                visibility: visible !important;
                opacity: 1 !important;
                position: static !important;
                left: auto !important;
            }
            
            /* Hide mobile menu button on desktop */
            .mobile-menu-container {
                display: none !important;
                visibility: hidden !important;
                opacity: 0 !important;
            }
        }

        /* Responsive adjustments */
        @media (max-width: 640px) {
            .nav-flex {
                padding: 0.5rem 0;
            }

            .nav-content {
                gap: 0.5rem;
            }

            .nav-buttons {
                gap: 0.5rem;
            }

            .nav-buttons a,
            .nav-buttons button {
                font-size: 0.875rem;
                padding: 0.5rem 0.75rem;
            }
        }

        @media (min-width: 641px) {
            .nav-flex {
                padding: 0.75rem 0;
            }

            .nav-content {
                gap: 0.75rem;
            }

            .nav-buttons {
                gap: 0.75rem;
            }

            .nav-buttons a,
            .nav-buttons button {
                font-size: 0.875rem;
                padding: 0.5rem 1rem;
            }
        }

       
        /* News Card */
        .news-card {
            background-color: #1f2937;
            border-radius: 0.5rem;
            overflow: hidden;
            margin-bottom: 1.5rem;
            transition: transform 0.2s;
            position: relative;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .news-card:hover {
            transform: translateY(-2px);
        }

        a.news-card-link {
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
            flex: 1;
            min-height: 0;
            height: 100%;
        }

        .news-card > .news-actions {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            z-index: 2;
            background: rgba(17, 24, 39, 0.85);
            border-radius: 0.375rem;
            padding: 0.15rem;
        }

        .news-detail-wrap {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 1rem 3rem;
        }

        .news-detail-back {
            margin: 0 0 1.25rem;
        }

        .news-back-link {
            color: #93c5fa;
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .news-back-link:hover {
            color: #bfdbfe;
        }

        .news-article-title {
            font-size: 1.75rem;
            font-weight: 700;
            color: #fff;
            line-height: 1.35;
            margin: 0 0 0.75rem;
        }

        .news-article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            color: #9ca3af;
            font-size: 0.9rem;
            margin-bottom: 1.25rem;
        }

        .news-detail-cover {
            width: 100%;
            border-radius: 0.5rem;
            overflow: hidden;
            margin-bottom: 1.5rem;
            background: #1f2937;
        }

        .news-detail-cover-img {
            width: 100%;
            max-height: 420px;
            object-fit: cover;
            display: block;
        }

        .news-article-content.prose {
            color: #d1d5db;
        }

        .news-article-content.prose strong {
            color: #ffffff;
        }

        .news-article-content.prose a {
            color: #60a5fa;
        }

        .news-article-content.prose img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0.75rem auto;
            border-radius: 0.375rem;
        }

        .news-article-content.prose iframe,
        .news-article-content.prose video {
            max-width: 100%;
            width: 100%;
            border: 0;
            border-radius: 0.5rem;
        }

        .news-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            flex-shrink: 0;
        }

        .news-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 0.75rem;
        }

        .news-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #ffffff;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 3rem;
            flex: 1;
            word-break: break-word;
        }

        .news-actions {
            display: flex;
            gap: 0.5rem;
            flex-shrink: 0;
        }

        .news-actions button {
            padding: 0.5rem;
            color: #9ca3af;
            transition: color 0.2s;
        }

        .news-actions button:hover {
            color: #ffffff;
        }

        .news-actions button.delete-btn:hover {
            color: #ef4444;
        }

        .news-excerpt {
            color: #9ca3af;
            margin-bottom: 1rem;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            color: #6b7280;
            font-size: 0.875rem;
            margin-top: auto;
            padding-top: 1rem;
            border-top: 1px solid #1f2937;
        }

        .news-date {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Style cho nút danh mục */
        .news-category {
            padding: 0.25rem 0.75rem;
            color: #ffffff;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.025em;
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
        }

        .news-category .material-symbols-outlined {
            font-size: 1rem;
            font-variation-settings: 'FILL' 1;
        }

        .news-card[data-status="0"] .news-category {
            background-color: rgb(47, 50, 54);
        }

        .news-card[data-status="1"] .news-category {
            background-color: rgb(50, 117, 75);
        }

        .news-card[data-status="2"] .news-category {
            background-color: rgb(218, 135, 46);
        }

        .news-card[data-status="3"] .news-category {
            background-color: rgb(194, 85, 85);
        }

        /* Category hover effect */
        .category-item {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }

        .category-link {
            flex: 1;
            font-weight: 600;
            padding: 0.5rem 0.75rem;
            transition: all 0.2s;
            border-radius: 0.375rem;
            display: block;
            color: #d1d5db;
        }

        .category-link:hover {
            background-color: #1f2937;
            color: #ffffff;
        }

        .category-actions {
            display: flex;
            align-items: center;
            margin-left: 0.5rem;
            opacity: 0;
            transition: opacity 0.2s;
        }

        .category-item:hover .category-actions {
            opacity: 1;
        }

        .edit-category-btn {
            color: #9ca3af;
            transition: color 0.2s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2.5rem;
            height: 2.5rem;
        }

        .edit-category-btn:hover {
            color: #ffffff;
        }

        .edit-category-btn svg {
            width: 1.5rem;
            height: 1.5rem;
        }

        .category-description {
            display: none;
            position: absolute;
            bottom: 100%;
            left: 0;
            background-color: #1a1a1a;
            color: #d1d5db;
            padding: 0.75rem;
            border-radius: 0.375rem;
            margin-bottom: 0.5rem;
            width: 200px;
            z-index: 1000;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            font-size: 0.875rem;
            line-height: 1.25rem;
        }

        .category-description::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 20px;
            border-width: 6px;
            border-style: solid;
            border-color: #1a1a1a transparent transparent transparent;
        }

        .category-item:hover .category-description {
            display: block;
        }

        /* Style cho trình soạn thảo */
        .editor-toolbar {
            display: flex;
            gap: 8px;
            padding: 8px;
            background: #1f2937;
            border: 1px solid #4b5563;
            border-radius: 4px 4px 0 0;
            flex-wrap: wrap;
            align-items: center;
        }

        .toolbar-divider {
            width: 1px;
            height: 24px;
            background-color: #4b5563;
            margin: 0 4px;
        }

        .editor-toolbar button {
            padding: 6px 10px;
            background: #4b5563;
            border: none;
            border-radius: 4px;
            color: white;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 14px;
            min-width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .editor-toolbar button:hover {
            background: #6b7280;
        }

        .editor-toolbar select {
            padding: 6px 10px;
            background: #4b5563;
            border: none;
            border-radius: 4px;
            color: white;
            cursor: pointer;
            font-size: 14px;
            height: 36px;
            min-width: 120px;
        }

        /* Style cho toolbar color */
        .editor-toolbar input[type="color"] {
            width: 40px;
            height: 40px;
            padding: 2px;
            border: 1px solid #4b5563;
            border-radius: 4px;
            cursor: pointer;
            background: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 9999;
        }

        .editor-toolbar input[type="color"]::-webkit-color-swatch-wrapper {
            padding: 0;
        }

        .editor-toolbar input[type="color"]::-webkit-color-swatch {
            border: none;
            border-radius: 2px;
        }

        .editor-toolbar input[type="color"]::-moz-color-swatch {
            border: none;
            border-radius: 2px;
        }

        .editor-area {
            min-height: 300px;
            height: auto;
            overflow-y: auto;
            padding: 20px;
            background: #1f2937;
            border: 1px solid #4b5563;
            border-top: none;
            border-radius: 0 0 4px 4px;
            color: white;
            outline: none;
            font-size: 16px;
            line-height: 1.6;
        }

        .editor-area:focus {
            border-color: #6b7280;
        }

        .editor-area[data-status="0"] {
            background: rgb(47, 50, 54);
        }

        .editor-area[data-status="1"] {
            background: rgb(50, 117, 75);
        }

        .editor-area[data-status="2"] {
            background: rgb(218, 135, 46);
        }

        .editor-area[data-status="3"] {
            background: rgb(194, 85, 85);
        }

        /* Style cho container video */
        .youtube-video-container {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
            max-width: 100%;
            margin: 1rem 0;
            background: #000;
            border-radius: 8px;
            isolation: isolate;
        }

        .youtube-video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
            z-index: 1;
        }

        /* Style cho bảng trong editor */
        .editor-area table {
            border-collapse: collapse;
            width: 100%;
            margin: 10px 0;
        }

        .editor-area table td,
        .editor-area table th {
            border: 1px solid #4b5563;
            padding: 8px;
        }

        .editor-area table th {
            background-color: #1f2937;
        }

        /* Style cho color picker */
        .color-picker {
            position: absolute;
            top: 100%;
            left: 0;
            background: #1f2937;
            border: 1px solid #4b5563;
            border-radius: 4px;
            padding: 8px;
            z-index: 1000;
            min-width: 200px;
        }

        .color-picker-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            color: white;
        }

        .color-picker-header button {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            padding: 4px;
        }

        .color-palette {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
        }

        .color-item {
            width: 100%;
            padding-bottom: 100%;
            border-radius: 4px;
            cursor: pointer;
            transition: transform 0.2s;
            position: relative;
        }

        .color-item:hover {
            transform: scale(1.1);
        }

        .color-item.custom-color {
            background: #4b5563;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .color-item.custom-color i {
            color: white;
            font-size: 16px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .custom-color-input {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 9999;
            width: 0;
            height: 0;
            opacity: 0;
            padding: 0;
            border: none;
            margin: 0;
        }

        .custom-color-input::-webkit-color-swatch-wrapper {
            padding: 0;
        }

        .custom-color-input::-webkit-color-swatch {
            border: none;
        }

        .custom-color-input::-moz-color-swatch {
            border: none;
        }

        /* Style cho color picker tùy chỉnh */
        .custom-color-picker {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: #1f2937;
            border: 1px solid #4b5563;
            border-radius: 8px;
            padding: 16px;
            z-index: 99999;
            width: 300px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

        .custom-color-picker-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
            color: white;
        }

        .custom-color-picker-header button {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            padding: 4px;
        }

        .custom-color-picker-body {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .color-picker-saturation {
            position: relative;
            width: 100%;
            height: 150px;
            background: linear-gradient(to right, white, transparent),
                linear-gradient(to top, black, transparent);
            border-radius: 4px;
            cursor: crosshair;
        }

        .color-picker-hue {
            width: 100%;
            height: 20px;
            background: linear-gradient(to right,
                    #ff0000,
                    #ffff00,
                    #00ff00,
                    #00ffff,
                    #0000ff,
                    #ff00ff,
                    #ff0000);
            border-radius: 4px;
            cursor: pointer;
        }

        .color-picker-alpha {
            width: 100%;
            height: 20px;
            background: linear-gradient(to right, transparent, #000);
            border-radius: 4px;
            cursor: pointer;
        }

        .color-picker-inputs {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
        }

        .color-picker-input-group {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .color-picker-input-group label {
            color: #9ca3af;
            font-size: 12px;
        }

        .color-picker-input-group input {
            width: 100%;
            padding: 4px;
            background: #1f2937;
            border: 1px solid #4b5563;
            border-radius: 4px;
            color: white;
            font-size: 14px;
        }

        .color-picker-preview {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .color-picker-preview-current {
            width: 40px;
            height: 40px;
            border-radius: 4px;
            border: 1px solid #4b5563;
        }

        .color-picker-preview-new {
            width: 40px;
            height: 40px;
            border-radius: 4px;
            border: 1px solid #4b5563;
        }

        .color-picker-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 8px;
            margin-top: 16px;
        }

        .color-picker-buttons button {
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 500;
        }

        .color-picker-buttons .cancel {
            background: #4b5563;
            color: white;
            border: none;
        }

        .color-picker-buttons .apply {
            background: #3b82f6;
            color: white;
            border: none;
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin-top: 2rem;
        }

        .pagination .page-item {
            list-style: none;
        }

        .pagination .page-link {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 2.5rem;
            height: 2.5rem;
            padding: 0 0.75rem;
            background-color: #1a1a1a;
            border: 1px solid #1a1a1a;
            border-radius: 0.375rem;
            color: #d1d5db;
            font-size: 0.875rem;
            transition: all 0.2s;
        }

        .pagination .page-link:hover {
            background-color: #1f2937;
            border-color: #4b5563;
            color: #ffffff;
        }

        .pagination .active .page-link {
            background-color: #3b82f6;
            border-color: #3b82f6;
            color: #ffffff;
        }

        .pagination .disabled .page-link {
            background-color: #1f2937;
            border-color: #1f2937;
            color: #6b7280;
            cursor: not-allowed;
        }

        .news-views {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .news-views svg {
            width: 1rem;
            height: 1rem;
            flex-shrink: 0;
        }

        /* Modal chi tiết bài viết */
        #blogDetailModal .fixed.top-1\/2.left-1\/2 {
            background-color: #1f2937;
            max-height: 90vh;
            overflow-y: auto;
        }

        #blogDetailModal .prose {
            color: #d1d5db;
            max-height: 60vh;
            overflow-y: auto;
            padding-right: 1rem;
        }

        #blogDetailModal .prose::-webkit-scrollbar {
            width: 8px;
        }

        #blogDetailModal .prose::-webkit-scrollbar-track {
            background: #1f2937;
            border-radius: 4px;
        }

        #blogDetailModal .prose::-webkit-scrollbar-thumb {
            background: #4b5563;
            border-radius: 4px;
        }

        #blogDetailModal .prose::-webkit-scrollbar-thumb:hover {
            background: #6b7280;
        }

        #blogDetailModal .prose strong {
            color: #ffffff;
        }

        #blogDetailModal .prose a {
            color: #60a5fa;
        }

        #blogDetailModal .prose a:hover {
            color: #93c5fd;
        }

        #blogDetailModal .prose ul {
            list-style: none !important;
            padding-left: 2rem !important;
            margin: 1rem 0 !important;
        }

        #blogDetailModal .prose ul li {
            margin: 0.5rem 0 !important;
            color: #d1d5db !important;
            display: list-item !important;
            position: relative !important;
            padding-left: 1.5rem !important;
        }

        #blogDetailModal .prose ul li::before {
            content: "•" !important;
            color: #d1d5db !important;
            position: absolute !important;
            left: 0 !important;
            top: 0 !important;
        }

        #blogDetailModal .prose ol {
            list-style: none !important;
            padding-left: 3rem !important;
            margin: 1rem 0 !important;
            counter-reset: list-counter !important;
        }

        #blogDetailModal .prose ol li {
            margin: 0.5rem 0 !important;
            color: #d1d5db !important;
            display: list-item !important;
            position: relative !important;
            padding-left: 2.5rem !important;
            counter-increment: list-counter !important;
        }

        #blogDetailModal .prose ol li::before {
            content: counter(list-counter) "." !important;
            color: #d1d5db !important;
            position: absolute !important;
            left: 0 !important;
            top: 0 !important;
        }

        #blogDetailModal .prose blockquote {
            border-left-color: #4b5563;
            color: #9ca3af;
        }

        #blogDetailModal .prose hr {
            border-color: #4b5563;
        }

        #blogDetailModal .prose table {
            color: #d1d5db;
        }

        #blogDetailModal .prose table th {
            background-color: #1f2937;
            border-color: #4b5563;
        }

        #blogDetailModal .prose table td {
            border-color: #4b5563;
        }

        #blogDetailModal .prose code {
            color: #f3f4f6;
            background-color: #1f2937;
        }

        #blogDetailModal .prose pre {
            background-color: #1f2937;
            color: #f3f4f6;
        }

        #blogDetailModal .prose pre code {
            background-color: transparent;
        }
        
        /* Đảm bảo tất cả các thuộc tính HTML được hiển thị đầy đủ */
        #blogDetailModal .prose * {
            max-width: 100%;
            height: auto;
        }
        
        #blogDetailModal .prose img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 1rem auto;
        }
        
        #blogDetailModal .prose video {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 1rem auto;
        }
        
        #blogDetailModal .prose iframe {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 1rem auto;
        }
        
        #blogDetailModal .prose table {
            width: 100%;
            border-collapse: collapse;
            margin: 1rem 0;
        }
        
        #blogDetailModal .prose table th,
        #blogDetailModal .prose table td {
            padding: 0.5rem;
            border: 1px solid #4b5563;
            text-align: left;
        }
        
        #blogDetailModal .prose blockquote {
            margin: 1rem 0;
            padding: 1rem;
            border-left: 4px solid #4b5563;
            background-color: #1f2937;
        }
        
        /* Đảm bảo list styles được áp dụng đúng */
        #blogDetailModal .prose ul {
            list-style: none;
            padding-left: 2rem;
            margin: 1rem 0;
        }
        
        #blogDetailModal .prose ol {
            list-style: none;
            padding-left: 3rem;
            margin: 1rem 0;
            counter-reset: list-counter;
        }
        
        #blogDetailModal .prose li {
            margin: 0.5rem 0;
            color: #d1d5db;
            display: list-item;
            position: relative;
        }
        
        #blogDetailModal .prose ul li {
            padding-left: 1.5rem;
        }
        
        #blogDetailModal .prose ol li {
            padding-left: 2.5rem;
            counter-increment: list-counter;
        }
        
        /* Đảm bảo marker hiển thị đúng màu */
        #blogDetailModal .prose ul li::before {
            content: "•";
            color: #d1d5db;
            position: absolute;
            left: 0;
            top: 0;
        }
        
        #blogDetailModal .prose ol li::before {
            content: counter(list-counter) ".";
            color: #d1d5db;
            position: absolute;
            left: 0;
            top: 0;
        }
        
        /* Fallback cho các trình duyệt không hỗ trợ ::marker */
        #blogDetailModal .prose ul li {
            position: relative;
            padding-left: 1.5rem;
            list-style: none !important;
        }
        
        #blogDetailModal .prose ul li::before {
            content: "•";
            color: #d1d5db;
            position: absolute;
            left: 0;
            top: 0;
        }
        
        #blogDetailModal .prose ol li {
            position: relative;
            padding-left: 2.5rem;
            counter-increment: list-counter;
            list-style: none !important;
        }
        
        #blogDetailModal .prose ol {
            counter-reset: list-counter;
        }
        
        #blogDetailModal .prose ol li::before {
            content: counter(list-counter) ".";
            color: #d1d5db;
            position: absolute;
            left: 0;
            top: 0;
        }

        /* Style cho nút danh mục trong popup chi tiết */
        #blogDetailModal #detail_blog_category {
            padding: 0.25rem 0.75rem;
            color: #ffffff;
            border-radius: 9999px;
            font-size: 0.875rem;
            font-weight: 600;
            letter-spacing: 0.025em;
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
        }

        #blogDetailModal #detail_blog_category .material-symbols-outlined {
            font-size: 1.25rem;
            font-variation-settings: 'FILL' 1;
        }

        #blogDetailModal #detail_blog_category[data-status="0"] {
            background-color: rgb(47, 50, 54);
        }

        #blogDetailModal #detail_blog_category[data-status="1"] {
            background-color: rgb(50, 117, 75);
        }

        #blogDetailModal #detail_blog_category[data-status="2"] {
            background-color: rgb(218, 135, 46);
        }

        #blogDetailModal #detail_blog_category[data-status="3"] {
            background-color: rgb(194, 85, 85);
        }

        /* Modal thêm/sửa bài viết */
        #addBlogModal .fixed.top-1\/2.left-1\/2,
        #editBlogModal .fixed.top-1\/2.left-1\/2 {
            background-color: #1f2937;
        }

        #addBlogModal .editor-area,
        #editBlogModal .editor-area {
            background-color: #1f2937;
            color: #d1d5db;
        }

        #addBlogModal .editor-toolbar,
        #editBlogModal .editor-toolbar {
            background-color: #1f2937;
            border-color: #4b5563;
        }

        #addBlogModal .editor-toolbar button,
        #editBlogModal .editor-toolbar button {
            background-color: #1f2937;
            color: #d1d5db;
        }

        #addBlogModal .editor-toolbar button:hover,
        #editBlogModal .editor-toolbar button:hover {
            background-color: #4b5563;
            color: #ffffff;
        }

        #addBlogModal .editor-toolbar select,
        #editBlogModal .editor-toolbar select {
            background-color: #1f2937;
            color: #d1d5db;
            border-color: #4b5563;
        }

        #addBlogModal .editor-toolbar select:hover,
        #editBlogModal .editor-toolbar select:hover {
            background-color: #4b5563;
            color: #ffffff;
        }

        #addBlogModal input[type="text"],
        #addBlogModal input[type="number"],
        #addBlogModal textarea,
        #addBlogModal select,
        #editBlogModal input[type="text"],
        #editBlogModal input[type="number"],
        #editBlogModal textarea,
        #editBlogModal select {
            background-color: #1f2937;
            border-color: #4b5563;
            color: #d1d5db;
        }

        #addBlogModal input[type="text"]:focus,
        #addBlogModal input[type="number"]:focus,
        #addBlogModal textarea:focus,
        #addBlogModal select:focus,
        #editBlogModal input[type="text"]:focus,
        #editBlogModal input[type="number"]:focus,
        #editBlogModal textarea:focus,
        #editBlogModal select:focus {
            border-color: #60a5fa;
            background-color: #1f2937;
            color: #ffffff;
        }
        
        /* CSS cho lists trong editor thêm/sửa bài viết */
        #addBlogModal .editor-area ul,
        #editBlogModal .editor-area ul {
            list-style: none !important;
            padding-left: 2rem !important;
            margin: 1rem 0 !important;
        }
        
        #addBlogModal .editor-area ul li,
        #editBlogModal .editor-area ul li {
            margin: 0.5rem 0 !important;
            color: #d1d5db !important;
            display: list-item !important;
            position: relative !important;
            padding-left: 1.5rem !important;
        }
        
        #addBlogModal .editor-area ul li::before,
        #editBlogModal .editor-area ul li::before {
            content: "•" !important;
            color: #d1d5db !important;
            position: absolute !important;
            left: 0 !important;
            top: 0 !important;
        }
        
        #addBlogModal .editor-area ol,
        #editBlogModal .editor-area ol {
            list-style: none !important;
            padding-left: 3rem !important;
            margin: 1rem 0 !important;
            counter-reset: list-counter !important;
        }
        
        #addBlogModal .editor-area ol li,
        #editBlogModal .editor-area ol li {
            margin: 0.5rem 0 !important;
            color: #d1d5db !important;
            display: list-item !important;
            position: relative !important;
            padding-left: 2.5rem !important;
            counter-increment: list-counter !important;
        }
        
        #addBlogModal .editor-area ol li::before,
        #editBlogModal .editor-area ol li::before {
            content: counter(list-counter) "." !important;
            color: #d1d5db !important;
            position: absolute !important;
            left: 0 !important;
            top: 0 !important;
        }

        /* Thêm style cho thanh cuộn */
        .sidebar-custom::-webkit-scrollbar {
            width: 8px;
        }

        .sidebar-custom::-webkit-scrollbar-track {
            background: #1a1a1a;
            border-radius: 4px;
        }

        .sidebar-custom::-webkit-scrollbar-thumb {
            background: #4b5563;
            border-radius: 4px;
        }

        .sidebar-custom::-webkit-scrollbar-thumb:hover {
            background: #6b7280;
        }

       

        /* Navbar */
        .navbar-custom {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background-color: #232323;
            padding: 1rem;
            z-index: 1000;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        /* Style cho nút xóa video */
        .youtube-video-container,
        .video-embed-container {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
            max-width: 100%;
            margin: 1rem 0;
            background: #000;
            border-radius: 8px;
            isolation: isolate;
            transition: box-shadow 0.15s ease;
        }

        .editor-area img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0.75rem auto;
            border-radius: 0.5rem;
        }

        .editor-area .video-embed-block {
            position: relative;
            margin: 1.2rem 0 1rem;
        }

        .editor-area .video-embed-actions {
            position: absolute;
            top: -14px;
            left: 0;
            z-index: 20;
        }

        .editor-area .video-embed-block .video-embed-container,
        .editor-area .video-embed-block .youtube-video-container {
            margin-top: 10px;
        }

        .editor-area .video-embed-block:hover .video-embed-container,
        .editor-area .video-embed-block:hover .youtube-video-container,
        .editor-area .video-embed-block.is-selected .video-embed-container,
        .editor-area .video-embed-block.is-selected .youtube-video-container {
            box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.35);
        }

        .youtube-video-container iframe,
        .video-embed-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
            z-index: 1;
        }

        .delete-video {
            cursor: pointer;
            transition: all 0.2s;
            width: 34px;
            height: 34px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-radius: 9999px;
            background-color: #ef4444;
            color: #fff;
        }

        .editor-area .video-embed-actions .delete-video {
            display: inline-flex !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .delete-video:hover {
            transform: scale(1.1);
            background-color: #dc2626;
        }

        .news-article-content .delete-video {
            display: none;
        }

        /* Admin controls (tintuc admin CRUD) */
        .admin-buttons {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }

        .admin-button {
            padding: 0.25rem;
            border-radius: 0.25rem;
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.2s;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            background: transparent;
            color: #d1d5db;
        }

        .admin-button:hover {
            color: #fff;
            background-color: rgba(75, 85, 99, 0.6);
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            overflow-y: auto;
            padding: 20px;
        }

    </style>
