fix: Restore all files lost during destructive rebase

A previous `git pull --rebase origin main` dropped 177 local commits,
losing 3400+ files across admin-v2, backend, studio-v2, website,
klausur-service, and many other services. The partial restore attempt
(660295e2) only recovered some files.

This commit restores all missing files from pre-rebase ref 98933f5e
while preserving post-rebase additions (night-scheduler, night-mode UI,
NightModeWidget dashboard integration).

Restored features include:
- AI Module Sidebar (FAB), OCR Labeling, OCR Compare
- GPU Dashboard, RAG Pipeline, Magic Help
- Klausur-Korrektur (8 files), Abitur-Archiv (5+ files)
- Companion, Zeugnisse-Crawler, Screen Flow
- Full backend, studio-v2, website, klausur-service
- All compliance SDKs, agent-core, voice-service
- CI/CD configs, documentation, scripts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-02-09 09:51:32 +01:00
parent f7487ee240
commit bfdaf63ba9
2009 changed files with 749983 additions and 1731 deletions

View File

@@ -0,0 +1,347 @@
/* ==========================================
ADMIN PANEL - Content Area
Main content, buttons, cards, status bar
========================================== */
.content {
padding: 14px 16px 16px 16px;
display: flex;
flex-direction: column;
gap: 14px;
overflow-y: auto;
overflow-x: hidden;
min-height: 0;
}
/* Buttons */
.btn {
font-size: 13px;
font-weight: 500;
padding: 8px 16px;
border-radius: 8px;
border: 1px solid var(--bp-border-subtle);
background: var(--bp-surface-elevated);
color: var(--bp-text);
cursor: pointer;
transition: all 0.2s ease;
}
.btn:hover:not(:disabled) {
border-color: var(--bp-primary);
transform: translateY(-1px);
}
.btn-primary {
border-color: var(--bp-accent);
background: var(--bp-btn-primary-bg);
color: white;
}
.btn-primary:hover:not(:disabled) {
background: var(--bp-btn-primary-hover);
box-shadow: 0 4px 12px rgba(34,197,94,0.3);
}
.btn-ghost {
background: transparent;
}
.btn-ghost:hover:not(:disabled) {
background: var(--bp-surface-elevated);
}
.btn-sm {
padding: 6px 12px;
font-size: 12px;
}
.btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* Cards Grid */
.cards-grid {
flex: 1;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
grid-auto-rows: 1fr;
gap: 10px;
min-height: 0;
align-items: stretch;
}
.card {
border-radius: 14px;
border: 1px solid var(--bp-border-subtle);
background: var(--bp-card-bg);
padding: 10px;
display: flex;
flex-direction: column;
overflow: hidden;
transition: all 0.3s ease;
}
.card-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 6px;
}
.card-title {
font-size: 13px;
font-weight: 600;
}
.card-actions {
display: flex;
gap: 4px;
}
/* Toggle Pills */
.panel-tools-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-bottom: 6px;
}
.card-toggle-bar {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 8px;
}
.toggle-pill {
font-size: 11px;
padding: 4px 8px;
border-radius: 999px;
border: 1px solid var(--bp-border-subtle);
background: var(--bp-surface-elevated);
color: var(--bp-text-muted);
cursor: pointer;
transition: all 0.2s ease;
}
.toggle-pill.active {
border-color: var(--bp-accent);
color: var(--bp-accent);
background: var(--bp-accent-soft);
}
/* Status Bar */
.status-bar {
position: fixed;
right: 18px;
bottom: 18px;
padding: 8px 12px;
border-radius: 999px;
background: var(--bp-surface-elevated);
border: 1px solid var(--bp-border-subtle);
display: flex;
align-items: center;
gap: 8px;
font-size: 12px;
min-width: 230px;
transition: all 0.3s ease;
}
.status-dot {
width: 10px;
height: 10px;
border-radius: 999px;
background: var(--bp-text-muted);
}
.status-dot.busy {
background: var(--bp-accent);
}
.status-dot.error {
background: var(--bp-danger);
}
.status-text-main {
font-size: 12px;
}
.status-text-sub {
font-size: 11px;
color: var(--bp-text-muted);
}
/* Footer */
.footer {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
font-size: 11px;
color: var(--bp-text-muted);
border-top: 1px solid var(--bp-border-subtle);
background: var(--bp-surface-elevated);
transition: background 0.3s ease;
}
.footer a {
color: var(--bp-text-muted);
text-decoration: none;
}
.footer a:hover {
text-decoration: underline;
}
/* Pager */
.pager {
grid-column: 1 / -1;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 2px 0;
font-size: 11px;
}
.pager button {
width: 24px;
height: 24px;
border-radius: 999px;
border: 1px solid var(--bp-border-subtle);
background: var(--bp-surface-elevated);
color: var(--bp-text);
cursor: pointer;
transition: all 0.2s ease;
}
.pager button:hover {
border-color: var(--bp-primary);
color: var(--bp-primary);
}
/* Unit Items */
.unit-item {
padding: 8px 10px;
border-radius: 6px;
cursor: pointer;
font-size: 12px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
transition: all 0.15s ease;
margin-bottom: 4px;
}
.unit-item:hover {
background: var(--bp-surface-elevated);
}
.unit-item.active {
background: var(--bp-surface-elevated);
color: var(--bp-accent);
border: 1px solid var(--bp-accent);
font-weight: 600;
}
.unit-item-meta {
font-size: 10px;
color: var(--bp-text-muted);
margin-top: 2px;
}
.btn-unit-add {
align-self: flex-end;
}
/* Language Selector */
.language-selector {
margin-right: 8px;
}
.lang-select {
background: var(--bp-surface-elevated);
border: 1px solid var(--bp-border-subtle);
border-radius: 6px;
color: var(--bp-text);
padding: 6px 10px;
font-size: 12px;
cursor: pointer;
transition: all 0.2s ease;
}
.lang-select:hover {
border-color: var(--bp-primary);
}
.lang-select:focus {
outline: none;
border-color: var(--bp-primary);
}
/* Light Mode */
[data-theme="light"] .btn-primary:hover:not(:disabled) {
box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}
[data-theme="light"] .btn-ghost {
border-color: var(--bp-primary);
color: var(--bp-primary);
}
[data-theme="light"] .btn-ghost:hover:not(:disabled) {
background: var(--bp-primary-soft);
}
[data-theme="light"] .toggle-pill.active {
border-color: var(--bp-primary);
color: var(--bp-primary);
background: var(--bp-primary-soft);
}
[data-theme="light"] .status-bar {
background: var(--bp-surface);
border: 2px solid var(--bp-primary);
box-shadow: 0 4px 16px rgba(14, 165, 233, 0.15);
}
[data-theme="light"] .pager button {
border: 2px solid var(--bp-primary);
background: var(--bp-surface);
color: var(--bp-primary);
font-weight: 700;
}
[data-theme="light"] .pager button:hover {
background: var(--bp-primary);
color: white;
}
[data-theme="light"] .unit-item:hover {
background: var(--bp-primary-soft);
}
[data-theme="light"] .unit-item.active {
background: var(--bp-primary-soft);
color: var(--bp-primary);
border: 2px solid var(--bp-primary);
}
[data-theme="light"] .lang-select {
background: var(--bp-surface);
border: 1px solid var(--bp-primary);
color: var(--bp-text);
}
[data-theme="light"] .lang-select option {
background: var(--bp-surface);
color: var(--bp-text);
}
/* RTL Support */
[dir="rtl"] .card-actions {
flex-direction: row-reverse;
}

View File

@@ -0,0 +1,183 @@
/* ==========================================
ADMIN PANEL - DSMS Styles
Decentralized Storage Management System
========================================== */
.dsms-subtab {
padding: 6px 12px;
border: none;
background: transparent;
color: var(--bp-text-muted);
cursor: pointer;
border-radius: 6px;
font-size: 12px;
transition: all 0.2s ease;
}
.dsms-subtab:hover {
background: var(--bp-border-subtle);
color: var(--bp-text);
}
.dsms-subtab.active {
background: var(--bp-primary);
color: white;
}
.dsms-content {
display: none;
}
.dsms-content.active {
display: block;
}
.dsms-status-card {
background: var(--bp-surface-elevated);
border: 1px solid var(--bp-border);
border-radius: 8px;
padding: 16px;
}
.dsms-status-card h4 {
margin: 0 0 8px 0;
font-size: 12px;
color: var(--bp-text-muted);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.dsms-status-card .value {
font-size: 24px;
font-weight: 600;
color: var(--bp-text);
}
.dsms-status-card .value.online {
color: var(--bp-accent);
}
.dsms-status-card .value.offline {
color: var(--bp-danger);
}
.dsms-verify-success {
background: var(--bp-accent-soft);
border: 1px solid var(--bp-accent);
border-radius: 8px;
padding: 16px;
color: var(--bp-accent);
}
.dsms-verify-error {
background: rgba(239, 68, 68, 0.1);
border: 1px solid var(--bp-danger);
border-radius: 8px;
padding: 16px;
color: var(--bp-danger);
}
/* DSMS WebUI Styles */
.dsms-webui-nav {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
border: none;
background: transparent;
color: var(--bp-text-muted);
font-size: 14px;
border-radius: 6px;
cursor: pointer;
text-align: left;
width: 100%;
transition: all 0.2s;
}
.dsms-webui-nav:hover {
background: var(--bp-surface-elevated);
color: var(--bp-text);
}
.dsms-webui-nav.active {
background: var(--bp-primary-soft);
color: var(--bp-primary);
font-weight: 500;
}
.dsms-webui-section {
display: none;
}
.dsms-webui-section.active {
display: block;
}
.dsms-webui-stat-card {
background: var(--bp-surface-elevated);
border: 1px solid var(--bp-border);
border-radius: 8px;
padding: 16px;
}
.dsms-webui-stat-label {
font-size: 12px;
color: var(--bp-text-muted);
margin-bottom: 4px;
}
.dsms-webui-stat-value {
font-size: 18px;
font-weight: 600;
color: var(--bp-text);
}
.dsms-webui-stat-sub {
font-size: 11px;
color: var(--bp-text-muted);
margin-top: 4px;
}
.dsms-webui-upload-zone {
border: 2px dashed var(--bp-border);
border-radius: 12px;
padding: 48px 24px;
background: var(--bp-input-bg);
transition: all 0.2s;
}
.dsms-webui-upload-zone.dragover {
border-color: var(--bp-primary);
background: var(--bp-primary-soft);
}
.dsms-webui-file-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
background: var(--bp-surface-elevated);
border: 1px solid var(--bp-border);
border-radius: 8px;
margin-bottom: 8px;
}
.dsms-webui-file-item .cid {
font-family: monospace;
font-size: 12px;
color: var(--bp-text-muted);
word-break: break-all;
}
/* Light Mode */
[data-theme="light"] .dsms-status-card {
background: var(--bp-bg);
}
[data-theme="light"] .dsms-webui-stat-card {
background: var(--bp-bg);
}
[data-theme="light"] .dsms-webui-file-item {
background: var(--bp-bg);
}

View File

@@ -0,0 +1,323 @@
/* ==========================================
ADMIN PANEL - Learning Module Styles
MC Questions, Cloze/Lückentext
========================================== */
/* MC Preview Styles */
.mc-preview {
margin-top: 8px;
max-height: 300px;
overflow-y: auto;
}
.mc-question {
background: var(--bp-surface-elevated);
border: 1px solid var(--bp-border-subtle);
border-radius: 8px;
padding: 10px;
margin-bottom: 8px;
transition: all 0.3s ease;
}
.mc-question-text {
font-size: 12px;
font-weight: 500;
margin-bottom: 8px;
color: var(--bp-text);
}
.mc-options {
display: flex;
flex-direction: column;
gap: 4px;
}
.mc-option {
font-size: 11px;
padding: 6px 10px;
border-radius: 6px;
background: var(--bp-surface-elevated);
border: 1px solid var(--bp-border-subtle);
cursor: pointer;
transition: all 0.15s ease;
}
.mc-option:hover {
background: var(--bp-accent-soft);
border-color: var(--bp-accent);
}
.mc-option.selected {
background: var(--bp-accent-soft);
border-color: var(--bp-accent);
}
.mc-option.correct {
background: rgba(90, 191, 96, 0.2);
border-color: var(--bp-accent);
}
.mc-option.incorrect {
background: rgba(108, 27, 27, 0.2);
border-color: rgba(239,68,68,0.6);
}
.mc-option-label {
font-weight: 600;
margin-right: 6px;
text-transform: uppercase;
}
.mc-feedback {
margin-top: 8px;
font-size: 11px;
padding: 6px 8px;
border-radius: 6px;
background: rgba(34,197,94,0.1);
border: 1px solid rgba(34,197,94,0.3);
color: var(--bp-accent);
}
.mc-stats {
display: flex;
gap: 12px;
margin-top: 8px;
padding: 8px;
background: var(--bp-surface-elevated);
border-radius: 6px;
font-size: 11px;
transition: all 0.3s ease;
}
.mc-stats-item {
display: flex;
align-items: center;
gap: 4px;
}
/* MC Modal */
.mc-modal {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.85);
display: flex;
align-items: center;
justify-content: center;
z-index: 50;
}
.mc-modal.hidden {
display: none;
}
.mc-modal-content {
background: var(--bp-bg);
border: 1px solid var(--bp-border-subtle);
border-radius: 16px;
padding: 20px;
max-width: 600px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
}
.mc-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
}
.mc-modal-title {
font-size: 18px;
font-weight: 600;
}
.mc-modal-close {
font-size: 11px;
padding: 4px 10px;
border-radius: 999px;
border: 1px solid var(--bp-border-subtle);
background: var(--bp-surface-elevated);
color: var(--bp-text);
cursor: pointer;
}
/* Cloze / Lückentext Styles */
.cloze-preview {
margin-top: 8px;
max-height: 250px;
overflow-y: auto;
}
.cloze-item {
background: var(--bp-surface-elevated);
border: 1px solid var(--bp-border-subtle);
border-radius: 8px;
padding: 10px;
margin-bottom: 8px;
transition: all 0.3s ease;
}
.cloze-sentence {
font-size: 13px;
line-height: 1.8;
color: var(--bp-text);
}
.cloze-gap {
display: inline-block;
min-width: 60px;
border-bottom: 2px solid var(--bp-accent);
margin: 0 2px;
padding: 2px 4px;
text-align: center;
background: var(--bp-accent-soft);
border-radius: 4px 4px 0 0;
}
.cloze-gap-input {
width: 80px;
padding: 4px 8px;
font-size: 12px;
border: 1px solid var(--bp-border-subtle);
border-radius: 4px;
background: var(--bp-surface-elevated);
color: var(--bp-text);
text-align: center;
}
.cloze-gap-input:focus {
outline: none;
border-color: var(--bp-primary);
}
.cloze-gap-input.correct {
border-color: var(--bp-accent);
background: rgba(90, 191, 96, 0.2);
}
.cloze-gap-input.incorrect {
border-color: var(--bp-danger);
background: rgba(108, 27, 27, 0.2);
}
.cloze-translation {
margin-top: 8px;
padding: 8px;
background: var(--bp-accent-soft);
border: 1px solid var(--bp-accent);
border-radius: 6px;
font-size: 11px;
color: var(--bp-text-muted);
}
.cloze-translation-label {
font-size: 10px;
color: var(--bp-text-muted);
margin-bottom: 4px;
}
.cloze-hint {
font-size: 10px;
color: var(--bp-text-muted);
font-style: italic;
margin-top: 4px;
}
.cloze-stats {
display: flex;
gap: 12px;
padding: 8px;
background: var(--bp-surface-elevated);
border-radius: 6px;
font-size: 11px;
margin-bottom: 8px;
}
.cloze-feedback {
margin-top: 6px;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.cloze-feedback.correct {
background: rgba(34,197,94,0.15);
color: var(--bp-accent);
}
.cloze-feedback.incorrect {
background: rgba(239,68,68,0.15);
color: #ef4444;
}
/* Light Mode */
[data-theme="light"] .mc-question {
background: var(--bp-surface);
border: 1px solid var(--bp-primary);
box-shadow: 0 2px 8px rgba(14, 165, 233, 0.08);
}
[data-theme="light"] .mc-option {
background: var(--bp-bg);
border: 1px solid var(--bp-border);
}
[data-theme="light"] .mc-option:hover {
background: var(--bp-primary-soft);
border-color: var(--bp-primary);
}
[data-theme="light"] .mc-option.selected {
background: var(--bp-primary-soft);
border-color: var(--bp-primary);
}
[data-theme="light"] .mc-stats {
background: var(--bp-bg);
border: 1px solid var(--bp-border);
}
[data-theme="light"] .mc-modal-content {
background: var(--bp-surface);
border: 2px solid var(--bp-primary);
box-shadow: 0 8px 32px rgba(14, 165, 233, 0.2);
}
[data-theme="light"] .mc-modal-close {
border: 1px solid var(--bp-primary);
background: var(--bp-surface);
color: var(--bp-primary);
}
[data-theme="light"] .mc-modal-close:hover {
background: var(--bp-primary);
color: white;
}
[data-theme="light"] .cloze-item {
background: var(--bp-surface);
border: 1px solid var(--bp-primary);
box-shadow: 0 2px 8px rgba(14, 165, 233, 0.08);
}
[data-theme="light"] .cloze-gap {
border-bottom-color: var(--bp-primary);
background: var(--bp-primary-soft);
}
[data-theme="light"] .cloze-gap-input {
background: var(--bp-surface);
border: 1px solid var(--bp-border);
}
[data-theme="light"] .cloze-translation {
background: var(--bp-primary-soft);
border: 1px solid var(--bp-primary);
}
[data-theme="light"] .cloze-stats {
background: var(--bp-bg);
border: 1px solid var(--bp-border);
}

View File

@@ -0,0 +1,132 @@
/* ==========================================
ADMIN PANEL - Modal & Tabs
Basic modal structure and navigation
========================================== */
.admin-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 10000;
justify-content: center;
align-items: center;
backdrop-filter: blur(4px);
}
.admin-modal.active {
display: flex;
}
.admin-modal-content {
background: var(--bp-surface);
border-radius: 16px;
width: 95%;
max-width: 1000px;
max-height: 90vh;
display: flex;
flex-direction: column;
box-shadow: 0 20px 60px rgba(0,0,0,0.4);
border: 1px solid var(--bp-border);
}
.admin-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 24px;
border-bottom: 1px solid var(--bp-border);
}
.admin-modal-header h2 {
margin: 0;
font-size: 18px;
font-weight: 600;
display: flex;
align-items: center;
gap: 10px;
}
.admin-tabs {
display: flex;
gap: 4px;
padding: 12px 24px;
border-bottom: 1px solid var(--bp-border);
background: var(--bp-surface-elevated);
}
.admin-tab {
padding: 8px 16px;
border: none;
background: transparent;
color: var(--bp-text-muted);
cursor: pointer;
border-radius: 8px;
font-size: 13px;
transition: all 0.2s ease;
}
.admin-tab:hover {
background: var(--bp-border-subtle);
color: var(--bp-text);
}
.admin-tab.active {
background: var(--bp-primary);
color: white;
}
.admin-body {
padding: 24px;
overflow-y: auto;
flex: 1;
}
.admin-content {
display: none;
}
.admin-content.active {
display: block;
}
.admin-toolbar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
gap: 12px;
}
.admin-toolbar-left {
display: flex;
gap: 12px;
align-items: center;
}
.admin-search {
padding: 8px 12px;
border: 1px solid var(--bp-border);
border-radius: 8px;
background: var(--bp-surface-elevated);
color: var(--bp-text);
width: 250px;
}
/* Light Mode */
[data-theme="light"] .admin-modal-content {
background: var(--bp-surface);
border-color: var(--bp-border);
}
[data-theme="light"] .admin-tabs {
background: var(--bp-bg);
}
[data-theme="light"] .admin-tab.active {
background: var(--bp-primary);
color: white;
}

View File

@@ -0,0 +1,202 @@
/* ==========================================
ADMIN PANEL - Preview & Compare
Image preview, document comparison
========================================== */
.compare-header {
background: var(--bp-surface-elevated);
padding: 6px 10px;
font-size: 12px;
border-bottom: 1px solid var(--bp-border-subtle);
display: flex;
justify-content: space-between;
align-items: center;
gap: 6px;
}
.compare-header span {
color: var(--bp-text-muted);
}
.compare-body {
flex: 1;
min-height: 0;
position: relative;
display: flex;
align-items: center;
justify-content: center;
padding: 6px;
}
.compare-body-inner {
position: relative;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.preview-img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
box-shadow: 0 18px 40px rgba(0,0,0,0.5);
border-radius: 10px;
}
.clean-frame {
width: 100%;
height: 100%;
border: none;
border-radius: 10px;
background: white;
}
/* Preview Navigation */
.preview-nav {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: space-between;
pointer-events: none;
padding: 0 4px;
}
.preview-nav button {
pointer-events: auto;
width: 28px;
height: 28px;
border-radius: 999px;
border: 1px solid var(--bp-border-subtle);
background: var(--bp-surface-elevated);
color: var(--bp-text);
cursor: pointer;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.preview-nav button:hover:not(:disabled) {
border-color: var(--bp-primary);
color: var(--bp-primary);
}
.preview-nav button:disabled {
opacity: 0.35;
cursor: default;
}
.preview-nav span {
position: absolute;
bottom: 6px;
left: 50%;
transform: translateX(-50%);
font-size: 11px;
padding: 2px 8px;
border-radius: 999px;
background: var(--bp-surface-elevated);
border: 1px solid var(--bp-border-subtle);
}
/* Preview Thumbnails */
.preview-thumbnails {
display: flex;
flex-direction: column;
gap: 8px;
padding: 8px 4px;
overflow-y: auto;
align-items: center;
}
.preview-thumb {
min-width: 90px;
width: 90px;
height: 70px;
border-radius: 8px;
border: 2px solid rgba(148,163,184,0.25);
background: rgba(15,23,42,0.5);
cursor: pointer;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
position: relative;
flex-shrink: 0;
}
.preview-thumb:hover {
border-color: var(--bp-accent);
}
.preview-thumb.active {
border-color: var(--bp-accent);
border-width: 3px;
}
.preview-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.preview-thumb-label {
position: absolute;
bottom: 0;
left: 0;
right: 0;
font-size: 9px;
padding: 2px;
background: rgba(0,0,0,0.8);
color: white;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* Light Mode */
[data-theme="light"] .compare-header {
background: var(--bp-primary-soft);
border-bottom: 1px solid var(--bp-primary);
}
[data-theme="light"] .compare-header span {
color: var(--bp-primary);
font-weight: 600;
}
[data-theme="light"] .preview-img {
box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
}
[data-theme="light"] .preview-nav button {
border: 2px solid var(--bp-primary);
background: var(--bp-surface);
color: var(--bp-primary);
font-weight: 700;
}
[data-theme="light"] .preview-nav button:hover:not(:disabled) {
background: var(--bp-primary);
color: white;
}
[data-theme="light"] .preview-nav span {
background: var(--bp-surface);
border: 1px solid var(--bp-primary);
color: var(--bp-primary);
}
[data-theme="light"] .preview-thumb {
background: var(--bp-bg);
border-color: var(--bp-border);
}
[data-theme="light"] .preview-thumb:hover,
[data-theme="light"] .preview-thumb.active {
border-color: var(--bp-primary);
}

View File

@@ -0,0 +1,267 @@
/* ==========================================
ADMIN PANEL - Sidebar & Navigation
Main layout sidebar and menu items
========================================== */
.main-layout {
display: grid;
grid-template-columns: 240px minmax(0, 1fr);
height: 100%;
min-height: 0;
}
.sidebar {
border-right: 1px solid var(--bp-border-subtle);
background: var(--bp-gradient-sidebar);
padding: 14px 10px;
display: flex;
flex-direction: column;
gap: 18px;
min-width: 0;
height: 100%;
max-height: 100vh;
overflow-y: auto;
overflow-x: hidden;
transition: background 0.3s ease, border-color 0.3s ease;
}
.sidebar-section-title {
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--bp-text);
padding: 8px 6px 6px 6px;
margin-top: 12px;
}
.sidebar-menu {
display: flex;
flex-direction: column;
gap: 4px;
}
.sidebar-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 10px;
border-radius: 9px;
cursor: pointer;
font-size: 13px;
color: var(--bp-text-muted);
}
.sidebar-item.active {
background: var(--bp-surface-elevated);
color: var(--bp-accent);
border: 1px solid var(--bp-accent-soft);
}
.sidebar-item-label {
display: flex;
align-items: center;
gap: 7px;
}
.sidebar-item-badge {
font-size: 10px;
border-radius: 999px;
padding: 2px 7px;
border: 1px solid var(--bp-border-subtle);
}
/* Sub-Navigation */
.sidebar-sub-menu {
display: flex;
flex-direction: column;
gap: 2px;
padding: 4px 0 8px 20px;
margin-top: 4px;
}
.sidebar-sub-item {
font-size: 12px;
color: var(--bp-text-muted);
padding: 6px 10px;
border-radius: 6px;
cursor: pointer;
transition: all 0.15s ease;
position: relative;
}
.sidebar-sub-item::before {
content: '';
position: absolute;
left: -12px;
top: 50%;
transform: translateY(-50%);
width: 4px;
height: 4px;
border-radius: 50%;
background: var(--bp-border);
}
.sidebar-sub-item:hover {
background: rgba(255, 255, 255, 0.05);
color: var(--bp-text);
}
.sidebar-sub-item.active {
background: rgba(var(--bp-primary), 0.15);
color: var(--bp-primary);
}
.sidebar-sub-item.active::before {
background: var(--bp-primary);
width: 6px;
height: 6px;
}
.sidebar-footer {
margin-top: auto;
font-size: 11px;
color: var(--bp-text-muted);
padding: 0 6px;
}
/* Template Items */
.template-item {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 10px;
border-radius: 6px;
cursor: pointer;
font-size: 13px;
transition: all 0.15s ease;
}
.template-item:hover {
background: rgba(255, 255, 255, 0.08);
}
/* Letter Items */
.letter-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 8px;
border-radius: 6px;
cursor: pointer;
transition: all 0.15s ease;
border-bottom: 1px solid var(--bp-border);
}
.letter-item:last-child {
border-bottom: none;
}
.letter-item:hover {
background: rgba(255, 255, 255, 0.05);
}
.letter-info {
display: flex;
flex-direction: column;
gap: 2px;
}
.letter-title {
font-size: 13px;
font-weight: 500;
}
.letter-date {
font-size: 11px;
color: var(--bp-text-muted);
}
.letter-status {
font-size: 10px;
padding: 2px 6px;
border-radius: 4px;
}
.letter-status.sent {
background: rgba(16, 185, 129, 0.2);
color: #10b981;
}
.letter-status.draft {
background: rgba(245, 158, 11, 0.2);
color: #f59e0b;
}
/* Meeting Items */
.meeting-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px;
border-radius: 6px;
background: rgba(255, 255, 255, 0.03);
cursor: pointer;
}
.meeting-item:hover {
background: rgba(255, 255, 255, 0.08);
}
.meeting-info {
display: flex;
flex-direction: column;
gap: 2px;
}
.meeting-title {
font-size: 12px;
font-weight: 500;
}
.meeting-time {
font-size: 11px;
color: var(--bp-text-muted);
}
/* Light Mode */
[data-theme="light"] .sidebar-item.active {
background: var(--bp-primary-soft);
color: var(--bp-primary);
border: 1px solid var(--bp-primary);
}
[data-theme="light"] .sidebar-sub-item:hover {
background: rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .sidebar-sub-item.active {
background: rgba(14, 165, 233, 0.1);
color: #0ea5e9;
}
[data-theme="light"] .sidebar-sub-item.active::before {
background: #0ea5e9;
}
[data-theme="light"] .template-item:hover {
background: rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .meeting-item {
background: rgba(0, 0, 0, 0.02);
}
[data-theme="light"] .meeting-item:hover {
background: rgba(0, 0, 0, 0.05);
}
/* RTL Support */
[dir="rtl"] .sidebar {
border-right: none;
border-left: 1px solid rgba(148,163,184,0.2);
}
[dir="rtl"] .main-layout {
direction: rtl;
}

View File

@@ -0,0 +1,115 @@
/* ==========================================
ADMIN PANEL - Tables & Badges
Table styles and status indicators
========================================== */
.admin-table {
width: 100%;
border-collapse: collapse;
font-size: 13px;
}
.admin-table th,
.admin-table td {
padding: 12px;
text-align: left;
border-bottom: 1px solid var(--bp-border);
}
.admin-table th {
background: var(--bp-surface-elevated);
font-weight: 600;
color: var(--bp-text);
}
.admin-table tr:hover {
background: var(--bp-surface-elevated);
}
.admin-table td {
color: var(--bp-text-muted);
}
/* Status Badges */
.admin-badge {
display: inline-block;
padding: 4px 8px;
border-radius: 4px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
}
.admin-badge-published {
background: rgba(74, 222, 128, 0.2);
color: #4ADE80;
}
.admin-badge-draft {
background: rgba(251, 191, 36, 0.2);
color: #FBBF24;
}
.admin-badge-archived {
background: rgba(156, 163, 175, 0.2);
color: #9CA3AF;
}
.admin-badge-rejected {
background: rgba(239, 68, 68, 0.2);
color: #EF4444;
}
.admin-badge-review {
background: rgba(147, 51, 234, 0.2);
color: #A855F7;
}
.admin-badge-approved {
background: rgba(34, 197, 94, 0.2);
color: #22C55E;
}
.admin-badge-submitted {
background: rgba(59, 130, 246, 0.2);
color: #3B82F6;
}
.admin-badge-mandatory {
background: rgba(239, 68, 68, 0.2);
color: #EF4444;
}
.admin-badge-optional {
background: rgba(156, 163, 175, 0.2);
color: #9CA3AF;
}
.admin-badge-active {
background: rgba(34, 197, 94, 0.2);
color: #22C55E;
}
.admin-badge-inactive {
background: rgba(156, 163, 175, 0.2);
color: #9CA3AF;
}
.admin-badge-pending {
background: rgba(251, 191, 36, 0.2);
color: #FBBF24;
}
.admin-badge-completed {
background: rgba(74, 222, 128, 0.2);
color: #4ADE80;
}
/* Light Mode */
[data-theme="light"] .admin-table th {
background: var(--bp-bg);
}
[data-theme="light"] .admin-table tr:hover {
background: var(--bp-primary-soft);
}

View File

@@ -0,0 +1,163 @@
/* ==========================================
Base Layout Styles
Reset, Scrollbar, App Structure, Topbar
========================================== */
* { box-sizing: border-box; }
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: var(--bp-scrollbar-track);
border-radius: 4px;
}
::-webkit-scrollbar-thumb {
background: var(--bp-scrollbar-thumb);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--bp-scrollbar-thumb);
opacity: 0.8;
}
html, body {
height: 100%;
}
body {
margin: 0;
padding: 0;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
background: var(--bp-gradient-bg);
color: var(--bp-text);
min-height: 100vh;
display: flex;
flex-direction: column;
transition: background 0.3s ease, color 0.3s ease;
}
.app-root {
display: grid;
grid-template-rows: 56px 1fr 32px;
flex: 1;
min-height: 0;
}
/* ==========================================
Topbar Styles
========================================== */
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
border-bottom: 1px solid var(--bp-border-subtle);
backdrop-filter: blur(18px);
background: var(--bp-gradient-topbar);
transition: background 0.3s ease, border-color 0.3s ease;
}
.brand {
display: flex;
align-items: center;
gap: 10px;
}
.brand-logo {
width: 28px;
height: 28px;
border-radius: 999px;
border: 2px solid var(--bp-accent);
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 14px;
color: var(--bp-accent);
}
.brand-text-main {
font-weight: 600;
font-size: 16px;
}
.brand-text-sub {
font-size: 12px;
color: var(--bp-text-muted);
}
/* ==========================================
Top Navigation
========================================== */
.top-nav {
display: flex;
align-items: center;
gap: 18px;
font-size: 13px;
}
.top-nav-item {
cursor: pointer;
padding: 4px 10px;
border-radius: 999px;
color: var(--bp-text-muted);
border: 1px solid transparent;
}
.top-nav-item.active {
color: var(--bp-primary);
border-color: var(--bp-accent-soft);
background: var(--bp-surface-elevated);
}
[data-theme="light"] .top-nav-item.active {
color: var(--bp-primary);
background: var(--bp-primary-soft);
border-color: var(--bp-primary);
}
.top-actions {
display: flex;
align-items: center;
gap: 10px;
}
.pill {
font-size: 11px;
padding: 4px 10px;
border-radius: 999px;
border: 1px solid var(--bp-border-subtle);
color: var(--bp-text-muted);
}
/* ==========================================
Theme Toggle Button
========================================== */
.theme-toggle {
display: flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
border-radius: 999px;
border: 1px solid var(--bp-border-subtle);
background: var(--bp-surface-elevated);
color: var(--bp-text-muted);
cursor: pointer;
font-size: 11px;
transition: all 0.2s ease;
}
.theme-toggle:hover {
border-color: var(--bp-primary);
color: var(--bp-primary);
}
.theme-toggle-icon {
font-size: 14px;
}

View File

@@ -0,0 +1,69 @@
/* ==========================================
CSS Custom Properties (Variables)
Dark Mode (Default) + Light Mode
========================================== */
:root {
--bp-primary: #0f766e;
--bp-primary-soft: #ccfbf1;
--bp-bg: #020617;
--bp-surface: #020617;
--bp-surface-elevated: rgba(15,23,42,0.9);
--bp-border: #1f2937;
--bp-border-subtle: rgba(148,163,184,0.25);
--bp-accent: #22c55e;
--bp-accent-soft: rgba(34,197,94,0.2);
--bp-text: #e5e7eb;
--bp-text-muted: #9ca3af;
--bp-danger: #ef4444;
--bp-gradient-bg: radial-gradient(circle at top left, #1f2937 0, #020617 50%, #000 100%);
--bp-gradient-surface: radial-gradient(circle at top left, rgba(15,23,42,0.9) 0, #020617 50%, #000 100%);
--bp-gradient-sidebar: radial-gradient(circle at top, #020617 0, #020617 40%, #000 100%);
--bp-gradient-topbar: linear-gradient(to right, rgba(15,23,42,0.9), rgba(15,23,42,0.6));
--bp-btn-primary-bg: linear-gradient(to right, var(--bp-primary), #15803d);
--bp-btn-primary-hover: linear-gradient(to right, #0f766e, #166534);
--bp-card-bg: var(--bp-gradient-surface);
--bp-input-bg: rgba(255,255,255,0.05);
--bp-scrollbar-track: rgba(15,23,42,0.5);
--bp-scrollbar-thumb: rgba(148,163,184,0.5);
}
/* ==========================================
LIGHT MODE - Website Design
Farben aus BreakPilot Website:
- Primary: Sky Blue #0ea5e9 (Modern, Vertrauen)
- Accent: Fuchsia #d946ef (Kreativ, Energie)
- Text: Slate #0f172a (Klarheit)
- Background: White/Slate-50 (Clean, Professional)
========================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
[data-theme="light"] {
--bp-primary: #0ea5e9;
--bp-primary-soft: rgba(14, 165, 233, 0.1);
--bp-bg: #f8fafc;
--bp-surface: #FFFFFF;
--bp-surface-elevated: #FFFFFF;
--bp-border: #e2e8f0;
--bp-border-subtle: rgba(14, 165, 233, 0.2);
--bp-accent: #d946ef;
--bp-accent-soft: rgba(217, 70, 239, 0.15);
--bp-text: #0f172a;
--bp-text-muted: #64748b;
--bp-danger: #ef4444;
--bp-gradient-bg: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
--bp-gradient-surface: linear-gradient(145deg, #FFFFFF 0%, #f8fafc 100%);
--bp-gradient-sidebar: linear-gradient(180deg, #FFFFFF 0%, #f1f5f9 100%);
--bp-gradient-topbar: linear-gradient(to right, #FFFFFF, #f8fafc);
--bp-btn-primary-bg: linear-gradient(135deg, #0ea5e9 0%, #d946ef 100%);
--bp-btn-primary-hover: linear-gradient(135deg, #0284c7 0%, #c026d3 100%);
--bp-card-bg: linear-gradient(145deg, #FFFFFF 0%, #f8fafc 100%);
--bp-input-bg: #FFFFFF;
--bp-scrollbar-track: rgba(0,0,0,0.05);
--bp-scrollbar-thumb: rgba(14, 165, 233, 0.3);
--bp-gold: #eab308;
}
[data-theme="light"] body {
font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

View File

@@ -0,0 +1,261 @@
/* ==========================================
AUTH MODAL STYLES
Login, Register, Password Reset
========================================== */
.auth-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 10000;
justify-content: center;
align-items: center;
backdrop-filter: blur(4px);
}
.auth-modal.active {
display: flex;
}
.auth-modal-content {
background: var(--bp-surface);
border-radius: 16px;
width: 90%;
max-width: 420px;
display: flex;
flex-direction: column;
box-shadow: 0 20px 60px rgba(0,0,0,0.4);
border: 1px solid var(--bp-border);
}
.auth-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 24px;
border-bottom: 1px solid var(--bp-border);
}
.auth-modal-header h2 {
margin: 0;
font-size: 18px;
font-weight: 600;
display: flex;
align-items: center;
gap: 10px;
}
.auth-modal-close {
background: none;
border: none;
font-size: 28px;
cursor: pointer;
color: var(--bp-text-muted);
padding: 0;
line-height: 1;
}
.auth-modal-close:hover {
color: var(--bp-text);
}
.auth-body {
padding: 24px;
}
.auth-form {
display: flex;
flex-direction: column;
gap: 16px;
}
.auth-form-group {
display: flex;
flex-direction: column;
gap: 6px;
}
.auth-form-group label {
font-size: 13px;
color: var(--bp-text);
font-weight: 500;
}
.auth-form-group input {
padding: 12px 14px;
border: 1px solid var(--bp-border);
border-radius: 8px;
background: var(--bp-surface-elevated);
color: var(--bp-text);
font-size: 14px;
transition: border-color 0.2s ease;
}
.auth-form-group input:focus {
outline: none;
border-color: var(--bp-primary);
}
.auth-form-group input::placeholder {
color: var(--bp-text-muted);
}
.auth-submit-btn {
padding: 12px 20px;
background: var(--bp-btn-primary-bg);
border: none;
border-radius: 8px;
color: white;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
margin-top: 8px;
}
.auth-submit-btn:hover {
background: var(--bp-btn-primary-hover);
}
.auth-submit-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.auth-divider {
display: flex;
align-items: center;
gap: 12px;
margin: 8px 0;
color: var(--bp-text-muted);
font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
content: '';
flex: 1;
height: 1px;
background: var(--bp-border);
}
.auth-social-btns {
display: flex;
flex-direction: column;
gap: 10px;
}
.auth-social-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 12px;
border: 1px solid var(--bp-border);
border-radius: 8px;
background: var(--bp-surface-elevated);
color: var(--bp-text);
font-size: 14px;
cursor: pointer;
transition: all 0.2s ease;
}
.auth-social-btn:hover {
border-color: var(--bp-primary);
background: var(--bp-surface);
}
.auth-social-btn img {
width: 20px;
height: 20px;
}
.auth-footer {
padding: 16px 24px;
border-top: 1px solid var(--bp-border);
text-align: center;
font-size: 13px;
color: var(--bp-text-muted);
}
.auth-footer a {
color: var(--bp-primary);
text-decoration: none;
}
.auth-footer a:hover {
text-decoration: underline;
}
.auth-error {
padding: 12px;
background: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.3);
border-radius: 8px;
color: var(--bp-danger);
font-size: 13px;
display: none;
}
.auth-error.active {
display: block;
}
.auth-success {
padding: 12px;
background: rgba(34, 197, 94, 0.1);
border: 1px solid rgba(34, 197, 94, 0.3);
border-radius: 8px;
color: var(--bp-accent);
font-size: 13px;
display: none;
}
.auth-success.active {
display: block;
}
/* Password strength indicator */
.password-strength {
display: flex;
gap: 4px;
margin-top: 8px;
}
.password-strength-bar {
flex: 1;
height: 4px;
background: var(--bp-border);
border-radius: 2px;
transition: background 0.2s ease;
}
.password-strength-bar.weak { background: #ef4444; }
.password-strength-bar.fair { background: #f59e0b; }
.password-strength-bar.good { background: #22c55e; }
.password-strength-bar.strong { background: #0f766e; }
.password-strength-text {
font-size: 11px;
color: var(--bp-text-muted);
margin-top: 4px;
}
/* Light Mode Overrides */
[data-theme="light"] .auth-modal-content {
background: var(--bp-surface);
border-color: var(--bp-border);
}
[data-theme="light"] .auth-form-group input {
background: var(--bp-bg);
border-color: var(--bp-border);
}
[data-theme="light"] .auth-social-btn {
background: var(--bp-bg);
}

View File

@@ -0,0 +1,155 @@
/* ==========================================
Communication Panel Styles (Matrix + Jitsi)
Chat, Room List, Messages
========================================== */
/* Room List Styles */
.room-item {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
border-radius: 8px;
cursor: pointer;
transition: background 0.2s;
}
.room-item:hover {
background: var(--bp-surface-elevated);
}
.room-item.active {
background: var(--bp-primary-soft);
border-left: 3px solid var(--bp-primary);
}
.room-icon {
font-size: 20px;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
background: var(--bp-surface-elevated);
border-radius: 8px;
}
.room-info {
flex: 1;
min-width: 0;
}
.room-name {
font-weight: 500;
font-size: 13px;
color: var(--bp-text);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.room-preview {
font-size: 11px;
color: var(--bp-text-muted);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.room-badge {
background: var(--bp-primary);
color: white;
font-size: 10px;
font-weight: 600;
padding: 2px 6px;
border-radius: 10px;
min-width: 18px;
text-align: center;
}
/* Chat Message Styles */
.chat-system-msg {
text-align: center;
padding: 8px 16px;
background: var(--bp-surface-elevated);
border-radius: 8px;
font-size: 12px;
color: var(--bp-text-muted);
}
.chat-msg {
padding: 12px 16px;
border-radius: 12px;
max-width: 85%;
}
.chat-msg-self {
background: var(--bp-primary-soft);
border: 1px solid var(--bp-border-subtle);
margin-left: auto;
}
.chat-msg-other {
background: var(--bp-surface-elevated);
border: 1px solid var(--bp-border);
}
.chat-msg-notification {
background: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.3);
}
.chat-msg-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 6px;
}
.chat-msg-sender {
font-weight: 600;
font-size: 12px;
color: var(--bp-primary);
}
.chat-msg-time {
font-size: 10px;
color: var(--bp-text-muted);
}
.chat-msg-content {
font-size: 13px;
line-height: 1.5;
color: var(--bp-text);
}
.chat-msg-actions {
display: flex;
gap: 6px;
margin-top: 10px;
padding-top: 10px;
border-top: 1px solid var(--bp-border);
}
/* Button danger variant (global) */
.btn-danger {
background: #ef4444 !important;
color: white !important;
}
.btn-danger:hover {
background: #dc2626 !important;
}
/* Light Mode Overrides */
[data-theme="light"] .room-item.active {
background: var(--bp-primary-soft);
}
[data-theme="light"] .chat-msg-self {
background: var(--bp-primary-soft);
}
[data-theme="light"] .chat-msg-other {
background: var(--bp-bg);
}

View File

@@ -0,0 +1,167 @@
/* ==========================================
RICH TEXT EDITOR STYLES
WYSIWYG Editor Components
========================================== */
.editor-container {
border: 1px solid var(--bp-border);
border-radius: 8px;
background: var(--bp-surface-elevated);
overflow: hidden;
}
.editor-toolbar {
display: flex;
flex-wrap: wrap;
gap: 4px;
padding: 8px 12px;
border-bottom: 1px solid var(--bp-border);
background: var(--bp-surface);
}
.editor-toolbar-group {
display: flex;
gap: 2px;
padding-right: 8px;
margin-right: 8px;
border-right: 1px solid var(--bp-border);
}
.editor-toolbar-group:last-child {
border-right: none;
margin-right: 0;
padding-right: 0;
}
.editor-btn {
padding: 6px 10px;
border: none;
background: transparent;
color: var(--bp-text);
cursor: pointer;
border-radius: 4px;
font-size: 13px;
font-weight: 500;
transition: all 0.2s ease;
min-width: 32px;
}
.editor-btn:hover {
background: var(--bp-border-subtle);
}
.editor-btn.active {
background: var(--bp-primary);
color: white;
}
.editor-btn-upload {
background: var(--bp-primary);
color: white;
padding: 6px 12px;
}
.editor-btn-upload:hover {
filter: brightness(1.1);
}
.editor-content {
min-height: 300px;
max-height: 500px;
overflow-y: auto;
padding: 16px;
color: var(--bp-text);
line-height: 1.6;
}
.editor-content:focus {
outline: none;
}
.editor-content[contenteditable="true"] {
cursor: text;
}
.editor-content h1 {
font-size: 24px;
font-weight: 700;
margin: 0 0 16px 0;
}
.editor-content h2 {
font-size: 20px;
font-weight: 600;
margin: 24px 0 12px 0;
}
.editor-content h3 {
font-size: 17px;
font-weight: 600;
margin: 20px 0 10px 0;
}
.editor-content p {
margin: 0 0 12px 0;
}
.editor-content ul, .editor-content ol {
margin: 0 0 12px 0;
padding-left: 24px;
}
.editor-content li {
margin-bottom: 4px;
}
.editor-content strong {
font-weight: 600;
}
.editor-content em {
font-style: italic;
}
.editor-content a {
color: var(--bp-primary);
text-decoration: underline;
}
.editor-content blockquote {
border-left: 3px solid var(--bp-primary);
margin: 16px 0;
padding: 8px 16px;
background: var(--bp-surface);
font-style: italic;
}
.editor-content hr {
border: none;
border-top: 1px solid var(--bp-border);
margin: 20px 0;
}
.word-upload-input {
display: none;
}
.editor-status {
padding: 8px 12px;
font-size: 12px;
color: var(--bp-text-muted);
border-top: 1px solid var(--bp-border);
background: var(--bp-surface);
}
/* Light Mode Overrides */
[data-theme="light"] .editor-container {
border-color: var(--bp-border);
}
[data-theme="light"] .editor-toolbar {
background: var(--bp-bg);
border-color: var(--bp-border);
}
[data-theme="light"] .editor-content {
background: var(--bp-surface);
}

View File

@@ -0,0 +1,205 @@
/* ==========================================
LEGAL MODAL STYLES
Privacy, Terms, Cookie Settings
========================================== */
.legal-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 10000;
justify-content: center;
align-items: center;
backdrop-filter: blur(4px);
}
.legal-modal.active {
display: flex;
}
.legal-modal-content {
background: var(--bp-surface);
border-radius: 16px;
width: 90%;
max-width: 700px;
max-height: 80vh;
display: flex;
flex-direction: column;
box-shadow: 0 20px 60px rgba(0,0,0,0.4);
border: 1px solid var(--bp-border);
}
.legal-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 24px;
border-bottom: 1px solid var(--bp-border);
}
.legal-modal-header h2 {
margin: 0;
font-size: 18px;
font-weight: 600;
}
.legal-modal-close {
background: none;
border: none;
font-size: 28px;
cursor: pointer;
color: var(--bp-text-muted);
padding: 0;
line-height: 1;
}
.legal-modal-close:hover {
color: var(--bp-text);
}
.legal-tabs {
display: flex;
gap: 4px;
padding: 12px 24px;
border-bottom: 1px solid var(--bp-border);
background: var(--bp-surface-elevated);
}
.legal-tab {
padding: 8px 16px;
border: none;
background: transparent;
color: var(--bp-text-muted);
cursor: pointer;
border-radius: 8px;
font-size: 13px;
transition: all 0.2s ease;
}
.legal-tab:hover {
background: var(--bp-border-subtle);
color: var(--bp-text);
}
.legal-tab.active {
background: var(--bp-primary);
color: white;
}
.legal-body {
padding: 24px;
overflow-y: auto;
flex: 1;
}
.legal-content {
display: none;
}
.legal-content.active {
display: block;
}
.legal-content h3 {
margin-top: 0;
color: var(--bp-text);
}
.legal-content p {
line-height: 1.6;
color: var(--bp-text-muted);
}
.legal-content ul {
color: var(--bp-text-muted);
line-height: 1.8;
}
/* Cookie Categories */
.cookie-categories {
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 16px;
}
.cookie-category {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 12px;
background: var(--bp-surface-elevated);
border-radius: 8px;
border: 1px solid var(--bp-border);
cursor: pointer;
}
.cookie-category input {
margin-top: 4px;
}
.cookie-category span {
flex: 1;
font-size: 13px;
color: var(--bp-text);
}
/* GDPR Actions */
.gdpr-actions {
display: flex;
flex-direction: column;
gap: 16px;
margin-top: 16px;
}
.gdpr-action {
padding: 16px;
background: var(--bp-surface-elevated);
border-radius: 12px;
border: 1px solid var(--bp-border);
}
.gdpr-action h4 {
margin: 0 0 8px 0;
font-size: 14px;
color: var(--bp-text);
}
.gdpr-action p {
margin: 0 0 12px 0;
font-size: 13px;
}
.btn-danger {
background: var(--bp-danger) !important;
border-color: var(--bp-danger) !important;
}
.btn-danger:hover {
filter: brightness(1.1);
}
/* Light Mode Overrides */
[data-theme="light"] .legal-modal-content {
background: var(--bp-surface);
border-color: var(--bp-border);
}
[data-theme="light"] .legal-tabs {
background: var(--bp-bg);
}
[data-theme="light"] .legal-tab.active {
background: var(--bp-primary);
color: white;
}
[data-theme="light"] .cookie-category,
[data-theme="light"] .gdpr-action {
background: var(--bp-bg);
border-color: var(--bp-border);
}

View File

@@ -0,0 +1,315 @@
/* ==========================================
NOTIFICATION STYLES
Bell, Panel, Items, Preferences
========================================== */
.notification-bell {
position: relative;
display: none;
}
.notification-bell.active {
display: flex;
}
.notification-bell-btn {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: var(--bp-surface-elevated);
border: 1px solid var(--bp-border);
border-radius: 8px;
color: var(--bp-text-muted);
cursor: pointer;
font-size: 18px;
transition: all 0.2s ease;
}
.notification-bell-btn:hover {
border-color: var(--bp-primary);
color: var(--bp-primary);
}
.notification-badge {
position: absolute;
top: 2px;
right: 2px;
min-width: 18px;
height: 18px;
background: var(--bp-danger);
color: white;
border-radius: 999px;
font-size: 11px;
font-weight: 600;
display: flex;
align-items: center;
justify-content: center;
padding: 0 5px;
}
.notification-badge.hidden {
display: none;
}
/* Notification Panel */
.notification-panel {
display: none;
position: absolute;
top: 100%;
right: 0;
margin-top: 8px;
width: 360px;
max-height: 480px;
background: var(--bp-surface);
border: 1px solid var(--bp-border);
border-radius: 12px;
box-shadow: 0 10px 40px rgba(0,0,0,0.3);
z-index: 1000;
overflow: hidden;
}
.notification-panel.active {
display: flex;
flex-direction: column;
}
.notification-panel-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px;
border-bottom: 1px solid var(--bp-border);
}
.notification-panel-title {
font-weight: 600;
font-size: 16px;
color: var(--bp-text);
}
.notification-panel-actions {
display: flex;
gap: 8px;
}
.notification-panel-action {
padding: 4px 8px;
background: none;
border: 1px solid var(--bp-border);
border-radius: 6px;
color: var(--bp-text-muted);
cursor: pointer;
font-size: 11px;
transition: all 0.2s ease;
}
.notification-panel-action:hover {
border-color: var(--bp-primary);
color: var(--bp-primary);
}
/* Notification List */
.notification-list {
flex: 1;
overflow-y: auto;
max-height: 380px;
}
.notification-item {
display: flex;
gap: 12px;
padding: 14px 16px;
border-bottom: 1px solid var(--bp-border);
cursor: pointer;
transition: background 0.2s ease;
position: relative;
}
.notification-item:hover {
background: var(--bp-surface-elevated);
}
.notification-item.unread {
background: rgba(15, 118, 110, 0.08);
}
.notification-item.unread::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 3px;
background: var(--bp-primary);
}
.notification-icon {
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--bp-primary-soft);
color: var(--bp-primary);
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
flex-shrink: 0;
}
.notification-content {
flex: 1;
min-width: 0;
}
.notification-title {
font-weight: 500;
font-size: 13px;
color: var(--bp-text);
margin-bottom: 4px;
line-height: 1.3;
}
.notification-body {
font-size: 12px;
color: var(--bp-text-muted);
line-height: 1.4;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.notification-time {
font-size: 11px;
color: var(--bp-text-muted);
margin-top: 6px;
}
.notification-empty {
padding: 40px 20px;
text-align: center;
color: var(--bp-text-muted);
}
.notification-empty-icon {
font-size: 36px;
margin-bottom: 12px;
opacity: 0.5;
}
.notification-footer {
padding: 12px 16px;
border-top: 1px solid var(--bp-border);
text-align: center;
}
.notification-footer-btn {
background: none;
border: none;
color: var(--bp-primary);
cursor: pointer;
font-size: 13px;
font-weight: 500;
}
.notification-footer-btn:hover {
text-decoration: underline;
}
/* Notification Preferences Modal */
.notification-prefs-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 10001;
justify-content: center;
align-items: center;
backdrop-filter: blur(4px);
}
.notification-prefs-modal.active {
display: flex;
}
.notification-prefs-content {
background: var(--bp-surface);
border-radius: 16px;
width: 90%;
max-width: 420px;
box-shadow: 0 20px 60px rgba(0,0,0,0.4);
border: 1px solid var(--bp-border);
}
.notification-pref-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 14px 0;
border-bottom: 1px solid var(--bp-border);
}
.notification-pref-item:last-child {
border-bottom: none;
}
.notification-pref-label {
font-size: 14px;
color: var(--bp-text);
}
.notification-pref-desc {
font-size: 12px;
color: var(--bp-text-muted);
margin-top: 2px;
}
/* Toggle Switch */
.toggle-switch {
position: relative;
width: 48px;
height: 26px;
background: var(--bp-border);
border-radius: 999px;
cursor: pointer;
transition: background 0.3s ease;
}
.toggle-switch.active {
background: var(--bp-primary);
}
.toggle-switch-handle {
position: absolute;
top: 3px;
left: 3px;
width: 20px;
height: 20px;
background: white;
border-radius: 50%;
transition: transform 0.3s ease;
}
.toggle-switch.active .toggle-switch-handle {
transform: translateX(22px);
}
/* Light Mode Overrides */
[data-theme="light"] .notification-panel {
background: var(--bp-surface);
border-color: var(--bp-border);
}
[data-theme="light"] .notification-item.unread {
background: rgba(14, 165, 233, 0.05);
}
[data-theme="light"] .notification-item.unread::before {
background: var(--bp-primary);
}

View File

@@ -0,0 +1,124 @@
/* ==========================================
SUSPENSION OVERLAY STYLES
Account suspension/blocking display
========================================== */
.suspension-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.9);
z-index: 20000;
justify-content: center;
align-items: center;
backdrop-filter: blur(8px);
}
.suspension-overlay.active {
display: flex;
}
.suspension-content {
background: var(--bp-surface);
border-radius: 20px;
width: 90%;
max-width: 500px;
padding: 40px;
text-align: center;
box-shadow: 0 20px 60px rgba(0,0,0,0.5);
border: 1px solid var(--bp-danger);
}
.suspension-icon {
font-size: 64px;
margin-bottom: 20px;
}
.suspension-title {
font-size: 24px;
font-weight: 700;
color: var(--bp-danger);
margin-bottom: 16px;
}
.suspension-message {
font-size: 15px;
color: var(--bp-text-muted);
line-height: 1.6;
margin-bottom: 24px;
}
.suspension-reason {
background: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.3);
border-radius: 12px;
padding: 16px;
margin-bottom: 24px;
}
.suspension-reason-label {
font-size: 12px;
color: var(--bp-text-muted);
margin-bottom: 8px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.suspension-reason-text {
font-size: 14px;
color: var(--bp-text);
}
.suspension-actions {
display: flex;
flex-direction: column;
gap: 12px;
}
.suspension-btn {
padding: 14px 24px;
border-radius: 10px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
border: none;
}
.suspension-btn-primary {
background: var(--bp-btn-primary-bg);
color: white;
}
.suspension-btn-primary:hover {
background: var(--bp-btn-primary-hover);
}
.suspension-btn-secondary {
background: transparent;
border: 1px solid var(--bp-border);
color: var(--bp-text);
}
.suspension-btn-secondary:hover {
border-color: var(--bp-primary);
color: var(--bp-primary);
}
.suspension-countdown {
font-size: 12px;
color: var(--bp-text-muted);
margin-top: 16px;
}
/* Light Mode Overrides */
[data-theme="light"] .suspension-content {
background: var(--bp-surface);
}
[data-theme="light"] .suspension-reason {
background: rgba(239, 68, 68, 0.05);
}