html { font-size: 14px; min-height: 100%; } body { margin: 0; background: #f3f6fb; color: #223a5f; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; } .dashboard-shell { min-height: 100vh; display: flex; flex-direction: column; } .topbar { height: 48px; background: #0b2f6b; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 2px solid #1b4383; } .topbar-brand { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.2px; } .brand-icon { font-size: 0.9rem; } .topbar-siren { display: flex; align-items: center; gap: 8px; color: #ff9aa7; font-size: 0.9rem; font-weight: 700; } .dashboard-main { flex: 1; padding: 10px; display: grid; gap: 10px; } .top-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .left-column, .right-column { display: grid; gap: 10px; } .panel { background: #fff; border: 1px solid #e2e8f2; border-radius: 8px; padding: 12px; box-shadow: 0 1px 2px rgba(16, 36, 79, 0.06); } .section-title { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; color: #163b72; font-size: 0.92rem; font-weight: 800; letter-spacing: 0.2px; } .section-icon { font-size: 0.9rem; color: #4f6f9f; } .scan-input-wrap { height: 42px; border: 2px solid #8ec7a5; border-radius: 7px; display: flex; align-items: center; padding: 0 10px; background: #fff; } .scan-icon { color: #7788a2; margin-right: 8px; } .scan-input { border: 0; width: 100%; outline: none; color: #344d72; font-size: 1.5rem; } .scan-input::placeholder { color: #97a5b9; } .form-hint { margin-top: 8px; color: #5d718f; font-size: 0.8rem; } .panel-status { text-align: center; } .status-mini-icon { width: 62px; height: 62px; border-radius: 50%; margin: 2px auto 6px; display: grid; place-items: center; background: #8b9cb8; color: #fff; font-size: 1.7rem; font-weight: 700; } .status-mini-headline { color: #10396f; font-size: 2rem; font-weight: 800; } .status-mini-message { color: #637898; margin-top: 2px; font-size: 1.2rem; } .last-updated { margin-top: 10px; background: #ebf4ff; border: 1px solid #d3e3f7; border-radius: 6px; font-size: 1.1rem; padding: 8px; color: #4f6687; } .status-success .status-mini-icon { background: #3cae58; } .status-failed .status-mini-icon { background: #d54d56; } .status-success .status-mini-headline { color: #2f9950; } .status-failed .status-mini-headline { color: #bf3340; } .info-grid { display: grid; grid-template-columns: 1fr 180px; gap: 8px 10px; align-items: center; } .info-grid span { color: #2b456f; font-size: 0.88rem; font-weight: 600; } .info-grid strong { background: #eef4fb; border-radius: 6px; min-height: 30px; display: flex; align-items: center; justify-content: center; color: #3f5579; font-size: 1.05rem; } #detail-marked-by { background: #e3f4e9; color: #3ca05b; } .panel-history { padding-bottom: 0; } .panel-history-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; } .section-title-tight { margin-bottom: 0; } .btn-scan-history { appearance: none; border: 1px solid #1b5caa; background: #0d4a9c; color: #fff; font-weight: 700; font-size: 0.85rem; padding: 8px 16px; border-radius: 6px; cursor: pointer; letter-spacing: 0.2px; } .btn-scan-history:hover { background: #0a3d82; } .btn-scan-history:focus-visible { outline: 2px solid #5a9fd4; outline-offset: 2px; } .scan-history-dialog { border: none; border-radius: 10px; padding: 0; max-width: min(980px, 96vw); width: 100%; max-height: 88vh; box-shadow: 0 16px 48px rgba(11, 36, 79, 0.35); color: #223a5f; } .scan-history-dialog::backdrop { background: rgba(11, 47, 107, 0.5); } .scan-history-dialog-content { display: flex; flex-direction: column; max-height: 88vh; } .scan-history-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #e2e8f2; background: #f6f9fd; } .scan-history-dialog-title { margin: 0; font-size: 1.05rem; font-weight: 800; color: #0d3b7a; } .scan-history-dialog-close { appearance: none; border: 0; background: transparent; color: #4f6687; font-size: 1.75rem; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 6px; } .scan-history-dialog-close:hover { background: #e8eef8; color: #223a5f; } .scan-history-dialog-toolbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #e2e8f2; flex-wrap: wrap; } .scan-history-filter-label { font-weight: 700; font-size: 0.88rem; color: #2b456f; } .scan-history-filter { min-width: 200px; padding: 6px 10px; border-radius: 6px; border: 1px solid #c5d4e8; background: #fff; color: #223a5f; font-size: 0.88rem; } .scan-history-dialog-body { flex: 1; overflow: auto; padding: 0 14px 14px; min-height: 120px; } .scan-history-dialog-body .table { margin-top: 10px; } .scan-history-modal-empty { text-align: center; padding: 24px 12px; color: #657a98; font-size: 0.95rem; } .history-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .history-column { min-width: 0; } .history-subtitle { margin: 0 0 8px; font-size: 0.82rem; font-weight: 800; color: #1a4a8c; letter-spacing: 0.15px; } .history-wrap { border: 1px solid #d7e1f0; border-radius: 6px; overflow: hidden; position: relative; min-height: 132px; } .table { margin: 0; font-size: 0.85rem; } .table thead th { background: #0d3b7a; color: #fff; border: 0; text-align: left; font-size: 0.76rem; font-weight: 700; padding: 8px 10px; } .table tbody td { padding: 8px 10px; border-top: 1px solid #e9eff9; color: #2a436a; } .status-pill { display: inline-block; min-width: 52px; padding: 2px 7px; border-radius: 6px; font-size: 0.75rem; text-align: center; font-weight: 700; } .status-true { background: #e4f5e8; color: #2f9950; } .status-false { background: #fdeaea; color: #c63f4a; } .history-empty { position: absolute; inset: 37px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; } .history-empty.is-hidden { display: none; } .empty-icon { font-size: 2.4rem; opacity: 0.55; } .empty-title { margin-top: 4px; font-size: 1.5rem; color: #445a7f; font-weight: 700; } .empty-text { font-size: 1.2rem; color: #657a98; } .page-footer { height: 36px; background: #0b2f6b; color: #fff; font-size: 0.9rem; display: flex; justify-content: center; align-items: center; gap: 12px; } @media (max-width: 1200px) { .top-grid { grid-template-columns: 1fr; } .info-grid { grid-template-columns: 1fr; } .history-split { grid-template-columns: 1fr; } }