/* AegisSight Design System - Verwaltungsportal (Navy/Gold, Dark = Standard, Light per Umschalter) */ :root { --bg-primary: #0B1121; --bg-secondary: #151D2E; --bg-tertiary: #1A2440; --bg-hover: #1A2440; --text-primary: #E8ECF4; --text-secondary: #8896AB; --text-muted: #95A3B8; --accent: #C8A851; --accent-hover: #B5923E; --success: #10B981; --warning: #F59E0B; --danger: #EF4444; --info: #7C8DB5; --border: #1E2D45; --radius: 6px; --radius-lg: 8px; --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5); --font-title: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; /* Das Navy-Logo liegt im Dark-Theme auf einer hellen Plakette */ --logo-plaque: rgba(232, 236, 240, 0.9); } /* Light-Theme. Akzent wie im Monitor auf das dunklere Gold abgesenkt, #C8A851 schafft auf hellem Grund den WCAG-Kontrast nicht. */ [data-theme="light"] { --bg-primary: #F4F5F7; --bg-secondary: #FFFFFF; --bg-tertiary: #E8EBF0; --bg-hover: #E8EBF0; --text-primary: #1A202C; --text-secondary: #4A5568; --text-muted: #A0AEC0; --accent: #96791A; --accent-hover: #7D6516; --success: #059669; --warning: #D97706; --danger: #DC2626; --info: #4A5568; --border: #E2E8F0; --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12); --logo-plaque: transparent; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: var(--font-body); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; min-height: 100vh; } h1, h2, h3, .logo, .stat-value, .token-stat-value { font-family: var(--font-title); } /* --- Login Page --- */ .login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; } .login-container { width: 100%; max-width: 400px; } .login-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 32px; } .login-header { text-align: center; margin-bottom: 32px; } .login-header h1 { color: var(--accent); font-size: 28px; font-weight: 700; margin-bottom: 4px; } .login-header .subtitle { color: var(--text-secondary); font-size: 14px; } /* --- Forms --- */ .form-group { margin-bottom: 16px; } .form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; } input[type="text"], input[type="password"], input[type="email"], input[type="number"], select, textarea { width: 100%; padding: 10px 12px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-primary); font-size: 14px; outline: none; transition: border-color 0.2s; } input:focus, select:focus, textarea:focus { border-color: var(--accent); } .error-msg { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); color: #fca5a5; padding: 10px 12px; border-radius: var(--radius); font-size: 13px; margin-bottom: 16px; } /* --- Buttons --- */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; border: none; border-radius: var(--radius); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s; text-decoration: none; } .btn:disabled { opacity: 0.5; cursor: not-allowed; } .btn-primary { background: var(--accent); color: var(--bg-primary); } .btn-primary:hover:not(:disabled) { background: var(--accent-hover); } .btn-secondary { background: var(--bg-tertiary); color: var(--text-primary); } .btn-secondary:hover:not(:disabled) { background: var(--border); } .btn-danger { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); } .btn-danger:hover:not(:disabled) { background: rgba(239, 68, 68, 0.3); } .btn-success { background: rgba(34, 197, 94, 0.2); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.3); } .btn-success:hover:not(:disabled) { background: rgba(34, 197, 94, 0.3); } .btn-small { padding: 4px 10px; font-size: 12px; } .btn-full { width: 100%; padding: 12px; font-size: 15px; } /* --- Dashboard Layout --- */ .app-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; background: var(--bg-secondary); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; } .app-header .logo { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 18px; font-weight: 700; } .app-header .logo span { color: var(--text-secondary); font-weight: 400; font-size: 13px; margin-left: 2px; } /* Navy-Logo bleibt auch im Dark-Theme, liegt dort auf heller Plakette */ .logo-plaque { display: flex; align-items: center; background: var(--logo-plaque); border-radius: 8px; padding: 3px 6px; } .logo-plaque img { height: 24px; display: block; } .header-right { display: flex; align-items: center; gap: 16px; } .header-user { color: var(--text-secondary); font-size: 13px; } .app-content { max-width: 1200px; margin: 0 auto; padding: 24px; } /* --- Navigation Tabs --- */ .nav-tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 0; } .nav-tab { padding: 10px 20px; background: none; border: none; color: var(--text-secondary); font-size: 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.2s; display: inline-flex; align-items: center; gap: 7px; } .nav-tab svg { flex-shrink: 0; } .nav-tab:hover { color: var(--text-primary); } .nav-tab.active { color: var(--accent); border-bottom-color: var(--accent); } /* --- Stats Cards --- */ .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; } .stat-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; } .stat-card .stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; } .stat-card .stat-value { font-size: 28px; font-weight: 700; color: var(--text-primary); } .stat-card .stat-sub { font-size: 12px; color: var(--text-secondary); margin-top: 4px; } /* --- Cards --- */ .card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 16px; } .card-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); } .card-header h2 { font-size: 16px; font-weight: 600; } .card-body { padding: 20px; } /* --- Tables --- */ /* Filter-Selects */ .filter-select { padding: 6px 10px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg-secondary); color: var(--text-primary); font-size: 13px; cursor: pointer; } /* Sortierbare Spalten */ th.sortable { cursor: pointer; user-select: none; white-space: nowrap; } th.sortable:hover { color: var(--text-primary); } .sort-icon { font-size: 10px; opacity: 0.7; } .text-right { text-align: right; } .table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; } th { text-align: left; padding: 10px 12px; font-size: 12px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border); } td { padding: 12px; font-size: 14px; border-bottom: 1px solid rgba(51, 65, 85, 0.5); vertical-align: middle; } tr:hover td { background: rgba(51, 65, 85, 0.2); } /* --- Badges --- */ .badge { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; } .badge-active { background: rgba(34, 197, 94, 0.2); color: #86efac; } .badge-inactive { background: rgba(239, 68, 68, 0.2); color: #fca5a5; } .badge-trial { background: rgba(59, 130, 246, 0.2); color: #93c5fd; } .badge-annual { background: rgba(168, 85, 247, 0.2); color: #d8b4fe; } .badge-permanent { background: rgba(245, 158, 11, 0.2); color: #fcd34d; } .badge-expired { background: rgba(239, 68, 68, 0.2); color: #fca5a5; } .badge-revoked { background: rgba(100, 116, 139, 0.2); color: #94a3b8; } .badge-none { background: rgba(100, 116, 139, 0.15); color: #64748b; } /* --- Modal --- */ .modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 1000; align-items: center; justify-content: center; padding: 20px; } .modal-overlay.active { display: flex; } .modal { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 100%; max-width: 480px; max-height: 80vh; overflow-y: auto; } .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); } .modal-header h3 { font-size: 16px; font-weight: 600; } .modal-close { background: none; border: none; color: var(--text-secondary); font-size: 20px; cursor: pointer; padding: 4px; } .modal-body { padding: 20px; } .modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 20px; border-top: 1px solid var(--border); } /* --- Section views --- */ .section { display: none; } .section.active { display: block; } /* --- Action bar --- */ .action-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; } .search-input { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; color: var(--text-primary); font-size: 13px; width: 240px; outline: none; } .search-input:focus { border-color: var(--accent); } /* --- Expiring licenses --- */ .expiring-list { list-style: none; } .expiring-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(51, 65, 85, 0.5); font-size: 14px; } .expiring-item:last-child { border-bottom: none; } .expiring-date { color: var(--warning); font-size: 13px; font-weight: 500; } /* --- Recent activity --- */ .activity-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 13px; } .activity-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; } .activity-icon.org { background: rgba(59, 130, 246, 0.2); color: #93c5fd; } .activity-icon.user { background: rgba(34, 197, 94, 0.2); color: #86efac; } /* --- Org detail panel --- */ .detail-panel { display: none; } .detail-panel.active { display: block; } .detail-back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 13px; cursor: pointer; background: none; border: none; margin-bottom: 16px; } .detail-back:hover { color: var(--text-primary); } /* --- Responsive --- */ @media (max-width: 768px) { .app-content { padding: 16px; } .stats-grid { grid-template-columns: 1fr 1fr; } .nav-tabs { overflow-x: auto; } .action-bar { flex-direction: column; align-items: stretch; } .search-input { width: 100%; } } /* --- Utility --- */ .text-muted { color: var(--text-muted); } .text-secondary { color: var(--text-secondary); } .text-accent { color: var(--accent); } .text-success { color: var(--success); } .text-danger { color: var(--danger); } .text-warning { color: var(--warning); } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .hidden { display: none !important; } /* --- Loading spinner --- */ .spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.6s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* --- Confirm dialog --- */ .confirm-text { font-size: 14px; line-height: 1.6; margin-bottom: 8px; } /* --- Health & Suggestion Badges --- */ .badge-health-error { background: rgba(239, 68, 68, 0.2); color: #fca5a5; } .badge-health-warning { background: rgba(245, 158, 11, 0.2); color: #fcd34d; } .badge-health-ok { background: rgba(34, 197, 94, 0.2); color: #86efac; } .badge-suggestion-add_source { background: rgba(59, 130, 246, 0.2); color: #93c5fd; } .badge-suggestion-deactivate_source { background: rgba(245, 158, 11, 0.2); color: #fcd34d; } .badge-suggestion-remove_source { background: rgba(239, 68, 68, 0.2); color: #fca5a5; } .badge-suggestion-fix_url { background: rgba(168, 85, 247, 0.2); color: #d8b4fe; } .badge-priority-high { background: rgba(239, 68, 68, 0.2); color: #fca5a5; } .badge-priority-medium { background: rgba(245, 158, 11, 0.2); color: #fcd34d; } .badge-priority-low { background: rgba(100, 116, 139, 0.2); color: #94a3b8; } /* Source Info Toggle */ .src-info-toggle { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-tertiary); color: var(--text-secondary); font-size: 13px; cursor: pointer; margin-right: 6px; transition: background 0.15s, color 0.15s; vertical-align: middle; user-select: none; } .src-info-toggle:hover, .src-info-toggle.active { background: var(--accent); color: #fff; } .src-notes-row .src-notes-cell { padding: 10px 16px 12px 36px; background: var(--bg-tertiary); color: var(--text-secondary); font-size: 12.5px; line-height: 1.5; border-bottom: 1px solid var(--border); white-space: pre-wrap; } /* Category Header Rows in Source Table */ .cat-header-row td { background: var(--bg-tertiary) !important; border-bottom: 2px solid var(--accent); padding: 10px 16px !important; font-size: 0; } .cat-header-label { font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; } .cat-header-count { font-size: 11px; color: var(--text-secondary); margin-left: 8px; font-weight: 400; } .cat-header-count::before { content: "("; } .cat-header-count::after { content: ")"; } /* ===== Token-Nutzung Tab ===== */ .token-overview { padding: 4px 0; } .token-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; } .token-stat-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 8px; padding: 16px; text-align: center; } .token-stat-label { font-size: 12px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; } .token-stat-value { font-size: 22px; font-weight: 700; color: var(--text-primary); } .token-budget-bar-section { margin-bottom: 16px; } .token-budget-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; } .token-budget-bar-container { width: 100%; height: 10px; background: var(--bg-tertiary); border-radius: 5px; overflow: hidden; } .token-budget-bar { height: 100%; border-radius: 5px; background: var(--accent); transition: width 0.6s ease, background-color 0.3s ease; } .token-budget-bar.warning { background: #e67e22; } .token-budget-bar.critical { background: #e74c3c; } @media (max-width: 768px) { .token-stats-row { grid-template-columns: repeat(2, 1fr); } } /* === Audit-Log === */ .audit-row { cursor: pointer; } .audit-row:hover { background: var(--bg-hover, rgba(255,255,255,0.03)); } .audit-detail-row td { background: var(--bg-tertiary, #0f172a); padding: 12px 16px; } .audit-diff { width: 100%; border-collapse: collapse; font-size: 12px; } .audit-diff th, .audit-diff td { padding: 4px 8px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; } .audit-diff th { font-weight: 600; color: var(--text-secondary); } .audit-diff .diff-key { font-weight: 600; color: var(--text-secondary); width: 180px; word-break: break-word; } .audit-diff .diff-old { color: #e74c3c; word-break: break-word; } .audit-diff .diff-new { color: #2ecc71; word-break: break-word; } .token-budget-bar.over-limit { background: repeating-linear-gradient(45deg, #c0392b, #c0392b 6px, #962d22 6px, #962d22 12px); } input[type="date"].filter-select { padding: 6px 10px; } /* === Toast-Notifications (Phase 3) === */ .toast-container { position: fixed; top: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; max-width: 380px; pointer-events: none; } .toast { background: #1e293b; border: 1px solid #334155; border-left-width: 4px; border-radius: 8px; padding: 12px 16px; color: #e2e8f0; font-size: 14px; line-height: 1.4; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); pointer-events: auto; animation: toast-in 0.18s ease-out; } .toast.toast-out { animation: toast-out 0.18s ease-in forwards; } .toast-info { border-left-color: #3b82f6; } .toast-success { border-left-color: #10b981; } .toast-warning { border-left-color: #f59e0b; } .toast-error { border-left-color: #ef4444; } @keyframes toast-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } } @keyframes toast-out { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(20px); } } /* === Sources Stats-Bar (Phase 4) === */ .sources-stats-bar { display: flex; flex-wrap: wrap; gap: 14px; padding: 12px 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; margin-bottom: 14px; font-size: 13px; } .sources-stat-item { display: inline-flex; align-items: baseline; gap: 6px; color: #94a3b8; } .sources-stat-value { color: #f0b429; font-weight: 600; font-size: 15px; } .sources-stat-item.health-error .sources-stat-value { color: #ef4444; } .sources-stat-item.health-warning .sources-stat-value { color: #f59e0b; } .sources-stat-item.health-ok .sources-stat-value { color: #10b981; } /* Health-Badge inline in Tabellenzeile */ .health-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; } .health-badge-error { background: rgba(239, 68, 68, 0.15); color: #ef4444; } .health-badge-warning { background: rgba(245, 158, 11, 0.15); color: #f59e0b; } .health-badge-ok { background: rgba(16, 185, 129, 0.15); color: #10b981; } .health-badge-unknown { background: rgba(148, 163, 184, 0.15); color: #94a3b8; } /* === Audit-Spur (Phase 5) === */ .modal.modal-large { max-width: 720px; } .audit-content { max-height: 60vh; overflow-y: auto; } .audit-entry { border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; background: rgba(255, 255, 255, 0.02); } .audit-entry-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; } .audit-entry-action { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } .audit-action-create { background: rgba(16, 185, 129, 0.2); color: #10b981; } .audit-action-update { background: rgba(59, 130, 246, 0.2); color: #3b82f6; } .audit-action-delete { background: rgba(239, 68, 68, 0.2); color: #ef4444; } .audit-action-login_success { background: rgba(16, 185, 129, 0.15); color: #10b981; } .audit-action-login_failed { background: rgba(245, 158, 11, 0.15); color: #f59e0b; } .audit-action-login_blocked { background: rgba(239, 68, 68, 0.2); color: #ef4444; } .audit-entry-meta { color: #94a3b8; font-size: 12px; } .audit-entry-detail { margin-top: 8px; } .audit-entry-detail summary { cursor: pointer; font-size: 12px; color: #94a3b8; user-select: none; } .audit-entry-detail pre { margin: 6px 0 0 0; padding: 8px 10px; background: rgba(0, 0, 0, 0.3); border-radius: 4px; font-size: 11px; line-height: 1.4; overflow-x: auto; color: #e2e8f0; max-height: 240px; } /* === Verwendungs-Sicht (Phase 6) === */ .activity-cell { font-variant-numeric: tabular-nums; color: #94a3b8; font-size: 12px; } .activity-cell strong { color: #e2e8f0; font-weight: 600; } .activity-cell.activity-zero { color: #475569; } .exclude-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; background: rgba(239, 68, 68, 0.15); color: #ef4444; } .exclude-badge.exclude-zero { background: transparent; color: #475569; font-weight: 400; } /* === Klassifikations-Review === */ .sources-tab-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; padding: 0 6px; height: 18px; border-radius: 9px; background: var(--accent); color: var(--bg-primary); font-size: 10px; font-weight: 700; } .review-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; flex-wrap: wrap; gap: 12px; } .review-toolbar-info { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-primary); } .review-conf-filter { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary); } .review-toolbar-actions { display: flex; gap: 6px; } .review-list { display: flex; flex-direction: column; gap: 8px; } .review-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; } .review-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; } .review-card-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .review-card-name { font-weight: 600; font-size: 14px; color: var(--text-primary); } .review-card-domain { font-size: 11px; color: var(--text-muted); } .review-global-badge { display: inline-flex; align-items: center; padding: 1px 6px; border-radius: var(--radius); background: #5e35b1; color: #fff; font-size: 9px; font-weight: 600; letter-spacing: 0.3px; text-transform: uppercase; } .review-card-confidence { display: inline-flex; flex-direction: column; align-items: center; padding: 4px 10px; border-radius: var(--radius); min-width: 60px; } .review-card-confidence .conf-value { font-size: 14px; font-weight: 700; } .review-card-confidence .conf-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.3px; opacity: 0.8; } .review-card-confidence.conf-high { background: rgba(34,197,94,0.15); color: var(--success); } .review-card-confidence.conf-medium { background: rgba(245,158,11,0.15); color: var(--warning); } .review-card-confidence.conf-low { background: rgba(239,68,68,0.15); color: var(--danger); } .review-card-diff { display: grid; grid-template-columns: 1fr; gap: 4px; font-size: 12px; margin-bottom: 10px; } .review-diff-row { display: grid; grid-template-columns: 130px 1fr 24px 1fr; align-items: center; gap: 8px; padding: 3px 6px; border-radius: 3px; } .review-diff-row.changed { background: rgba(245,158,11,0.10); } .review-diff-label { color: var(--text-secondary); font-weight: 500; } .review-diff-current { color: var(--text-muted); } .review-diff-arrow { text-align: center; color: var(--text-muted); font-weight: 600; } .review-diff-proposed { color: var(--text-primary); font-weight: 500; } .review-diff-row.changed .review-diff-proposed { color: var(--warning); font-weight: 600; } .review-card-reasoning { font-size: 12px; color: var(--text-secondary); background: var(--bg-tertiary); padding: 8px 10px; border-radius: var(--radius); margin-bottom: 10px; line-height: 1.5; } .review-card-actions { display: flex; gap: 6px; flex-wrap: wrap; } /* Edit-Form: Klassifikations-Sektion */ .sources-classification-section { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); } .sources-classification-header { font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 10px; letter-spacing: 0.3px; text-transform: uppercase; } .alignment-chips { display: flex; flex-wrap: wrap; gap: 6px; } .alignment-chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 500; background: transparent; color: var(--text-secondary); border: 1px solid var(--border); cursor: pointer; transition: all 0.12s ease; } .alignment-chip:hover { background: var(--bg-tertiary); color: var(--text-primary); } .alignment-chip.active { background: var(--accent); color: var(--bg-primary); border-color: var(--accent); } /* === Theme-Umschalter (goldener Schiebeschalter, wie im Monitor) === */ .theme-switch { display: flex; align-items: center; gap: 6px; cursor: pointer; user-select: none; -webkit-user-select: none; } .theme-switch-icon { font-size: 14px; line-height: 1; opacity: 0.4; transition: opacity 0.3s; } .theme-switch.dark .theme-switch-moon, .theme-switch.light .theme-switch-sun { opacity: 1; } .theme-switch-track { position: relative; width: 40px; height: 22px; border-radius: 11px; background: var(--bg-tertiary); border: 1px solid var(--border); transition: background 0.3s, border-color 0.3s; flex-shrink: 0; } .theme-switch-knob { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(200, 168, 81, 0.3); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s; } .theme-switch.dark .theme-switch-knob { transform: translateX(18px); } .theme-switch.light .theme-switch-knob { transform: translateX(0); } .theme-switch:hover .theme-switch-track { border-color: var(--accent); } .theme-switch:hover .theme-switch-knob { box-shadow: 0 0 12px rgba(200, 168, 81, 0.5); } /* === Kleine Schalter-Optik (fuer das Barrierefreiheits-Panel) === */ .toggle-switch { position: relative; display: inline-block; width: 34px; height: 18px; border-radius: 9px; background: var(--bg-tertiary); border: 1px solid var(--border); transition: background 0.2s ease; } .toggle-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--text-secondary); transition: transform 0.2s ease, background 0.2s ease; } /* === Barrierefreiheits-Panel (a11y.js haengt sich in .header-right ein) === */ .a11y-center { position: relative; } .a11y-btn { background: none; border: none; color: var(--text-secondary); cursor: pointer; padding: 6px 8px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; transition: color 0.2s ease, background 0.2s ease; width: 36px; height: 36px; } .a11y-btn:hover { color: var(--accent); background: var(--bg-hover); } .a11y-panel { position: absolute; top: calc(100% + 8px); right: 0; width: 240px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); z-index: 200; padding: 16px; } .a11y-panel-title { font-size: 12px; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.5px; margin-bottom: 12px; } .a11y-option { display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; font-size: 13px; color: var(--text-primary); user-select: none; } .a11y-option input[type="checkbox"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .a11y-option .toggle-switch { flex-shrink: 0; } .a11y-option input:focus-visible + .toggle-switch { outline: 2px solid var(--accent); outline-offset: 2px; } .a11y-option input:checked + .toggle-switch { background: var(--accent); } .a11y-option input:checked + .toggle-switch::after { transform: translateX(16px); background: var(--bg-primary); } /* === Barrierefreiheits-Modi === */ [data-a11y-contrast="true"] { --text-muted: #B0BDD0; --border: #3A4A66; } [data-a11y-contrast="true"] .btn-primary { color: #1A1A1A; } [data-a11y-contrast="true"][data-theme="light"] { --accent: #6B5714; --accent-hover: #5A4A11; --text-muted: #718096; --border: #94A3B8; } [data-a11y-focus="true"] a:focus-visible, [data-a11y-focus="true"] button:focus-visible, [data-a11y-focus="true"] input:focus-visible, [data-a11y-focus="true"] select:focus-visible, [data-a11y-focus="true"] textarea:focus-visible, [data-a11y-focus="true"] [tabindex]:focus-visible, [data-a11y-focus="true"] [role="button"]:focus-visible { outline: 3px solid var(--accent) !important; outline-offset: 2px !important; box-shadow: 0 0 0 4px rgba(200, 168, 81, 0.3) !important; } [data-a11y-fontsize="true"] body { zoom: 1.15; } [data-a11y-motion="true"] *, [data-a11y-motion="true"] *::before, [data-a11y-motion="true"] *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } /* === Icon-Ausrichtung in Knoepfen === */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; } .btn svg { flex-shrink: 0; } /* === Aufklappbarer Bereich (z.B. "Erweitert" im Verbrauchs-Formular) === */ details.adv-section { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 10px; } details.adv-section summary { cursor: pointer; color: var(--text-secondary); font-size: 13px; user-select: none; display: flex; align-items: center; gap: 6px; } details.adv-section summary:hover { color: var(--text-primary); } details.adv-section[open] summary { margin-bottom: 10px; } details.adv-section .adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } details.adv-section .adv-hint { grid-column: 1 / -1; font-size: 12px; color: var(--text-muted); margin: 0; } /* === Light-Theme: dunklere Text-Farben fuer Badges/Status === (Die Dark-Pastelltoene sind auf hellem Grund unlesbar. Automatisch abgeleitete Gegenstuecke, je Original-Farbton eine dunkle Variante.) */ [data-theme="light"] .error-msg { color: #B91C1C; } [data-theme="light"] .btn-danger { color: #B91C1C; } [data-theme="light"] .btn-success { color: #047857; } [data-theme="light"] .badge-active { color: #047857; } [data-theme="light"] .badge-inactive { color: #B91C1C; } [data-theme="light"] .badge-trial { color: #1D4ED8; } [data-theme="light"] .badge-annual { color: #7E22CE; } [data-theme="light"] .badge-permanent { color: #B45309; } [data-theme="light"] .badge-expired { color: #B91C1C; } [data-theme="light"] .badge-revoked { color: #475569; } [data-theme="light"] .badge-none { color: #475569; } [data-theme="light"] .activity-icon.org { color: #1D4ED8; } [data-theme="light"] .activity-icon.user { color: #047857; } [data-theme="light"] /* --- Health & Suggestion Badges --- */ .badge-health-error { color: #B91C1C; } [data-theme="light"] .badge-health-warning { color: #B45309; } [data-theme="light"] .badge-health-ok { color: #047857; } [data-theme="light"] .badge-suggestion-add_source { color: #1D4ED8; } [data-theme="light"] .badge-suggestion-deactivate_source { color: #B45309; } [data-theme="light"] .badge-suggestion-remove_source { color: #B91C1C; } [data-theme="light"] .badge-suggestion-fix_url { color: #7E22CE; } [data-theme="light"] .badge-priority-high { color: #B91C1C; } [data-theme="light"] .badge-priority-medium { color: #B45309; } [data-theme="light"] .badge-priority-low { color: #475569; } [data-theme="light"] .sources-stat-item { color: #475569; } [data-theme="light"] .health-badge-unknown { color: #475569; } [data-theme="light"] .audit-entry-meta { color: #475569; } [data-theme="light"] .audit-entry-detail summary { color: #475569; } [data-theme="light"] /* === Verwendungs-Sicht (Phase 6) === */ .activity-cell { color: #475569; } /* === Verlinkte Dashboard-Kacheln und -Karten === */ .stat-card-link { cursor: pointer; transition: border-color 0.15s ease, transform 0.15s ease; } .stat-card-link:hover, .stat-card-link:focus-visible { border-color: var(--accent); transform: translateY(-1px); } .card-link { cursor: pointer; transition: border-color 0.15s ease; } .card-link:hover, .card-link:focus-visible { border-color: var(--accent); } .card-link .card-link-chevron { color: var(--text-muted); transition: color 0.15s ease, transform 0.15s ease; } .card-link:hover .card-link-chevron { color: var(--accent); transform: translateX(2px); } /* === Org-Detail als durchgehende Seite (statt Unterreitern) === */ .detail-panel.active { display: flex; flex-direction: column; } .org-block { margin-top: 26px; scroll-margin-top: 120px; } #sub-tokens { order: 2; } #sub-users { order: 3; } #sub-settings { order: 4; } .org-block-title { font-size: 16px; margin-bottom: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--border); color: var(--text-primary); } /* === Kontingent-Spalte in der Org-Tabelle === */ .org-row { cursor: pointer; } .mini-bar { width: 90px; height: 5px; border-radius: 3px; background: var(--bg-tertiary); overflow: hidden; margin-top: 3px; } .mini-bar-fill { height: 100%; background: var(--success); border-radius: 3px; } .mini-bar-fill.warning { background: var(--warning); } .mini-bar-fill.critical { background: var(--danger); } /* === Klickbare Eintraege in der Ablauf-Liste === */ .expiring-item-link { cursor: pointer; border-radius: var(--radius); transition: background 0.15s ease; } .expiring-item-link:hover, .expiring-item-link:focus-visible { background: var(--bg-hover); } /* === Prominenter Org-Status-Umschalter in der Kopfzeile === */ .org-status-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; } .ost-btn { padding: 8px 18px; font-size: 14px; font-weight: 600; font-family: var(--font-body); background: var(--bg-secondary); color: var(--text-muted); border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: background 0.15s ease, color 0.15s ease; } .ost-btn + .ost-btn { border-left: 1px solid var(--border); } .ost-btn:hover { color: var(--text-primary); background: var(--bg-hover); } .ost-btn.on.ost-aktiv { background: rgba(16, 185, 129, 0.16); color: var(--success); } .ost-btn.on.ost-inaktiv { background: rgba(239, 68, 68, 0.16); color: var(--danger); }