/* ===== BASE THEME (Workbench / HMI) ===== */ :root{ --bg:#0b1020; --card:rgba(255,255,255,0.08); --border:rgba(255,255,255,0.14); --text:rgba(255,255,255,0.92); --muted:rgba(255,255,255,0.6); --accent:#4f7cff; --ok:#22c55e; --warn:#f59e0b; --bad:#ef4444; --shadow:0 16px 60px rgba(0,0,0,.4); --radius:20px; } *{box-sizing:border-box} html,body{height:100%} body{ margin:0; padding:16px; font-family:-apple-system,system-ui,Segoe UI,Roboto; background: radial-gradient(900px 600px at 20% 10%, rgba(79,124,255,.35), transparent 60%), var(--bg); color:var(--text); } a{color:inherit;text-decoration:none} p{color:var(--muted);line-height:1.6} small{color:var(--muted)} /* ===== LAYOUT ===== */ .app{ max-width:1600px; margin:0 auto; min-height:100%; display:flex; flex-direction:column; gap:16px; } .topbar{ display:flex; align-items:center; justify-content:space-between; gap:12px; } .brand{ display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.2px; } .logo{ width:34px;height:34px;border-radius:14px; background:linear-gradient(135deg,#4f7cff,#22c55e); box-shadow:0 12px 35px rgba(0,0,0,.45); border:1px solid rgba(255,255,255,.18); } .nav{ display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; } .pill{ padding:8px 12px; border-radius:999px; border:1px solid var(--border); background:rgba(255,255,255,.06); } .pill:hover{filter:brightness(1.08)} .panel{ background:linear-gradient(180deg,var(--card),rgba(255,255,255,.04)); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; } .header{ padding:14px 18px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--border); } .header h1{ margin:0; font-size:18px; } .content{padding:18px} .grid{ display:grid; grid-template-columns:repeat(12,1fr); gap:14px; } .card{ background:rgba(0,0,0,.12); border:1px solid var(--border); border-radius:var(--radius); padding:16px; } .col-12{grid-column:span 12} .col-8{grid-column:span 8} .col-6{grid-column:span 6} .col-4{grid-column:span 4} @media (max-width: 920px){ .col-8,.col-6,.col-4{grid-column:span 12} } /* ===== CONTROLS ===== */ .controls{ display:flex; gap:12px; align-items:flex-end; flex-wrap:wrap; } .field{ display:flex; flex-direction:column; gap:6px; min-width:220px; flex:1 1 240px; } label{font-size:12px;color:var(--muted)} input, select{ height:44px; padding:10px 14px; border-radius:14px; border:1px solid var(--border); background:rgba(255,255,255,.06); color:var(--text); outline:none; } input::placeholder{color:rgba(255,255,255,.35)} .btnrow{ display:flex; gap:10px; flex-wrap:wrap; } button{ height:44px; padding:10px 18px; border-radius:14px; border:0; background:var(--accent); color:#fff; cursor:pointer; font-weight:650; } button.secondary{ background:rgba(255,255,255,.10); border:1px solid var(--border); } button:hover{filter:brightness(1.1)} .kpi{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:14px 14px; border-radius:18px; border:1px solid var(--border); background:rgba(255,255,255,.05); } .kpi .name{color:var(--muted);font-size:12px} .kpi .value{font-size:26px;font-weight:800;letter-spacing:-.3px} .kpi .hint{color:var(--muted);font-size:12px} .badge{ padding:6px 10px; border-radius:999px; border:1px solid var(--border); background:rgba(0,0,0,.14); font-size:12px; color:var(--muted); white-space:nowrap; } .badge.ok{background:rgba(34,197,94,.16); color:rgba(34,197,94,.95); border-color:rgba(34,197,94,.25)} .badge.warn{background:rgba(245,158,11,.16); color:rgba(245,158,11,.95); border-color:rgba(245,158,11,.25)} .badge.bad{background:rgba(239,68,68,.16); color:rgba(239,68,68,.95); border-color:rgba(239,68,68,.25)} /* Language Switcher */ .lang-switcher{ display:flex; gap:6px; align-items:center; } .lang-switch{ padding:4px 8px; border-radius:8px; border:1px solid var(--border); background:rgba(255,255,255,.04); font-size:11px; cursor:pointer; transition:all .2s; color:var(--muted); } .lang-switch:hover{ background:rgba(255,255,255,.08); color:var(--text); } .lang-switch.active{ background:var(--accent); border-color:var(--accent); color:#fff; } .hr{height:1px;background:var(--border);margin:14px 0} .mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace; color:rgba(255,255,255,.85); font-size:13px; background:rgba(0,0,0,.18); border:1px solid var(--border); border-radius:16px; padding:12px 14px; overflow:auto; } .footer-note{ color:var(--muted); font-size:12px; } /* ===== MODAL (Workbench style) ===== */ /* ===== MODAL (Workbench / HMI style) ===== */ .modal{ position:fixed; inset:0; /* dunkler + weniger transparent */ background:rgba(5, 8, 18, 0.75); /* Hintergrund verwischen */ backdrop-filter: blur(8px) saturate(110%); -webkit-backdrop-filter: blur(8px) saturate(110%); display:flex; align-items:center; justify-content:center; padding:16px; z-index:9999; } .modal.hidden{ display:none; } .modal-card{ width:min(980px, 96vw); max-height:86vh; overflow:auto; /* bleibt klar lesbar */ background:linear-gradient( 180deg, rgba(20,25,45,0.95), rgba(12,16,32,0.92) ); border:1px solid var(--border); border-radius:var(--radius); box-shadow: 0 30px 90px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.04); /* subtiler iOS/HMI Look */ backdrop-filter: blur(2px); } /* Make card tiles clickable but keep theme */ .card .btnrow{ margin-top:10px; }