/* =============================================================================
   /maintenance/maintenance.css
   Portal-style chrome for the public maintenance reporting landing.
   Mobile-first, PWA-ready, no external dependencies.
   ============================================================================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.mreq-body {
    font: 16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Helvetica,Arial,sans-serif;
    color: #1a2332;
    background: #f6f8fb;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    min-height: 100vh;
}

.mreq-container { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* Topbar */
.mreq-topbar {
    background: #0a3d62;
    color: #fff;
    padding: 14px 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}
.mreq-topbar .mreq-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.mreq-brand {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.3px;
    /* 2026-08-24: was a text wordmark. Now carries the real logo. The white
       pill is REQUIRED - logo-dark.png is a DARK mark and would disappear
       against the #0a3d62 topbar. Mirrors ldg_render_header()'s treatment on
       the landing pages so the two chromes read as one site. */
    display: inline-block;
    background: #fff;
    border-radius: 999px;
    padding: 6px 16px;
    line-height: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,.18);
}
.mreq-brand img {
    height: 30px;
    width: auto;
    display: block;
}
@media (max-width: 480px) {
    .mreq-brand { padding: 5px 12px; }
    .mreq-brand img { height: 24px; }
}
.mreq-tag {
    color: #b8941c;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main */
.mreq-main { padding: 24px 0 56px; }

.mreq-h1 {
    font-size: 24px;
    color: #0a3d62;
    margin: 0 0 8px;
    font-weight: 700;
    line-height: 1.25;
}
.mreq-lede {
    font-size: 15px;
    color: #4a5564;
    margin: 0 0 24px;
    line-height: 1.55;
}

/* Alerts */
.mreq-alert {
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin: 16px 0;
    line-height: 1.5;
}
.mreq-alert-success {
    background: #e3f6df;
    color: #1b5e20;
    border-left: 4px solid #2e7d32;
}
.mreq-alert-danger {
    background: #fde6e6;
    color: #8b1c1c;
    border-left: 4px solid #c62828;
}
.mreq-alert-info {
    background: #e1f0f8;
    color: #0a4361;
    border-left: 4px solid #1976d2;
}

/* Form */
.mreq-form {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-top: 16px;
}
.mreq-form fieldset {
    border: none;
    border-top: 2px solid #eef2f7;
    padding: 16px 0 8px;
    margin: 16px 0 0;
}
.mreq-form fieldset:first-of-type { border-top: none; padding-top: 0; }
.mreq-form legend {
    font-weight: 700;
    color: #0a3d62;
    padding: 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.mreq-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.mreq-grid-2 .mreq-span-2 { grid-column: span 2; }
@media (max-width: 560px) {
    .mreq-grid-2 { grid-template-columns: 1fr; }
    .mreq-grid-2 .mreq-span-2 { grid-column: span 1; }
}

.mreq-form label {
    display: block;
    font-size: 13px;
    color: #4a5564;
    font-weight: 600;
}
.mreq-form .req { color: #c62828; }
.mreq-form input[type=text],
.mreq-form input[type=email],
.mreq-form input[type=tel],
.mreq-form select,
.mreq-form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-top: 4px;
    border: 1px solid #ccd3da;
    border-radius: 5px;
    font-size: 16px;          /* 16px+ on mobile prevents iOS zoom on focus */
    font-family: inherit;
    color: #1a2332;
    background: #fff;
}
.mreq-form input:focus,
.mreq-form select:focus,
.mreq-form textarea:focus {
    outline: none;
    border-color: #0a3d62;
    box-shadow: 0 0 0 3px rgba(10,61,98,0.15);
}
.mreq-form textarea { resize: vertical; min-height: 120px; }

/* Honeypot (display:none triggers some bots; visibility/position is safer) */
.mreq-hp {
    position: absolute;
    left: -10000px;
    top: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Actions */
.mreq-actions {
    margin-top: 20px;
    text-align: center;
}
.mreq-btn {
    background: #0a3d62;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    max-width: 320px;
    -webkit-tap-highlight-color: transparent;
}
.mreq-btn:hover, .mreq-btn:focus { background: #0f4d7a; }
.mreq-btn:active { transform: translateY(1px); }

.mreq-fineprint {
    margin: 20px 0 0;
    font-size: 13px;
    color: #6b7785;
    line-height: 1.5;
    padding: 12px;
    background: #fff5e0;
    border-radius: 5px;
    border-left: 3px solid #f9a825;
}

/* Footer */
.mreq-footer {
    background: #1a2332;
    color: #8993a0;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 13px;
}
.mreq-footer .mreq-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}
.mreq-footer a { color: #c5d0db; text-decoration: none; }
.mreq-footer a:hover { color: #b8941c; }

/* Mobile tweaks */
@media (max-width: 480px) {
    .mreq-h1 { font-size: 20px; }
    .mreq-lede { font-size: 14px; }
    .mreq-form { padding: 14px; }
    .mreq-form legend { font-size: 13px; }
}

/* Print */
@media print {
    .mreq-topbar, .mreq-footer, .mreq-btn { display: none; }
    .mreq-form { box-shadow: none; }
}
