
.pfm-monitor-wrap,.pfm-report-wrap{box-sizing:border-box;font-family:Arial,Helvetica,sans-serif}
.pfm-monitor-wrap{max-width:1200px;margin:25px auto;background:#151515;color:#f5f5f5;border-radius:18px;overflow:hidden;box-shadow:0 12px 35px rgba(0,0,0,.25)}
.pfm-monitor-head{padding:28px 32px;background:linear-gradient(135deg,#1d1d1d,#303030);display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:4px solid #f39c12}
.pfm-eyebrow{letter-spacing:3px;color:#f39c12;font-size:11px;font-weight:bold}
.pfm-monitor-head h2{font-size:32px;margin:5px 0}.pfm-monitor-head p{margin:0;color:#c8c8c8}
.pfm-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#ccc}
.pfm-live-dot{width:10px;height:10px;border-radius:50%;background:#35c759;display:inline-block;box-shadow:0 0 0 4px rgba(53,199,89,.12)}
.pfm-refresh-status{border:0;border-radius:8px;padding:9px 13px;background:#f39c12;color:#111;font-weight:bold;cursor:pointer}
.pfm-refresh-status:disabled{opacity:.6;cursor:wait}
.pfm-summary{padding:18px 24px;display:flex;gap:12px;flex-wrap:wrap;background:#202020}
.pfm-stat{padding:10px 14px;border-radius:10px;background:#2b2b2b;font-size:14px}
.pfm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;padding:24px}
.pfm-card{background:#242424;border:1px solid #383838;border-radius:14px;padding:18px;position:relative}
.pfm-card-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.pfm-name{font-weight:bold;font-size:18px}
.pfm-badge{font-size:11px;font-weight:bold;letter-spacing:.7px;padding:6px 9px;border-radius:999px}
.pfm-online{background:#133f25;color:#75e59a}.pfm-offline{background:#4b1717;color:#ff8b8b}.pfm-dead_air{background:#5a3211;color:#ffbe68}.pfm-unknown{background:#4a4218;color:#f3df70}
.pfm-message{margin-top:14px;color:#bbb;font-size:13px;min-height:18px}.pfm-checked{margin-top:10px;color:#777;font-size:11px}
.pfm-monitor-foot{padding:18px 24px;background:#1b1b1b;color:#888;font-size:12px}
.pfm-report-wrap{max-width:760px;margin:30px auto;background:#171717;color:#f3f0ea;border:1px solid #343434;border-radius:16px;overflow:hidden;box-shadow:0 16px 45px rgba(0,0,0,.28)}
.pfm-report-head{display:flex;gap:18px;padding:28px 30px;background:linear-gradient(135deg,#252525,#121212);border-bottom:4px solid #f39c12}
.pfm-report-icon{width:52px;height:52px;flex:0 0 52px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f39c12;color:#171717;font-size:32px;font-weight:800}
.pfm-report-eyebrow{font-size:11px;letter-spacing:2px;font-weight:bold;color:#f39c12;margin-bottom:5px}.pfm-report-head h2{margin:0 0 7px;font-size:28px;color:#fff}.pfm-report-head p{margin:0;color:#c8c8c8;line-height:1.5}
.pfm-report-note{margin:22px 30px 0;padding:14px 16px;background:#26221a;border-left:4px solid #f39c12;border-radius:7px;color:#ddd;font-size:14px;line-height:1.5}
.pfm-report-form{padding:24px 30px 30px}.pfm-form-row{margin-bottom:20px}.pfm-report-form label{display:block;margin-bottom:7px;font-weight:bold;color:#f1f1f1}.pfm-report-form label span{font-weight:normal;color:#999}
.pfm-report-form select,.pfm-report-form textarea,.pfm-report-form input[type=number]{box-sizing:border-box;width:100%;background:#262626;border:1px solid #444;color:#fff;border-radius:8px;padding:12px;font-size:15px}
.pfm-report-form select:focus,.pfm-report-form textarea:focus,.pfm-report-form input[type=number]:focus{outline:none;border-color:#f39c12;box-shadow:0 0 0 3px rgba(243,156,18,.12)}
.pfm-captcha-box{margin:22px 0;padding:18px;background:#222;border:1px dashed #555;border-radius:10px}.pfm-captcha-title{text-transform:uppercase;letter-spacing:1px;color:#f39c12;font-size:11px;font-weight:bold;margin-bottom:8px}.pfm-captcha-question{margin-bottom:12px;color:#ddd}.pfm-captcha-box input{max-width:180px}
.pfm-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.pfm-report-submit{appearance:none;border:0;border-radius:8px;padding:13px 22px;background:#f39c12;color:#151515;font-size:16px;font-weight:bold;cursor:pointer}.pfm-report-submit:disabled{opacity:.6;cursor:wait}
.pfm-report-result{display:none;margin-top:18px;padding:13px 15px;border-radius:8px;line-height:1.45}.pfm-report-result.ok{display:block;background:#163d26;color:#9ce2b4;border:1px solid #2b7145}.pfm-report-result.error{display:block;background:#491a1a;color:#ffb0b0;border:1px solid #7a3030}
.pfm-report-small{margin-top:14px;font-size:12px;color:#888;line-height:1.45}
@media(max-width:700px){.pfm-monitor-head{padding:22px;display:block}.pfm-head-actions{margin-top:15px}.pfm-grid{grid-template-columns:1fr;padding:15px}.pfm-monitor-head h2{font-size:26px}}
@media(max-width:600px){.pfm-report-head{padding:22px;align-items:flex-start}.pfm-report-head h2{font-size:23px}.pfm-report-note,.pfm-report-form{margin-left:18px;margin-right:18px}.pfm-report-form{padding-left:0;padding-right:0}.pfm-report-note{margin-left:18px;margin-right:18px}}

/* v2.5 additional monitor states */
.pfm-stalled{background:#5a3211;color:#ffbe68}.pfm-looping{background:#54205e;color:#efb0ff}


/* ==========================================================
   v2.5.3 ERROR STATUS COLOURS
   Keep ONLINE green. Any fault/error state uses red.
   ========================================================== */

.pfm-offline,
.pfm-dead_air,
.pfm-stalled,
.pfm-looping,
.pfm-error,
.pfm-failed,
.pfm-unknown {
    background: #c62828 !important;
    color: #ffffff !important;
}

/* Common status-card/badge variations used by the existing design */
.pfm-status-offline,
.pfm-status-dead_air,
.pfm-status-stalled,
.pfm-status-looping,
.pfm-status-error,
.pfm-status-failed,
.pfm-status-unknown {
    background: #c62828 !important;
    color: #ffffff !important;
}

/* Ensure icons/text inside error badges remain readable */
.pfm-offline *,
.pfm-dead_air *,
.pfm-stalled *,
.pfm-looping *,
.pfm-error *,
.pfm-failed *,
.pfm-unknown *,
.pfm-status-offline *,
.pfm-status-dead_air *,
.pfm-status-stalled *,
.pfm-status-looping *,
.pfm-status-error *,
.pfm-status-failed *,
.pfm-status-unknown * {
    color: #ffffff !important;
}
