/**
 * Feedback Centre — public page.
 * Uses only the site palette: navy #0f1c47 / #1e3a5f, blue #2563eb, and the
 * neutral greys already in use. No traffic-light or brand-network colours.
 */

/* Clears the fixed site header. Every other public page does this through the
   shared .main class (margin-top:140px; min-height:calc(100vh - 140px)); this
   page has its own wrapper, so it must reproduce the same offset — without it
   the first 90px of content sits underneath the header. */
.fc-wrap {
    max-width: 1180px;
    margin: 140px auto 0;
    min-height: calc(100vh - 140px);
    padding: 34px 18px 70px;
}

.fc-hero { text-align: center; margin-bottom: 26px; }
.fc-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px; color: #0f1c47; margin: 0 0 8px;
}
.fc-hero p { font-size: 14.5px; color: #4b5563; max-width: 640px; margin: 0 auto; line-height: 1.6; }

/* ── Tabs ─────────────────────────────────────────────────────────────────── */
.fc-tabs {
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
    margin: 0 0 26px; padding-bottom: 4px;
}
.fc-tab {
    padding: 10px 18px; border-radius: 22px; cursor: pointer;
    border: 1px solid #d7dce5; background: #fff; color: #1e3a5f;
    font: 700 13px/1 Poppins, system-ui, sans-serif; letter-spacing: .3px;
    transition: all .2s ease;
}
.fc-tab:hover { border-color: #1e3a5f; }
.fc-tab.is-active {
    background: linear-gradient(135deg, #0f1c47 0%, #1e3a5f 100%);
    color: #fff; border-color: transparent;
}

.fc-panel { display: none; }
.fc-panel.is-active { display: block; animation: fcFade .22s ease; }
@keyframes fcFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.fc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.fc-col  { background: #fff; border: 1px solid #e6e9f0; border-radius: 14px; padding: 24px 22px;
           box-shadow: 0 2px 14px rgba(15, 28, 71, .06); }

.fc-h2   { font: 700 18px/1.3 Poppins, system-ui, sans-serif; color: #0f1c47; margin: 0 0 6px; }
.fc-note { font-size: 13px; color: #6b7280; line-height: 1.55; margin: 0 0 16px; }
.fc-opt  { font-weight: 400; color: #9ca3af; }

/* ── Forms ────────────────────────────────────────────────────────────────── */
.fc-form { display: flex; flex-direction: column; }
.fc-form-wide {
    background: #fff; border: 1px solid #e6e9f0; border-radius: 14px;
    padding: 24px 22px; box-shadow: 0 2px 14px rgba(15, 28, 71, .06); max-width: 780px;
}
.fc-label { font: 600 12.5px/1.4 Poppins, system-ui, sans-serif; color: #0f1c47; margin: 12px 0 5px; }
.fc-form input[type="text"],
.fc-form input[type="email"],
.fc-form textarea,
.fc-form select {
    width: 100%; box-sizing: border-box; padding: 11px 13px;
    border: 1.5px solid #d7dce5; border-radius: 8px;
    font: 400 13.5px/1.45 inherit; color: #0f1c47; background: #fff;
    outline: none; transition: border-color .18s ease;
}
.fc-form textarea { resize: vertical; }
.fc-form input:focus, .fc-form textarea:focus, .fc-form select:focus { border-color: #2563eb; }

.fc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.fc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 18px; padding: 12px 22px; border-radius: 8px; cursor: pointer;
    border: 1px solid #d7dce5; background: #fff; color: #0f1c47;
    font: 700 13px/1 Poppins, system-ui, sans-serif; letter-spacing: .5px;
    transition: all .25s ease; align-self: flex-start;
}
.fc-btn-primary { background: linear-gradient(135deg, #0f1c47 0%, #1e3a5f 100%); color: #fff; border: none; }
.fc-btn-primary:hover { filter: brightness(1.12); }
.fc-btn[disabled] { opacity: .55; cursor: default; }

.fc-msg { font-size: 13px; font-weight: 600; margin-top: 10px; min-height: 18px; color: #1e3a5f; }
.fc-msg.is-error { color: #c82333; }

.fc-details { margin-top: 14px; }
.fc-details summary { cursor: pointer; font-size: 12.5px; color: #2563eb; font-weight: 600; }
.fc-pre {
    background: #f6f8fc; border: 1px solid #e6e9f0; border-radius: 8px;
    padding: 12px; font-size: 11.5px; color: #4b5563; overflow-x: auto;
    white-space: pre-wrap; word-break: break-word; margin: 8px 0 0;
}

/* ── Request list + voting ────────────────────────────────────────────────── */
.fc-list { display: flex; flex-direction: column; gap: 10px; }
.fc-item {
    display: flex; align-items: flex-start; gap: 12px;
    border: 1px solid #e6e9f0; border-radius: 10px; padding: 12px 14px; background: #fff;
}
.fc-vote {
    flex: 0 0 auto; min-width: 52px; text-align: center; cursor: pointer;
    border: 1px solid #d7dce5; border-radius: 8px; padding: 7px 6px; background: #fff;
    font: 700 12px/1.25 Poppins, system-ui, sans-serif; color: #1e3a5f;
    transition: all .18s ease;
}
.fc-vote:hover  { border-color: #2563eb; background: #eff3fb; }
.fc-vote.voted  { background: #0f1c47; color: #fff; border-color: #0f1c47; cursor: default; }
.fc-vote span   { display: block; font-size: 15px; }

.fc-item-title { font: 600 13.5px/1.35 Poppins, system-ui, sans-serif; color: #0f1c47; margin: 0 0 3px; }
.fc-item-body  { font-size: 12.5px; color: #6b7280; line-height: 1.5; margin: 0; }

.fc-status {
    display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 20px;
    font: 700 10.5px/1.5 Poppins, system-ui, sans-serif; letter-spacing: .4px; text-transform: uppercase;
}
/* Status is conveyed by depth of blue, not by hue. */
.fc-status.new,        .fc-status.triaged     { background: #eef2f8; color: #4b6182; }
.fc-status.planned                            { background: #dbe6f8; color: #1e3a5f; }
.fc-status.in_progress                        { background: #2563eb; color: #fff; }
.fc-status.released                           { background: #0f1c47; color: #fff; }

/* ── Roadmap ──────────────────────────────────────────────────────────────── */
.fc-roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fc-rm-col  { background: #fff; border: 1px solid #e6e9f0; border-radius: 14px; padding: 18px 16px; }
.fc-rm-col h3 {
    font: 700 13px/1 Poppins, system-ui, sans-serif; color: #0f1c47;
    text-transform: uppercase; letter-spacing: .6px; margin: 0 0 12px;
    padding-bottom: 10px; border-bottom: 2px solid #eef2f8;
}
.fc-rm-item { padding: 9px 0; border-bottom: 1px solid #f4f6fa; font-size: 13px; color: #374151; }
.fc-rm-item:last-child { border-bottom: none; }
.fc-rm-votes { font-size: 11.5px; color: #9ca3af; margin-left: 6px; }

.fc-loading, .fc-empty { font-size: 13px; color: #9ca3af; padding: 14px 0; }

@media screen and (max-width: 900px) {
    .fc-cols, .fc-roadmap { grid-template-columns: 1fr; }
}
@media screen and (max-width: 560px) {
    .fc-hero h1 { font-size: 27px; }
    .fc-row { grid-template-columns: 1fr; }
    .fc-tab { padding: 9px 14px; font-size: 12px; }
    .fc-wrap { padding: 24px 14px 54px; }
}

/* Header heights measured on the live site: 124px desktop, 132px at 768px,
   120px at 390px. The reduced clearance is therefore scoped to small phones
   only — at 768px the header is actually TALLER, so it keeps the full offset. */
@media screen and (max-width: 560px) {
    .fc-wrap { margin-top: 124px; min-height: calc(100vh - 124px); }
}
