/* Sovran_SystemsOS Hub — Web UI Stylesheet Dark theme matching the Adwaita dark aesthetic v6 — Status-only tiles (no controls) */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } :root { --bg-color: #1e1e2e; --surface-color: #2a2a3c; --card-color: #313244; --border-color: #45475a; --text-primary: #cdd6f4; --text-secondary: #a6adc8; --text-dim: #6c7086; --accent-color: #89b4fa; --green: #2ec27e; --yellow: #e5a50a; --red: #e01b24; --grey: #888888; --radius-card: 18px; --radius-btn: 8px; --shadow-card: 0 2px 8px rgba(0,0,0,0.4); --shadow-hover: 0 6px 20px rgba(0,0,0,0.6); } html, body { height: 100%; } body { font-family: 'Cantarell', 'Inter', 'Segoe UI', sans-serif; background-color: var(--bg-color); color: var(--text-primary); line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; } /* ── Header bar ─────────────────────────────────────────────────── */ .header-bar { background-color: var(--surface-color); border-bottom: 1px solid var(--border-color); padding: 10px 24px; display: flex; align-items: center; gap: 16px; position: sticky; top: 0; z-index: 100; } .header-bar .title { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); flex: 1; } .role-badge { background-color: var(--accent-color); color: #1e1e2e; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; letter-spacing: 0.03em; } /* ── Buttons ────────────────────────────────────────────────────── */ button { font-family: inherit; cursor: pointer; border: none; outline: none; transition: opacity 0.15s, box-shadow 0.15s, background-color 0.15s; } button:disabled { opacity: 0.45; cursor: default; } .btn { padding: 7px 16px; border-radius: var(--radius-btn); font-size: 0.88rem; font-weight: 600; } .btn-primary { background-color: var(--accent-color); color: #1e1e2e; } .btn-primary:hover:not(:disabled) { opacity: 0.88; } /* Update System button: BLUE by default */ .btn-update { background-color: #89b4fa; color: #1e1e2e; position: relative; display: flex; align-items: center; gap: 8px; } .btn-update:hover:not(:disabled) { opacity: 0.88; } /* Update System button: GREEN when updates are available */ .btn-update.has-updates { background-color: #2ec27e; color: #fff; } .btn-update.has-updates:hover:not(:disabled) { background-color: #27ae6e; } .update-badge { display: none; width: 10px; height: 10px; background-color: var(--yellow); border-radius: 50%; animation: pulse-badge 1.4s ease-in-out infinite; } .update-badge.visible { display: inline-block; } @keyframes pulse-badge { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.35); } } .btn-icon { background: none; color: var(--text-secondary); padding: 6px; border-radius: 50%; font-size: 1.1rem; line-height: 1; } .btn-icon:hover:not(:disabled) { background-color: var(--border-color); color: var(--text-primary); } /* ── IP bar ─────────────────────────────────────────────────────── */ .ip-bar { background-color: var(--surface-color); border-bottom: 1px solid var(--border-color); padding: 8px 24px; display: flex; align-items: center; justify-content: center; gap: 32px; font-size: 0.82rem; color: var(--text-secondary); } .ip-bar .ip-label { color: var(--text-dim); margin-right: 6px; } .ip-bar .ip-value { font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', monospace; color: var(--accent-color); font-weight: 600; } .ip-separator { color: var(--border-color); } /* ── System status banner ────────────────────────────────────────── */ .status-banner { padding: 10px 24px; font-size: 0.85rem; font-weight: 600; text-align: center; transition: opacity 0.5s ease, max-height 0.3s ease; overflow: hidden; } .status-banner--ok { background-color: rgba(46, 194, 126, 0.15); border-bottom: 1px solid var(--green); color: var(--green); } .status-banner--warn { background-color: rgba(229, 165, 10, 0.08); border-bottom: 1px solid rgba(229, 165, 10, 0.4); color: var(--text-secondary); } .status-banner--critical { background-color: rgba(224, 27, 36, 0.08); border-bottom: 1px solid rgba(224, 27, 36, 0.4); color: var(--text-secondary); } .status-banner--fade-out { opacity: 0; pointer-events: none; } .status-banner-details { margin-top: 8px; text-align: left; max-width: 720px; margin-left: auto; margin-right: auto; } .status-banner-toggle { background: none; border: none; font: inherit; color: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; text-decoration: underline; padding: 0; opacity: 0.8; } .status-banner-toggle:hover { opacity: 1; } .status-banner-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 0.8rem; color: var(--text-secondary); } .status-banner-table th { text-align: left; padding: 4px 8px; opacity: 0.7; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.72rem; border-bottom: 1px solid var(--border-color); } .status-banner-table td { padding: 4px 8px; vertical-align: top; } .status-banner-table td:first-child { font-weight: 600; white-space: nowrap; } .status-banner-port { font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', monospace; font-size: 0.78rem; font-weight: 600; } @media (max-width: 768px) { .status-banner { padding: 10px 16px; } .status-banner-details { max-width: 100%; } } @media (max-width: 600px) { .status-banner { padding: 10px 14px; font-size: 0.82rem; } .status-banner-table th, .status-banner-table td { padding: 4px 4px; } } /* ── Main content ───────────────────────────────────────────────── */ .main-content { display: flex; align-items: flex-start; flex: 1; overflow: hidden; } /* ── Sidebar ────────────────────────────────────────────────────── */ .sidebar { width: 270px; flex-shrink: 0; height: 100%; overflow-y: auto; border-right: 1px solid var(--border-color); background-color: var(--surface-color); padding: 20px 14px; display: flex; flex-direction: column; gap: 0; } /* ── Sidebar: Tech Support button ───────────────────────────────── */ .sidebar-support-btn { display: flex; align-items: center; gap: 10px; width: 100%; background-color: var(--card-color); border: 2px dashed var(--accent-color); border-radius: 12px; padding: 12px 14px; color: var(--text-primary); cursor: pointer; transition: border-style 0.15s, border-color 0.15s, background-color 0.15s; text-align: left; } .sidebar-support-btn:hover { border-style: solid; border-color: #a8c8ff; background-color: #35354a; } .sidebar-support-icon { font-size: 1.5rem; flex-shrink: 0; } .sidebar-support-text { display: flex; flex-direction: column; gap: 2px; } .sidebar-support-title { font-size: 0.88rem; font-weight: 700; color: var(--text-primary); } .sidebar-support-hint { font-size: 0.72rem; color: var(--accent-color); font-weight: 600; } .sidebar-divider { border: none; border-top: 1px solid var(--border-color); margin: 16px 0; } /* ── Tiles area ─────────────────────────────────────────────────── */ #tiles-area { flex: 1; height: 100%; overflow-y: auto; padding: 24px 20px 48px; min-width: 0; } /* ── Category sections ──────────────────────────────────────────── */ .category-section { margin-bottom: 32px; } .section-header { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 4px; padding-left: 4px; } .section-divider { border: none; border-top: 1px solid var(--border-color); margin-bottom: 16px; } .tiles-grid { display: flex; flex-wrap: wrap; gap: 14px; } /* ── Service tile card (status-only) ─────────────────────────────── */ .service-tile { width: 160px; min-height: 150px; background-color: var(--card-color); border: 1px solid var(--border-color); border-radius: var(--radius-card); box-shadow: var(--shadow-card); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 12px 18px; gap: 0; transition: box-shadow 0.2s, border-color 0.2s; position: relative; } .service-tile:hover { box-shadow: var(--shadow-hover); border-color: #6c7086; } .service-tile.disabled { opacity: 0.45; } /* Info badge on tiles with credentials */ .tile-info-btn { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background-color: var(--accent-color); color: #1e1e2e; font-size: 0.75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; transition: transform 0.15s, background-color 0.15s; line-height: 1; } .tile-info-btn:hover { transform: scale(1.15); background-color: #a8c8ff; } .tile-icon { width: 48px; height: 48px; object-fit: contain; margin-bottom: 10px; } .tile-icon-fallback { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background-color: var(--border-color); border-radius: 12px; color: var(--text-dim); font-size: 1.5rem; margin-bottom: 10px; } .tile-name { font-size: 0.88rem; font-weight: 600; text-align: center; color: var(--text-primary); line-height: 1.3; max-width: 140px; word-break: break-word; hyphens: auto; min-height: 1.3em; display: flex; align-items: center; justify-content: center; } .tile-status { font-size: 0.75rem; margin-top: 8px; display: flex; align-items: center; gap: 5px; color: var(--text-secondary); } .status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background-color: var(--grey); } .status-dot.active { background-color: var(--green); } .status-dot.inactive { background-color: var(--red); } .status-dot.loading { background-color: var(--yellow); animation: pulse-badge 1s infinite; } .status-dot.failed { background-color: var(--red); } .status-dot.disabled { background-color: var(--grey); } /* ── Update modal ─────────────────────────────────���─────────────── */ .modal-overlay { display: none; position: fixed; inset: 0; background-color: rgba(0,0,0,0.65); z-index: 200; align-items: center; justify-content: center; } .modal-overlay.open { display: flex; } .modal-dialog { background-color: var(--surface-color); border: 1px solid var(--border-color); border-radius: 16px; width: 90vw; max-width: 900px; max-height: 80vh; display: flex; flex-direction: column; box-shadow: 0 16px 48px rgba(0,0,0,0.7); } .modal-header { display: flex; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border-color); gap: 12px; } .modal-title { font-size: 1rem; font-weight: 700; flex: 1; } .modal-status { font-size: 0.85rem; color: var(--text-secondary); } .modal-spinner { width: 18px; height: 18px; border: 2.5px solid var(--border-color); border-top-color: var(--accent-color); border-radius: 50%; animation: spin 0.75s linear infinite; display: none; } .modal-spinner.spinning { display: block; } @keyframes spin { to { transform: rotate(360deg); } } .modal-log { flex: 1; overflow-y: auto; padding: 12px 16px; font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', monospace; font-size: 0.78rem; line-height: 1.6; color: var(--text-primary); background-color: #12121c; white-space: pre-wrap; word-break: break-all; min-height: 200px; } .modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--border-color); } /* Reboot = GREEN */ .modal-footer .btn-reboot, button.btn-reboot { background-color: #2ec27e; color: #fff; } .modal-footer .btn-reboot:hover:not(:disabled), button.btn-reboot:hover:not(:disabled) { background-color: #27ae6e; } .btn-save { background-color: var(--yellow); color: #1e1e2e; } .btn-save:hover:not(:disabled) { background-color: #c98d08; } .btn-close-modal { background-color: var(--border-color); color: var(--text-primary); } .btn-close-modal:hover:not(:disabled) { background-color: #5a5c72; } /* ── Credentials info modal ──────────────────────────────────────── */ .creds-dialog { background-color: var(--surface-color); border: 1px solid var(--border-color); border-radius: 16px; width: 90vw; max-width: 700px; max-height: 85vh; display: flex; flex-direction: column; box-shadow: 0 16px 48px rgba(0,0,0,0.7); animation: creds-fade-in 0.2s ease-out; } @keyframes creds-fade-in { from { opacity: 0; transform: scale(0.95) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } } .creds-header { display: flex; align-items: center; padding: 20px 28px; border-bottom: 1px solid var(--border-color); } .creds-title { font-size: 1.15rem; font-weight: 700; flex: 1; } .creds-close-btn { background: none; color: var(--text-secondary); font-size: 1.3rem; padding: 4px 8px; border-radius: 6px; cursor: pointer; border: none; } .creds-close-btn:hover { background-color: var(--border-color); color: var(--text-primary); } .creds-body { padding: 24px 28px; overflow-y: auto; } .creds-loading { color: var(--text-dim); text-align: center; padding: 24px 0; } .creds-row { margin-bottom: 20px; } .creds-row:last-child { margin-bottom: 0; } .creds-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); margin-bottom: 6px; } .creds-value-wrap { display: flex; align-items: flex-start; gap: 10px; } .creds-value { flex: 1; font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', monospace; font-size: 0.92rem; color: var(--text-primary); background-color: #12121c; padding: 12px 16px; border-radius: 8px; word-break: break-all; white-space: pre-wrap; line-height: 1.6; border: 1px solid var(--border-color); } .creds-copy-btn { background-color: var(--border-color); color: var(--text-primary); font-size: 0.78rem; font-weight: 600; padding: 8px 14px; border-radius: 6px; cursor: pointer; border: none; white-space: nowrap; flex-shrink: 0; align-self: flex-start; margin-top: 10px; } .creds-copy-btn:hover { background-color: #5a5c72; } .creds-copy-btn.copied { background-color: var(--green); color: #fff; } .creds-empty { color: var(--text-dim); text-align: center; padding: 24px 0; font-size: 0.88rem; } /* ── Credential links ────────────────────────────────────────────── */ .creds-link { color: #b8f0c0; text-decoration: none; word-break: break-all; } .creds-link:hover { text-decoration: underline; color: #defce6; } /* ── Matrix action buttons ───────────────────────────────────────── */ .matrix-actions-divider { border: none; border-top: 1px solid var(--border-color); margin: 18px 0 14px; } .matrix-actions-row { display: flex; gap: 12px; flex-wrap: wrap; } .matrix-action-btn { background-color: var(--accent-color); color: #0f0f19; font-size: 0.88rem; font-weight: 700; padding: 10px 18px; border-radius: 8px; border: none; cursor: pointer; flex: 1; min-width: 140px; } .matrix-action-btn:hover { background-color: #a8c8ff; } .matrix-form-group { margin-bottom: 14px; } .matrix-form-label { display: block; font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 6px; font-weight: 600; } .matrix-form-input { width: 100%; background-color: #12121c; color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 8px; padding: 10px 12px; font-size: 0.9rem; box-sizing: border-box; } .matrix-form-input:focus { outline: none; border-color: var(--accent-color); } .matrix-form-checkbox-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; } .matrix-form-checkbox-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent-color); } .matrix-form-actions { display: flex; gap: 10px; margin-top: 18px; } .matrix-form-submit { background-color: var(--accent-color); color: #0f0f19; font-size: 0.88rem; font-weight: 700; padding: 10px 20px; border-radius: 8px; border: none; cursor: pointer; flex: 1; } .matrix-form-submit:hover:not(:disabled) { background-color: #a8c8ff; } .matrix-form-submit:disabled { opacity: 0.6; cursor: default; } .matrix-form-back { background-color: var(--border-color); color: var(--text-primary); font-size: 0.88rem; font-weight: 600; padding: 10px 20px; border-radius: 8px; border: none; cursor: pointer; } .matrix-form-back:hover { background-color: #5a5c72; } .matrix-form-result { margin-top: 14px; padding: 12px 16px; border-radius: 8px; font-size: 0.88rem; line-height: 1.5; display: none; } .matrix-form-result.success { background-color: rgba(74, 222, 128, 0.12); border: 1px solid var(--green); color: var(--green); display: block; } .matrix-form-result.error { background-color: rgba(239, 68, 68, 0.12); border: 1px solid #ef4444; color: #f87171; display: block; } /* ── QR code in credentials modal ────────────────────────────────── */ .creds-qr-wrap { display: flex; flex-direction: column; align-items: center; padding: 20px 0; margin-bottom: 10px; } .creds-qr-img { width: 240px; height: 240px; border-radius: 12px; border: 4px solid #fff; background-color: #fff; image-rendering: pixelated; box-shadow: 0 4px 16px rgba(0,0,0,0.4); } .creds-qr-hint { margin-top: 10px; font-size: 0.82rem; color: var(--text-secondary); font-style: italic; } /* ── Reboot overlay ─────────────────────────────────────────────── */ .reboot-overlay { display: none; position: fixed; inset: 0; background-color: rgba(15, 15, 25, 0.92); z-index: 999; align-items: center; justify-content: center; } .reboot-overlay.visible { display: flex; } .reboot-card { background-color: var(--surface-color); border: 1px solid var(--border-color); border-radius: 20px; padding: 48px 56px; text-align: center; max-width: 480px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8); animation: reboot-fade-in 0.4s ease-out; } @keyframes reboot-fade-in { from { opacity: 0; transform: scale(0.92) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } } .reboot-icon { font-size: 3rem; color: var(--accent-color); margin-bottom: 16px; animation: reboot-spin 2s linear infinite; display: inline-block; } @keyframes reboot-spin { to { transform: rotate(360deg); } } .reboot-title { font-size: 1.35rem; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; } .reboot-message { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 24px; } .reboot-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; } .reboot-dot { width: 10px; height: 10px; border-radius: 50%; background-color: var(--accent-color); animation: reboot-bounce 1.4s ease-in-out infinite; } .reboot-dot:nth-child(2) { animation-delay: 0.2s; } .reboot-dot:nth-child(3) { animation-delay: 0.4s; } @keyframes reboot-bounce { 0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); } 40% { opacity: 1; transform: scale(1.2); } } .reboot-submessage { font-size: 0.82rem; color: var(--text-dim); font-style: italic; } /* ── Empty state ────────────────────────────────────────────────── */ .empty-state { text-align: center; padding: 64px 24px; color: var(--text-dim); } .empty-state p { font-size: 1rem; margin-bottom: 8px; } /* ── Responsive ─────────────────────────────────────────────────── */ @media (max-width: 768px) { body { overflow: auto; } .main-content { flex-direction: column; overflow: visible; } .sidebar { width: 100%; height: auto; border-right: none; border-bottom: 1px solid var(--border-color); padding: 14px 12px; } #tiles-area { height: auto; overflow-y: visible; padding: 16px 12px 40px; } } @media (max-width: 600px) { .header-bar { padding: 10px 14px; gap: 10px; } .header-bar .title { font-size: 0.95rem; } .ip-bar { gap: 16px; flex-wrap: wrap; padding: 8px 14px; } .tiles-grid { justify-content: center; } .service-tile { width: 140px; min-height: 130px; } .reboot-card { padding: 36px 28px; margin: 0 16px; } .creds-dialog { margin: 0 12px; } .creds-qr-img { width: 200px; height: 200px; } } /* ── Tech Support tile ───────────────────────────────────────────── */ .support-tile { border-color: var(--accent-color); border-width: 2px; border-style: dashed; } .support-tile:hover { border-color: #a8c8ff; border-style: solid; } .support-status-label { font-size: 0.75rem; color: var(--accent-color); font-weight: 600; } /* ── Tech Support modal content ──────────────────────────────────── */ .support-section { text-align: center; padding: 8px 0; } .support-icon-big { font-size: 3rem; margin-bottom: 12px; } .support-heading { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; } .support-active-heading { color: var(--yellow); } .support-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; max-width: 480px; margin-left: auto; margin-right: auto; } .support-info-box { background-color: #12121c; border: 1px solid var(--border-color); border-radius: 10px; padding: 16px 20px; margin: 0 auto 20px; max-width: 400px; } .support-active-box { border-color: var(--yellow); } .support-info-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; } .support-info-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); } .support-info-value { font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', monospace; font-size: 0.92rem; color: var(--accent-color); font-weight: 600; } .support-info-hint { font-size: 0.78rem; color: var(--text-dim); margin-top: 8px; font-style: italic; } .support-steps { text-align: left; max-width: 420px; margin: 0 auto 24px; } .support-steps-title { font-size: 0.82rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; } .support-steps ol { padding-left: 20px; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.8; } .support-btn-enable { background-color: var(--green); color: #fff; padding: 12px 32px; font-size: 1rem; font-weight: 700; border-radius: 10px; } .support-btn-enable:hover:not(:disabled) { background-color: #27ae6e; } .support-btn-disable { background-color: var(--red); color: #fff; padding: 12px 32px; font-size: 1rem; font-weight: 700; border-radius: 10px; } .support-btn-disable:hover:not(:disabled) { background-color: #c41520; } .support-active-note { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 20px; max-width: 420px; margin-left: auto; margin-right: auto; } .support-fine-print { font-size: 0.75rem; color: var(--text-dim); margin-top: 12px; font-style: italic; } .support-verify-box { background-color: #12121c; border: 1px solid var(--border-color); border-radius: 10px; padding: 16px 20px; margin: 20px auto; max-width: 400px; display: flex; justify-content: space-between; align-items: center; } .support-verify-label { font-size: 0.82rem; font-weight: 700; color: var(--text-dim); } .support-verify-value { font-size: 0.88rem; font-weight: 700; } .support-verify-value.verified-gone { color: var(--green); } .support-verify-value.verify-warning { color: var(--yellow); } .support-btn-done { background-color: var(--border-color); color: var(--text-primary); padding: 10px 28px; font-size: 0.92rem; font-weight: 600; border-radius: 10px; } .support-btn-done:hover:not(:disabled) { background-color: #5a5c72; } /* ── Feature Manager ─────────────────────────────────────────────── */ .feature-manager-section { margin-bottom: 32px; } .feature-subcategory { margin-bottom: 24px; } .feature-subcategory-header { font-size: 0.88rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 10px; padding-left: 2px; } .feature-cards-wrap { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; } .feature-card { background-color: var(--card-color); padding: 14px 18px; border-bottom: 1px solid var(--border-color); } .feature-card:last-child { border-bottom: none; } .feature-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .feature-card-info { flex: 1; min-width: 0; } .feature-card-name { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; } .feature-card-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.4; } .feature-card-status { font-size: 0.75rem; color: var(--text-dim); margin-top: 6px; } /* ── Feature toggle switch ───────────────────────────────────────── */ .feature-toggle { position: relative; display: inline-flex; align-items: center; width: 44px; height: 24px; flex-shrink: 0; cursor: pointer; margin-top: 2px; } .feature-toggle-input { opacity: 0; width: 0; height: 0; position: absolute; } .feature-toggle-slider { position: absolute; inset: 0; background-color: var(--border-color); border-radius: 24px; transition: background-color 0.2s; } .feature-toggle-slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background-color: var(--text-secondary); border-radius: 50%; transition: transform 0.2s, background-color 0.2s; } .feature-toggle.active .feature-toggle-slider { background-color: var(--green); } .feature-toggle.active .feature-toggle-slider::before { transform: translateX(20px); background-color: #fff; } /* ── Feature domain badge ────────────────────────────────────────── */ .feature-domain-badge { font-size: 0.75rem; font-weight: 600; margin-top: 6px; padding: 2px 0; } .feature-domain-badge.configured { color: var(--green); } .feature-domain-badge.not-configured { color: var(--yellow); } /* ── Feature conflict warning ────────────────────────────────────── */ .feature-conflict-warning { font-size: 0.75rem; color: var(--yellow); margin-top: 4px; } /* ── Domain setup modal inputs ───────────────────────────────────── */ .domain-narrow-dialog { max-width: 520px; } .domain-setup-intro { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 18px; line-height: 1.6; } .domain-setup-intro ol { padding-left: 20px; margin-top: 6px; } .domain-field-group { margin-bottom: 14px; } .domain-field-label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); margin-bottom: 6px; } .domain-field-input { width: 100%; background-color: #12121c; border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-primary); font-family: inherit; font-size: 0.92rem; padding: 10px 14px; outline: none; transition: border-color 0.15s; } .domain-field-input:focus { border-color: var(--accent-color); } .domain-field-hint { font-size: 0.75rem; color: var(--text-dim); margin-top: 5px; font-style: italic; } .domain-field-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; } @media (max-width: 600px) { .feature-cards-wrap { border-radius: 10px; } .feature-card { padding: 12px 14px; } .domain-narrow-dialog { margin: 0 12px; } } /* ── Tile: Port Requirements badge ──────────────────────────────── */ .tile-ports { margin-top: 6px; font-size: 0.7rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 4px; line-height: 1.4; flex-wrap: wrap; } .tile-ports:hover { color: var(--accent-color); } .tile-ports-icon { flex-shrink: 0; } .tile-ports-label { word-break: break-word; } /* ── Port Requirements Modal ────────────────────────────────────── */ .port-req-intro { font-size: 0.9rem; color: var(--text-primary); margin-bottom: 14px; line-height: 1.5; } .port-req-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin-bottom: 14px; } .port-req-table thead th { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--border-color); color: var(--text-secondary); font-weight: 600; } .port-req-table tbody tr:nth-child(even) { background-color: rgba(255,255,255,0.03); } .port-req-port { padding: 5px 10px; font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; color: var(--accent-color); white-space: nowrap; } .port-req-proto { padding: 5px 10px; color: var(--text-secondary); white-space: nowrap; } .port-req-desc { padding: 5px 10px; color: var(--text-primary); } .port-req-hint { font-size: 0.78rem; color: var(--text-dim); line-height: 1.5; margin-bottom: 14px; } /* ── Port status indicators ─────────────────────────────────────── */ .port-req-status { padding: 5px 10px; white-space: nowrap; font-size: 0.82rem; } .port-status-listening { color: #a6e3a1; font-weight: 600; } .port-status-open { color: #f9e2af; font-weight: 600; } .port-status-closed { color: #f38ba8; font-weight: 600; } .port-status-unknown { color: var(--text-dim); } /* Internal IP highlight in port modal */ .port-req-internal-ip { font-family: 'JetBrains Mono', monospace; background: rgba(137, 180, 250, 0.15); color: var(--accent-color); padding: 2px 6px; border-radius: 4px; font-size: 0.95em; } /* Tile port badge status colours */ .tile-ports-all-ready { color: #a6e3a1; } .tile-ports-partial { color: #f9e2af; } .tile-ports-none-ready { color: var(--text-secondary); } .tile-ports-label--loading { color: var(--text-dim); } /* ── Sidebar: compact feature card overrides ─────────────────────── */ .sidebar .feature-manager-section { margin-bottom: 0; } .sidebar .feature-subcategory { margin-bottom: 16px; } .sidebar .feature-card { padding: 10px 12px; } .sidebar .feature-card-name { font-size: 0.88rem; } .sidebar .feature-card-desc { font-size: 0.78rem; } .sidebar .section-header { font-size: 0.75rem; }