/* ============================================================
   Report-style components: a panel/card, title/lede text, callouts,
   a button, a form field label/input, section headings, and a table --
   generic building blocks for any page that renders a structured
   read-only report (diagnostics, scans, test results, etc.), not
   specific to any one page. Dark mode follows default.css's existing
   body.dark/.dark convention -- include default.css on the same page
   before this file so that convention (and shared fonts/resets) apply.
   ============================================================ */
.report-panel {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 22px 26px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.dark .report-panel {
    background: #3a3a3a;
    border-color: #4d4d4d;
    box-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.report-panel h1, .report-panel h2, .report-panel h3 {
    margin-top: 0;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.report-title {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 4px 0;
    color: #222;
}
.dark .report-title {
    color: #f0f0f0;
}
.report-lede {
    color: #666;
    font-size: 13.5px;
    line-height: 1.55em;
    margin-bottom: 14px;
}
.dark .report-lede {
    color: #bbb;
}
/* Per-domain report body paragraphs (Resolved IPs / DNS records / Blocklist / HTTP headers
   values, and the open-relay result line) in core/admin/security/Default.aspx.cs -- opt-in only,
   so it can't affect any other unclassed <p> on any other page that includes this file. Matches
   .report-lede's size so a domain section's body text doesn't read noticeably smaller than the
   page's own intro paragraph immediately above it. */
.report-domain-body {
    font-size: 13.5px;
}
.report-lede code, .report-callout code {
    background: #f0f0f0;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 12.5px;
}
.dark .report-lede code, .dark .report-callout code {
    background: #4a4a4a;
    color: #f0f0f0;
}
.report-callout {
    background: #fdf3f2;
    border-left: 4px solid #d12f19;
    padding: 12px 16px;
    border-radius: 4px;
    margin: 14px 0;
    font-size: 13.5px;
    line-height: 1.5em;
    color: #7a2a20;
}
.dark .report-callout {
    background: #47302c;
    color: #f2c9c3;
    border-left-color: #e2685a;
}
.report-callout.report-callout-muted {
    background: #f4f4f4;
    border-left-color: #999;
    color: #555;
}
.dark .report-callout.report-callout-muted {
    background: #444;
    color: #ccc;
    border-left-color: #888;
}
.report-callout.report-callout-success {
    background: #eefaf0;
    border-left-color: #1c7c30;
    color: #1c5c26;
}
.dark .report-callout.report-callout-success {
    background: #24402a;
    color: #b9e8bf;
    border-left-color: #4caf60;
}
.report-btn {
    display: inline-block;
    background: #2f6fed;
    color: #fff !important;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 22px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color 0.15s ease;
}
.report-btn:hover {
    background: #1f57c4;
}
.dark .report-btn {
    background: #4d84ff;
}
.dark .report-btn:hover {
    background: #6c99ff;
}
.report-field-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-right: 6px;
}
.dark .report-field-label {
    color: #ddd;
}
.report-input {
    font-size: 13.5px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.dark .report-input {
    background: #2e2e2e;
    border-color: #555;
    color: #eee;
}
.report-section-title {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 15px;
    margin: 18px 0 8px 0;
    color: #333;
}
.dark .report-section-title {
    color: #eee;
}
.report-heading {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 28px;
    margin: 35px 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #eee;
    color: #222;
}
.dark .report-heading {
    color: #f0f0f0;
    border-bottom-color: #4d4d4d;
}
.report-muted {
    color: #777;
    font-size: 13.5px;
    line-height: 1.55em;
}
.dark .report-muted {
    color: #aaa;
}
.report-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin: 8px 0 18px 0;
}
.report-table th {
    text-align: left;
    background: #f4f5f7;
    color: #444;
    font-weight: 600;
    padding: 8px 10px;
    border-bottom: 2px solid #e2e2e2;
}
.dark .report-table th {
    background: #454545;
    color: #eee;
    border-bottom-color: #5a5a5a;
}
.report-table td {
    padding: 7px 10px;
    border-bottom: 1px solid #eee;
}
.dark .report-table td {
    border-bottom-color: #4a4a4a;
}
.report-table tbody tr:hover td {
    background: #f9fafb;
}
.dark .report-table tbody tr:hover td {
    background: #444;
}
.status-badge {
    display: inline-block;
    padding: 2px 10px;
    margin-top: 2px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    color-adjust: exact;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}
/* !important needed because Georgia's shared /parks/MasterPage.master pulls in Bootstrap, whose
   print stylesheet resets `*, :after, :before` background/color/box-shadow with !important. A
   class selector beats that bare "*" in the specificity tie, so re-declaring !important here
   wins the fill back -- see georgia/parks/.../bootstrap.min.css's disabled-rule comment. */
.status-badge-danger {
    background: #fde0dd !important;
    background-image: linear-gradient(#fde0dd, #fde0dd) !important;
    box-shadow: inset 0 0 0 1000px #fde0dd !important;
    color: #b8241a !important;
}
.status-badge-success {
    background: #e1f5e4 !important;
    background-image: linear-gradient(#e1f5e4, #e1f5e4) !important;
    box-shadow: inset 0 0 0 1000px #e1f5e4 !important;
    color: #1c7c30 !important;
}
.status-badge-muted {
    background: #eaeaea !important;
    background-image: linear-gradient(#eaeaea, #eaeaea) !important;
    box-shadow: inset 0 0 0 1000px #eaeaea !important;
    color: #777 !important;
}
.dark .status-badge-danger {
    background: #5a2a26 !important;
    background-image: linear-gradient(#5a2a26, #5a2a26) !important;
    box-shadow: inset 0 0 0 1000px #5a2a26 !important;
    color: #ff9d94 !important;
}
.dark .status-badge-success {
    background: #204a27 !important;
    background-image: linear-gradient(#204a27, #204a27) !important;
    box-shadow: inset 0 0 0 1000px #204a27 !important;
    color: #8de29a !important;
}
.dark .status-badge-muted {
    background: #4d4d4d !important;
    background-image: linear-gradient(#4d4d4d, #4d4d4d) !important;
    box-shadow: inset 0 0 0 1000px #4d4d4d !important;
    color: #ccc !important;
}
