:root{--theme-bg:#111827;--theme-input-bg:#374151;--theme-elevation-0:#1f2937;--theme-elevation-50:#374151;--theme-elevation-100:#4b5563;--theme-elevation-150:#6b7280;--theme-elevation-200:#9ca3af;--theme-elevation-300:#d1d5db;--theme-elevation-400:#e5e7eb;--theme-elevation-500:#f3f4f6;--theme-text:#f9fafb;--theme-text-dim:#d1d5db;--theme-success-50:#10b981;--theme-success-150:#047857;--theme-success-300:#065f46;--theme-success-500:#064e3b;--theme-warning-50:#f59e0b;--theme-warning-150:#d97706;--theme-warning-300:#b45309;--theme-warning-500:#92400e;--theme-error-50:#ef4444;--theme-error-150:#dc2626;--theme-error-300:#b91c1c;--theme-error-500:#991b1b;--theme-purple:#8b5cf6;--theme-blue:#3b82f6;--theme-pink:#ec4899}:root[data-theme=light]{--theme-bg:#fff;--theme-input-bg:#f3f4f6;--theme-elevation-0:#fff;--theme-elevation-50:#f9fafb;--theme-elevation-100:#f3f4f6;--theme-elevation-150:#e5e7eb;--theme-elevation-200:#d1d5db;--theme-elevation-300:#9ca3af;--theme-elevation-400:#6b7280;--theme-elevation-500:#374151;--theme-text:#111827;--theme-text-dim:#374151}.template--login{background:linear-gradient(135deg,#8b5cf6 0%,#3b82f6 50%,#ec4899 100%)!important}.login__wrapper{-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;background:#1f2937f2!important;border:1px solid #8b5cf64d!important;border-radius:12px!important}.payload-logo,.logo,[class*=logo],.logo-container,.header__logo{display:none!important}.nav__brand:before,.header__brand:before,.login__brand:before{content:"Fractal Learning CMS";background:linear-gradient(135deg,#8b5cf6,#3b82f6,#ec4899);-webkit-text-fill-color:#0000;-webkit-background-clip:text;background-clip:text;margin-right:1rem;font-size:24px;font-weight:700;line-height:1;display:inline-block}.logo-container:after,.header__logo:after,.nav__brand:after{content:"Fractal Learning CMS";background:linear-gradient(135deg,#8b5cf6,#3b82f6,#ec4899);-webkit-text-fill-color:#0000;-webkit-background-clip:text;background-clip:text;font-size:20px;font-weight:700;line-height:1;display:inline-block}.field-type--text input,.field-type--password input,.field-type--email input{background:var(--theme-elevation-50)!important;color:var(--theme-text)!important;border:1px solid #8b5cf64d!important}.field-type--text input:focus,.field-type--password input:focus,.field-type--email input:focus{border-color:var(--theme-purple)!important;box-shadow:0 0 0 3px #8b5cf61a!important}.btn--style-primary{background:linear-gradient(135deg, var(--theme-purple), var(--theme-blue))!important;color:#fff!important;border:none!important;border-radius:8px!important;font-weight:600!important}.btn--style-primary:hover{color:#fff!important;background:linear-gradient(135deg,#7c3aed,#2563eb)!important;transform:translateY(-1px)!important;box-shadow:0 4px 12px #8b5cf666!important}.nav{background:var(--theme-bg)!important;border-bottom:1px solid #8b5cf64d!important}.nav__list,.template--admin .doc-controls,.template--admin .list-controls{background:var(--theme-elevation-0)!important}.form-header{color:var(--theme-text)!important}.form-header h1{background:linear-gradient(135deg,#8b5cf6,#3b82f6,#ec4899)!important;-webkit-text-fill-color:#0000!important;text-align:center!important;-webkit-background-clip:text!important;background-clip:text!important;margin-bottom:1.5rem!important;font-size:2rem!important;font-weight:700!important}.field-label{color:var(--theme-text-dim)!important}.template--login,.template--login *{color:var(--theme-text)!important}.template--admin{background:var(--theme-bg)!important;color:var(--theme-text)!important}.template--admin .app-header{background:var(--theme-elevation-0)!important;border-bottom:1px solid #8b5cf64d!important}.template--admin .nav__wrap{background:var(--theme-elevation-0)!important}.table{background:var(--theme-elevation-0)!important;color:var(--theme-text)!important}.table th{background:var(--theme-elevation-50)!important;color:var(--theme-text)!important;border-bottom:1px solid #8b5cf64d!important}.table td{border-bottom:1px solid #8b5cf61a!important}.card{background:var(--theme-elevation-0)!important;color:var(--theme-text)!important;border:1px solid #8b5cf64d!important}.modal{background:#111827e6!important}.modal__content{background:var(--theme-elevation-0)!important;color:var(--theme-text)!important;border:1px solid #8b5cf64d!important}.nav__link{color:var(--theme-text-dim)!important}.nav__link:hover,.nav__link--active{color:var(--theme-purple)!important;background:#8b5cf61a!important}.form-field{background:var(--theme-elevation-0)!important;border:1px solid #8b5cf64d!important}.page-header{background:var(--theme-elevation-0)!important;border-bottom:1px solid #8b5cf64d!important}.collection-list--pages .list-header__title-actions a[aria-label="Create new Page"],.collection-list--pages .list-header__title-actions a[aria-label="Create new Page"] *,.collection-list--pages .list-header__title-actions a[href="/admin/collections/pages/create"],.collection-list--pages .list-header__title-actions a[href="/admin/collections/pages/create"] *,.collection-list--pages header.list-header .list-header__title-actions a.list-create-new-doc__create-new-button .btn__content .btn__label,body .collection-list--pages header.list-header .list-header__title-actions a.btn.list-create-new-doc__create-new-button.btn--style-pill>.btn__content>.btn__label,.collection-list--pages .list-header__title-actions a.list-create-new-doc__create-new-button,.collection-list--pages .list-header__title-actions a.list-create-new-doc__create-new-button *,.collection-list--pages .list-header__title-actions .btn.list-create-new-doc__create-new-button,.collection-list--pages .list-header__title-actions .btn.list-create-new-doc__create-new-button *{color:#fff!important;-webkit-text-fill-color:#fff!important}.upload{background:var(--theme-elevation-50)!important;border:2px dashed #8b5cf680!important}.upload:hover{border-color:var(--theme-purple)!important}.rich-text-editor{background:var(--theme-elevation-50)!important;color:var(--theme-text)!important;border:1px solid #8b5cf64d!important}.code-block{background:var(--theme-elevation-100)!important;border:1px solid #8b5cf64d!important}.pagination{background:var(--theme-elevation-0)!important}.pagination__btn{background:var(--theme-elevation-50)!important;color:var(--theme-text)!important;border:1px solid #8b5cf64d!important}.pagination__btn:hover{background:var(--theme-purple)!important;color:#fff!important}
