.release-notes-modal-content {
    color: rgb(212 212 216);
    line-height: 1.8;
    font-size: 0.95rem;
}

.release-notes-modal-content h1,
.release-notes-modal-content h2,
.release-notes-modal-content h3,
.release-notes-modal-content h4 {
    color: white;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.release-notes-modal-content h1 { font-size: 1.75rem; }
.release-notes-modal-content h2 { font-size: 1.45rem; }
.release-notes-modal-content h3 { font-size: 1.2rem; }
.release-notes-modal-content h4 { font-size: 1.05rem; }

.release-notes-modal-content p {
    margin: 0.85rem 0;
}

.release-notes-modal-content ul,
.release-notes-modal-content ol {
    margin: 1rem 0;
    padding-left: 1.4rem;
}

.release-notes-modal-content li {
    margin: 0.35rem 0;
}

.release-notes-modal-content strong {
    color: white;
    font-weight: 700;
}

.release-notes-modal-content em {
    color: rgb(228 228 231);
}

.release-notes-modal-content a {
    color: rgb(52 211 153);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.release-notes-modal-content blockquote {
    margin: 1.2rem 0;
    padding-left: 1rem;
    border-left: 4px solid rgba(16, 185, 129, 0.45);
    color: rgb(161 161 170);
}

.release-notes-modal-content code {
    background: rgba(255,255,255,0.06);
    color: rgb(244 244 245);
    padding: 0.15rem 0.45rem;
    border-radius: 0.45rem;
    font-size: 0.92em;
}

.release-notes-modal-content pre {
    background: rgb(24 24 27);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem;
    padding: 1rem;
    overflow-x: auto;
    margin: 1.25rem 0;
}

.release-notes-modal-content pre code {
    background: transparent;
    padding: 0;
}

.release-notes-modal-content hr {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 1.5rem 0;
}

.release-notes-modal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
}

.release-notes-modal-content th,
.release-notes-modal-content td {
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.7rem 0.85rem;
    text-align: left;
}

.release-notes-modal-content th {
    color: white;
    background: rgba(255,255,255,0.04);
}

.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 185, 129, 0.55) rgba(255,255,255,0.06);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 10px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.55);
    border-radius: 999px;
    border: 2px solid rgba(24,24,27,1);
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.75);
}

/* ======================================================
MANAGE RELEASES / EDITOR
====================================================== */

.EasyMDEContainer {
    border-radius: 1rem;
    overflow: hidden;
}

.editor-toolbar {
    background-color: rgb(24 24 27) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 0 !important;
    padding: 8px 10px !important;
}

.editor-toolbar::before,
.editor-toolbar::after {
    display: none !important;
}

.editor-toolbar a {
    color: rgb(161 161 170) !important;
    border: 0 !important;
    width: 32px;
    height: 32px;
    line-height: 32px !important;
    border-radius: 0.75rem !important;
}

.editor-toolbar a:hover,
.editor-toolbar a.active {
    background: rgba(255, 255, 255, 0.08) !important;
    color: white !important;
}

.editor-toolbar i.separator {
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin: 0 6px !important;
}

.EasyMDEContainer .CodeMirror {
    min-height: 160px !important;
    height: 160px !important;
    background-color: rgb(24 24 27) !important;
    color: rgb(244 244 245) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 0 1rem 1rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.95rem;
}

.EasyMDEContainer .CodeMirror-focused {
    border-color: rgba(16, 185, 129, 0.5) !important;
}

.EasyMDEContainer .CodeMirror-cursor {
    border-left: 1px solid white !important;
}

.EasyMDEContainer .CodeMirror-selected {
    background: rgba(16, 185, 129, 0.18) !important;
}

.editor-preview,
.editor-preview-side {
    background-color: rgb(24 24 27) !important;
    color: rgb(244 244 245) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1.25rem !important;
}

.editor-preview h1,
.editor-preview h2,
.editor-preview h3,
.editor-preview-side h1,
.editor-preview-side h2,
.editor-preview-side h3 {
    color: white;
}

.editor-preview p,
.editor-preview li,
.editor-preview blockquote,
.editor-preview-side p,
.editor-preview-side li,
.editor-preview-side blockquote {
    color: rgb(212 212 216);
}

.editor-preview a,
.editor-preview-side a {
    color: rgb(52 211 153);
}

.editor-statusbar {
    color: rgb(113 113 122) !important;
    padding-top: 0.5rem;
    font-size: 12px;
}

.editor-toolbar.fullscreen,
.CodeMirror-fullscreen,
.editor-preview-side {
    z-index: 999 !important;
}

/* =========================
   PRODUCT PAGE STYLES
========================= */
.resource-tabs {
    display: flex;
    align-items: center;
    gap: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.resource-tabs::-webkit-scrollbar {
    display: none;
}

.resource-tab-button {
    appearance: none;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: rgb(161 161 170);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0 0 1rem 0;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.resource-tab-button:hover {
    color: white;
}

.resource-tab-button-active {
    color: white;
    border-bottom-color: rgb(16 185 129);
}


.resource-tab-button {
    color: rgb(161 161 170);
    font-weight: 500;
    padding-bottom: 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.resource-tab-button:hover {
    color: white;
}

.resource-tab-button-active {
    color: white;
    border-bottom-color: rgb(16 185 129);
}

.resource-prose {
    color: rgb(212 212 216);
    line-height: 1.8;
    font-size: 1rem;
}

.resource-prose h1,
.resource-prose h2,
.resource-prose h3,
.resource-prose h4 {
    color: white;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 2rem;
    margin-bottom: 0.9rem;
}

.resource-prose h1 {
    font-size: 2rem;
}

.resource-prose h2 {
    font-size: 1.6rem;
}

.resource-prose h3 {
    font-size: 1.3rem;
}

.resource-prose h4 {
    font-size: 1.1rem;
}

.resource-prose p {
    margin: 1rem 0;
}

.resource-prose ul,
.resource-prose ol {
    margin: 1rem 0;
    padding-left: 1.4rem;
}

.resource-prose li {
    margin: 0.45rem 0;
}

.resource-prose strong {
    color: white;
    font-weight: 700;
}

.resource-prose em {
    color: rgb(228 228 231);
}

.resource-prose a {
    color: rgb(52 211 153);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.resource-prose blockquote {
    margin: 1.5rem 0;
    padding-left: 1rem;
    border-left: 4px solid rgba(16, 185, 129, 0.5);
    color: rgb(161 161 170);
}

.resource-prose code {
    background: rgba(255, 255, 255, 0.06);
    color: rgb(244 244 245);
    padding: 0.15rem 0.45rem;
    border-radius: 0.45rem;
    font-size: 0.92em;
}

.resource-prose pre {
    background: rgb(24 24 27);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1rem;
    overflow-x: auto;
    margin: 1.25rem 0;
}

.resource-prose pre code {
    background: transparent;
    padding: 0;
}

.resource-prose hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 2rem 0;
}

.resource-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    overflow: hidden;
    border-radius: 1rem;
}

.resource-prose th,
.resource-prose td {
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 0.9rem;
    text-align: left;
}

.resource-prose th {
    color: white;
    background: rgba(255, 255, 255, 0.04);
}

/* =========================
   EMERALD ADMIN SYSTEM
   Design System v2.1
========================= */

:root {
    --emerald-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.font-display { font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif; }

.text-gradient {
    background: var(--emerald-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass {
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* System Pulse Background */
.system-bg {
    position: fixed;
    inset: 0;
    z-index: -20;
    background-color: #09090b;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.system-glow {
    position: fixed;
    inset: 0;
    z-index: -19;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(16, 185, 129, 0.05), transparent 40%);
    pointer-events: none;
}

/* Admin Components */
.admin-card {
    background: #0d0d0f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
    position: relative;
}

.admin-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
}

.admin-card-no-padding {
    padding: 0 !important;
}

.admin-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.25rem;
    padding: 1.25rem 1.5rem;
    color: white;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.875rem;
    font-weight: 500;
}

.admin-input:focus {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.admin-btn-primary {
    background: var(--emerald-gradient);
    color: #064e3b;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.65rem;
    padding: 1.25rem 2.5rem;
    border-radius: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.4);
    filter: brightness(1.1);
}

.admin-btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.65rem;
    padding: 1.25rem 2.5rem;
    border-radius: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-2px);
}

.admin-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #64748b;
    margin-bottom: 0.75rem;
    margin-left: 0.25rem;
}

.admin-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23a1a1aa' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 3rem;
}

.admin-select option {
    background: #18181b;
    color: #ffffff;
}

/* Custom Scrollbar for Admin */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.2);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.4);
}

/* Sidebar Animation Logic */
body.admin-sidebar-collapsed main {
    margin-left: 120px !important;
}

body.admin-sidebar-collapsed .sidebar-header { justify-content: center; }
body.admin-sidebar-collapsed .sidebar-brand,
body.admin-sidebar-collapsed .sidebar-subtitle,
body.admin-sidebar-collapsed .sidebar-label,
body.admin-sidebar-collapsed .sidebar-user-text {
    display: none;
}
body.admin-sidebar-collapsed .sidebar-user { justify-content: center; }
body.admin-sidebar-collapsed .admin-sidebar-link { justify-content: center; padding-left: 0.75rem; padding-right: 0.75rem; }
body.admin-sidebar-collapsed .admin-sidebar-link i { margin: 0; }

body.admin-sidebar-collapsed .admin-collapsed-tooltip { opacity: 0; }
body.admin-sidebar-collapsed .group:hover .admin-collapsed-tooltip { opacity: 1; }

/* Toast System */
.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    width: 320px;
    padding: 1.25rem;
    border-radius: 1.5rem;
    background: rgba(24, 24, 27, 0.8);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: toast-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.3s ease;
}

@keyframes toast-in {
    from { transform: translateX(100%) scale(0.9); opacity: 0; }
    to { transform: translateX(0) scale(1); opacity: 1; }
}

.toast-out {
    transform: translateX(120%) scale(0.9);
    opacity: 0;
}

/* Command Palette */
.cmd-palette {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7);
}

.cmd-item:hover, .cmd-item.selected {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}
/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 3rem;
    height: 1.5rem;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2rem;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 0.85rem;
    width: 0.85rem;
    left: 0.25rem;
    bottom: 0.22rem;
    background-color: #64748b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
}

input:checked + .toggle-slider:before {
    transform: translateX(1.5rem);
    background-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

