section#scan-global { padding: 80px 20px; text-align: center; } .core-container input[type="file"] { display: none; } .core-container { max-width: 720px; margin: 30px auto 0 auto; background: var(--card-bg); color: var(--text-primary); border: 1px solid var(--card-border); border-radius: 18px; box-shadow: 0 3px 15px var(--shadow-color); padding: 33px 23px 28px 23px; text-align: left; } .page-title { color: #009fdd; font-size: 1.6em; margin-bottom: 12px; font-weight: 700; text-align: center; } .module-selection label { display: block; font-weight: 600; margin-bottom: 8px; cursor: pointer; } .upload-label { font-weight: 600; margin-top: 14px; display: block; } .progress-row { margin-top: 20px; } .progress-label { display: block; font-weight: 600; margin-bottom: 6px; } .progress-bar { width: 100%; height: 8px; background: #e0e0e0; border-radius: 4px; overflow: hidden; } .progress-bar-fill { height: 8px; background: #00bfff; width: 0%; transition: width 0.2s linear; } .module-progress-row { margin-bottom: 12px; } .file-info-row { display: flex; align-items: center; justify-content: space-between; margin: 12px 0; flex-wrap: wrap; } .file-count { color: #009fdd; font-size: 0.95em; margin-bottom: 6px; } .show-files-btn { background: transparent; border: 1.5px solid #00bfff; color: #00bfff; border-radius: 13px; padding: 6px 15px; font-weight: 700; cursor: pointer; transition: all 0.13s; font-size: 0.95em; } .show-files-btn:hover { background: #eafdff; color: #009fdd; border-color: #009fdd; } .custom-file-label { display: inline-block; background: linear-gradient(90deg,#00bfff 60%,#009fdd 100%); color: #fff; border-radius: 18px; padding: 12px 32px; font-size: 1.12em; font-weight: 700; cursor: pointer; margin-bottom: 12px; box-shadow: 0 2px 7px rgba(0,191,255,0.13); transition: background .12s, color .12s, transform .10s; } .custom-file-label:hover, .custom-file-label:focus { background: #00bfff; color: #fff; transform: scale(1.04); } .custom-file-label.disabled { background: #ddd; color: #888; cursor: not-allowed; opacity: .65; pointer-events: none; } .threshold-settings .premium-note { color: #ff3c3c; font-weight: 700; font-size: 0.95em; margin-top: 6px; } .threshold-settings input[disabled], .threshold-settings select[disabled] { opacity: 0.6; cursor: not-allowed; } .thresholds-tip { font-size: 0.95em; color: #555; margin-top: 6px; } .yaml-editor-container.fullscreen { position: fixed; top: 60px; left: 0; right: 0; bottom: 0; z-index: 10000; background: var(--card-bg); color: var(--text-primary); padding: 16px; overflow: auto; border-radius: 0; box-shadow: 0 0 10px var(--shadow-color); } .report-container { margin-top: 30px; } .report-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; } .report-nav button { background: #eafdff; border: 1.5px solid #00bfff; color: #009fdd; border-radius: 14px; padding: 7px 16px; font-weight: 600; cursor: pointer; transition: all 0.15s; font-size: 0.95em; } .report-nav button:hover { background: #d4f4ff; } .report-nav button.active { background: #00bfff; color: #fff; border-color: #00bfff; } .report-section { display: none; } .report-section.active { display: block; } .perf-section { background: var(--card-bg); color: var(--text-primary); border: 1px solid var(--card-border); border-radius: 14px; box-shadow: 0 2px 8px var(--shadow-color); padding: 20px; margin-bottom: 24px; } .perf-section h4 { margin-top: 0; margin-bottom: 6px; font-size: 1.15em; color: #009fdd; font-weight: 700; } .perf-section p { margin-top: 0; margin-bottom: 14px; color: var(--text-primary); font-size: 0.95em; } .perf-list { list-style: none; padding-left: 0; margin: 0; } .perf-list li { margin-bottom: 12px; line-height: 1.4; } .perf-list li strong { display: block; font-weight: 700; color: #009fdd; margin-bottom: 4px; } .perf-list li em { font-style: normal; color: #777; } .perf-section details { margin-top: 10px; font-size: 0.9em; } .perf-section details summary { cursor: pointer; color: #009fdd; font-weight: 600; outline: none; } .perf-section details pre { background: #f5f5f5; padding: 10px; border-radius: 8px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; } .report-layout { display: grid; grid-template-columns: 260px 1fr; gap: 16px; } .ci-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; margin-bottom: 12px; justify-content: center; } .ci-toast { position: fixed; top: 20px; right: 20px; background: #00bfa6; color: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); z-index: 10000; opacity: 1; transform: translateY(0); transition: opacity 0.5s ease, transform 0.5s ease; } .ci-toast.error { background: #cc0033; } .ci-toast.hide { opacity: 0; transform: translateY(-10px); } .report-sidebar { position: sticky; top: 12px; align-self: start; } .report-main { min-width: 0; } @media (max-width: 1200px) { .report-layout { grid-template-columns: 1fr; } .report-sidebar { position: relative; order: 0; } .report-main { order: 1; } } .section-content { margin-bottom: 40px; } .chart-container { position: relative; padding: 12px; border-radius: 10px; background: var(--card-bg, #111b24); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); margin-bottom: 16px; height: 320px; max-height: 400px; overflow-x: auto; overflow-y: hidden; } .chart-container canvas { width: 100% !important; height: 100% !important; display: block; } @media (prefers-color-scheme: light) { .chart-container { background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } } .theme-table { width: 100%; border-collapse: collapse; font-size: 0.94em; } .theme-table th, .theme-table td { border: 1px solid var(--card-border) !important; padding: 6px 8px; } .theme-table th { background: rgba(12,18,30,0.98) !important; color: #ffffff !important; font-weight: 700; } .theme-table tr:nth-child(even) td { background: rgba(255,255,255,0.06) !important; } .theme-table tr:nth-child(odd) td { background: rgba(255,255,255,0.03) !important; } .theme-table th, .theme-table td { color: var(--text-primary) !important; } .theme-table thead th { position: sticky; top: 0; z-index: 2; background: inherit; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); } body:not(.dark-mode) .badge-zero { background: #eee; color: #555; } #routes .theme-table th:nth-child(1) { width: 140px; } #routes .theme-table th:nth-child(2) { width: 90px; } #routes .theme-table th:nth-child(4) { min-width: 360px; } .arbo-tree { max-height: 420px; overflow-y: auto; border: 1px solid var(--card-border); border-radius: 6px; padding: 8px; margin-bottom: 16px; background: var(--card-bg); color: var(--text-primary); } .arbo-tree ul { list-style: none; padding-left: 16px; margin: 0; } .arbo-tree li { margin: 2px 0; color: var(--text-primary); } .arbo-tree .node-name { cursor: pointer; margin-left: 4px; color: var(--text-primary); } .arbo-tree .node-name.selected { font-weight: 700; color: var(--primary); } .arbo-tree .dir-node > ul { margin-left: 18px; } .arbo-tree .dir-node.collapsed > ul { display: none; } .file-drawer { position: fixed; top: 0; right: -360px; width: 360px; height: 100%; background: var(--card-bg); border-left: 1px solid var(--card-border); box-shadow: -2px 0 14px rgba(0, 0, 0, 0.45); overflow-y: auto; transition: right 0.3s ease; z-index: 1050; padding-top: 40px; } .file-drawer.open { right: 0; } .file-drawer .close-btn { position: absolute; top: 6px; right: 8px; background: none; border: none; font-size: 1.4em; cursor: pointer; color: #d32f2f; } .file-drawer .drawer-title { margin: 0 16px 12px; font-size: 1em; font-weight: 700; color: var(--text-primary); word-break: break-all; } .file-drawer .drawer-content { padding: 0 16px 16px; font-size: 0.9em; color: var(--text-primary); } .file-drawer .issues-list { list-style: none; padding: 0; margin: 0; } .file-drawer .issues-list li { margin-bottom: 8px; color: var(--text-primary); } .core-btn.small { padding: 3px 8px; font-size: 0.78em; } .report-container h3 { color: #009fdd; margin-top: 22px; margin-bottom: 12px; font-size: 1.3em; font-weight: 700; } .summary-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: 0.95em; } .summary-table th, .summary-table td { border: 1px solid var(--card-border) !important; padding: 6px; } .summary-table th { background: rgba(12,18,30,0.98) !important; color: #ffffff !important; font-weight: 700; } .summary-table th, .summary-table td { color: var(--text-primary) !important; } .details-section { margin-top: 14px; } .details-section pre { background: #101b2b; color: var(--text-primary); border-radius: 6px; padding: 14px; overflow: auto; max-height: 420px; white-space: pre-wrap; word-break: break-word; font-size: 0.9em; border: 1px solid var(--card-border); } .export-buttons { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; } .export-buttons button { min-width: 120px; } .comparison-section { margin-top: 40px; } .comparison-section h3 { color: #009fdd; margin-bottom: 10px; font-size: 1.3em; font-weight: 700; text-align: center; } .compare-inputs { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin-bottom: 12px; } .compare-inputs input { padding: 7px 10px; border: 1.5px solid #00bfff; border-radius: 6px; min-width: 180px; font-size: 0.95em; } .comparison-section table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.95em; } .comparison-section th, .comparison-section td { border: 1px solid #ddd; padding: 6px; } .comparison-section th { background: #f0f8ff; font-weight: 700; } @media (max-width: 600px) { .core-container { max-width: 94vw; padding: 13vw 4vw; } .compare-inputs input { min-width: 140px; } } .report-layout { display: flex; width: 100%; gap: 20px; margin-top: 20px; } .report-sidebar { width: 220px; background: var(--card-bg); border-right: 1px solid var(--card-border); padding: 12px; border-radius: 8px; color: var(--text-primary); } .sidebar-list { list-style: none; padding: 0; margin: 0; } .sidebar-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; cursor: pointer; border-radius: 6px; margin-bottom: 4px; color: #009fdd; font-weight: 600; transition: background .12s; } .sidebar-item:hover { background: #eafdff; } .sidebar-item.active { background: #d4f4ff; } .badge { background: #00bfff; color: #fff; border-radius: 12px; padding: 2px 6px; font-size: 0.75em; } .badge-zero { background: #ccc; color: #666; } .badge.badge-smell { background: #f4d03f !important; color: #001018 !important; } .report-main { flex: 1; } .report-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .report-topbar .active-modules { margin-left: 12px; color: #4caf50; font-weight: 600; font-size: 0.9em; } .status-chip { padding: 4px 8px; border-radius: 12px; color: #fff; font-size: 0.8em; margin-left: 10px; } .status-chip.done { background: #4caf50; } .status-chip.running { background: #ff9800; } .status-chip.merging { background: #3f51b5; } .status-chip.failed { background: #d32f2f; } .report-actions { display: flex; gap: 8px; position: relative; flex-wrap: wrap; } .report-actions .core-btn { margin-top: 6px; } .export-menu { position: absolute; top: 100%; right: 0; background: var(--card-bg); border: 1px solid var(--card-border); box-shadow: 0 2px 10px rgba(0,0,0,.35); border-radius: 6px; padding: 6px; z-index: 50; } .export-menu button { display: block; width: 100%; margin-bottom: 4px; background: none; border: none; color: #009fdd; text-align: left; padding: 6px; cursor: pointer; border-radius: 4px; } .export-menu button:hover { background: #f0f8ff; } .kpi-cards { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; } .kpi-card { background: #f8fcfe; border: 1px solid #e0f4ff; border-radius: 8px; padding: 16px 14px; flex: 1 1 calc(20% - 12px); text-align: center; min-width: 120px; } .kpi-card h4 { margin: 0 0 6px 0; color: #009fdd; font-size: 0.9em; font-weight: 600; } .kpi-card p { margin: 0; font-size: 1.3em; color: #333; font-weight: 700; } .table-wrapper { margin-top: 14px; } .table-search { width: 100%; padding: 6px 8px; border: 1px solid #ccc; border-radius: 4px; margin-bottom: 8px; font-size: 0.9em; } #global-report.fullscreen { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--card-bg); z-index: 1000; padding: 10px; overflow: auto; } #report-security .cards .card .card-title { color: #009fdd; } #report-security .cards .card .card-body { font-weight: 700; } #report-security .chart-container { margin-top: 6px; } #report-security .theme-table { width: 100%; border-collapse: collapse; font-size: 0.94em; } #report-security .theme-table th, #report-security .theme-table td { border: 1px solid #e0eef7; padding: 6px 8px; } #report-security .theme-table th { background: #f0f8ff; font-weight: 700; } #report-security .table-wrap { border: 1px solid #e0f4ff; border-radius: 8px; background: #f8fcfe; } #report-sidebar .sidebar-item[data-target="report-security"] .badge { background: #00bfff; } .core-container, .perf-section, .report-sidebar, .export-menu, .table-wrapper, .report-container, .report-section, .file-drawer, .table-wrap, .chart-container { background: var(--card-bg) !important; color: var(--text-primary) !important; border-color: var(--card-border) !important; box-shadow: 0 3px 15px var(--shadow-color) !important; } .page-title, .report-container h3, .perf-section h4, .kpi-card h4 { color: var(--primary) !important; } .perf-section p, .demo-desc, .report-section p, .report-section li, .report-section span, .report-section a, .drawer-content, .drawer-title { color: var(--text-primary) !important; } .kpi-card p { color: var(--primary) !important; } .report-nav button { background: rgba(255,255,255,0.06) !important; border: 1px solid var(--card-border) !important; color: var(--text-primary) !important; } .report-nav button.active { background: linear-gradient(90deg, var(--primary), var(--primary-dark)) !important; color: #fff !important; border-color: var(--primary) !important; } .badge { background: var(--primary) !important; color: #001018 !important; } .badge-zero { background: rgba(255,255,255,0.18) !important; color: #cfe7ff !important; } .file-drawer { background: var(--card-bg) !important; border-left: 1px solid var(--card-border) !important; box-shadow: -2px 0 8px rgba(0,0,0,0.35) !important; } .file-drawer { background: #0f1927 !important; background-color: #0f1927 !important; opacity: 1 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; } .file-drawer .drawer-title, .file-drawer .drawer-content, .file-drawer .issues-list li { color: var(--text-primary) !important; } #global-report .overlay, #global-report .backdrop, #global-report .drawer-overlay, #global-report .modal-backdrop, #global-report [class*="overlay"], #global-report [class*="backdrop"] { background: rgba(0,0,0,0.86) !important; } .threshold-settings input[disabled], .threshold-settings select[disabled] { opacity: 1 !important; background: #0f1927 !important; color: var(--text-muted) !important; border-color: var(--card-border) !important; cursor: not-allowed !important; } .thresholds-tip { color: var(--text-muted) !important; } .ci-toast { box-shadow: 0 2px 8px rgba(0,0,0,0.45) !important; } .export-menu { background: var(--card-bg) !important; border-color: var(--card-border) !important; } .export-menu button { color: var(--text-primary) !important; } .export-menu button:hover { background: rgba(255,255,255,0.06) !important; } .kpi-card { background: rgba(255,255,255,0.06) !important; border: 1px solid var(--card-border) !important; } .progress-bar { background: rgba(255,255,255,0.10) !important; } .progress-bar-fill { background: var(--primary) !important; }