/* PhishReport - neubrutalist utility theme */
:root {
    --navy: #0a1e42;
    --skyblue: #4fc3f7;
    --yellow: #ffd60a;
    --red: #ff3b3b;
    --green: #06d6a0;
    --bg: #eef3fb;
    --ink: #0a1e42;
    --border: 3px solid var(--ink);
    --shadow: 6px 6px 0 var(--ink);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Space Mono', 'Courier New', monospace;
    line-height: 1.5;
}

a { color: var(--navy); }

.topbar {
    background: var(--navy);
    color: #fff;
    border-bottom: var(--border);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.topbar .brand {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.topbar .brand span { color: var(--yellow); }

.topbar nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 18px;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
}

.topbar nav a:hover { border-bottom-color: var(--yellow); }

.wrap {
    max-width: 880px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

.panel {
    background: #fff;
    border: var(--border);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
}

.panel + .panel { margin-top: 32px; }

h1, h2, h3 { line-height: 1.2; margin-top: 0; }
h1 { font-size: 1.8rem; }
h2 { font-size: 1.3rem; }

.eyebrow {
    display: inline-block;
    background: var(--yellow);
    border: 2px solid var(--ink);
    padding: 2px 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
}

label {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin: 16px 0 6px;
}

input[type=text], input[type=url], textarea {
    width: 100%;
    padding: 10px 12px;
    border: var(--border);
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
}

textarea { resize: vertical; min-height: 90px; }

.btn {
    display: inline-block;
    background: var(--yellow);
    border: var(--border);
    box-shadow: 4px 4px 0 var(--ink);
    padding: 10px 22px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.05s ease;
}

.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-sky { background: var(--skyblue); }
.btn-outline { background: #fff; }

.help { font-size: 0.85rem; color: #45536e; margin-top: 4px; }

.alert {
    border: var(--border);
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.alert-error { background: #ffe3e3; }
.alert-ok { background: #dcfff2; }

table { width: 100%; border-collapse: collapse; }
th, td {
    border-bottom: 2px solid var(--ink);
    text-align: left;
    padding: 10px 8px;
    font-size: 0.88rem;
    vertical-align: top;
}
th { text-transform: uppercase; font-size: 0.75rem; }

.badge {
    display: inline-block;
    border: 2px solid var(--ink);
    padding: 1px 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
}
.badge-sent { background: var(--green); }
.badge-failed { background: var(--red); color: #fff; }
.badge-pending { background: #ddd; }

.mono-block {
    background: #0a1e42;
    color: #cfe8ff;
    border: var(--border);
    padding: 14px;
    font-size: 0.78rem;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 420px;
    overflow-y: auto;
}

.channel-list { list-style: none; padding: 0; margin: 0; }
.channel-list li {
    border: 2px solid var(--ink);
    padding: 8px 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

footer.small-print {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 20px 40px;
    font-size: 0.78rem;
    color: #556;
}
