/* =============================================================================
   Contact Us module — Module.css
   Class Recruitment brand pass.
   ---------------------------------------------------------------------------
   Loaded by every ContactForm .ascx via ClientResourceManager. Deliberately
   self-contained (no inheritance from JobAdmin's Module.css) so the contact
   module can be deployed without the JobAdmin package.

   Three contexts:
     Compact (Home page)    — small form, warm-panel treatment
     Full   (Contact page)  — big form, integrates with .contact-writein header
                              which uses .class-hero__eyebrow from portal.css
     Admin  (Triage)        — list of messages + detail triage view

   Palette:
     Brand purple    #7b1fa2 / #6b1494 / #faf5fb  — primary buttons, focus rings
     Sky-blue admin  #0284c7 / #f0f9ff / #0c4a6e  — admin filter chrome tint
     Success         #059669 / #ecfdf5 / #a7f3d0  — replied / OK flash
     Error           #dc2626 / #fef2f2 / #fecaca  — errors, spam, danger button
     Warning         #d97706 / #fef3c7 / #fed7aa  — in-progress, duplicates
     Info            #0284c7 / #f0f9ff            — new status, known contact
     Neutrals        #110a1f / #5a4f66 / #ece8f0 / #faf8fc

   Typography:
     Plus Jakarta Sans (display) — headings, buttons, labels, status chips
     Inter (body) — form values, table cells, message body

   Class prefix: cf- (Contact Form)
   Pattern: BEM-ish — block__element--modifier
   ============================================================================= */


/* ============================================================================
   Base + typography
   ============================================================================ */
.contactform {
    color: #110a1f;
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
    box-sizing: border-box;
}
.contactform *,
.contactform *::before,
.contactform *::after {
    box-sizing: border-box;
}

.contactform .cf-h2 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #110a1f;
    margin: 0 0 8px;
}
.contactform .cf-h3 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #110a1f;
    margin: 0 0 8px;
}
.contactform .cf-h4 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7b1fa2;
    margin: 8px 0 12px;
}
.contactform .cf-muted {
    color: #5a4f66;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
}


/* ============================================================================
   Shared form chrome — fields, labels, inputs, buttons, honeypot
   ============================================================================ */
.cf-form .cf-field {
    margin: 0 0 20px;
}

.cf-label {
    display: block;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #110a1f;
    letter-spacing: 0.02em;
    line-height: 1.4;
    margin-bottom: 8px;
}
.cf-label--required::after {
    content: " *";
    color: #dc2626;
    font-weight: 700;
}
.cf-label__opt {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    font-style: italic;
    color: #5a4f66;
    font-size: 13px;
    margin-left: 4px;
    letter-spacing: 0;
    text-transform: none;
}

.cf-input {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid #ece8f0;
    border-radius: 12px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;            /* >= 16px prevents iOS zoom on focus */
    line-height: 1.5;
    color: #110a1f;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.cf-input:focus {
    outline: none;
    border-color: #7b1fa2;
    box-shadow: 0 0 0 3px rgba(123, 31, 162, 0.12);
}
.cf-input::placeholder {
    color: #8a8294;
}

.cf-input--area {
    min-height: 120px;
    resize: vertical;
    font-family: 'Inter', system-ui, sans-serif;
}

.cf-input--select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237b1fa2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-position: right 14px center;
    background-repeat: no-repeat;
    padding-right: 40px;
    cursor: pointer;
}

/* Checkbox row (consent) */
.cf-field--check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
}
.cf-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15px;
    color: #110a1f;
    line-height: 1.5;
}
.cf-check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #7b1fa2;
    cursor: pointer;
    flex-shrink: 0;
}
.cf-check span a {
    color: #7b1fa2;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(123, 31, 162, 0.35);
    transition: border-color 180ms ease;
}
.cf-check span a:hover {
    border-bottom-color: #7b1fa2;
}

/* Buttons — brand-purple pill system */
.cf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 999px;
    border: 1.5px solid rgba(123, 31, 162, 0.28);
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    color: #7b1fa2;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.cf-btn:hover,
.cf-btn:focus {
    background: rgba(123, 31, 162, 0.06);
    border-color: #7b1fa2;
    color: #7b1fa2;
    text-decoration: none;
    outline: none;
}
.cf-btn--primary {
    background: #7b1fa2;
    color: #fff;
    border-color: #7b1fa2;
}
.cf-btn--primary:hover,
.cf-btn--primary:focus {
    background: #6b1494;
    border-color: #6b1494;
    color: #fff;
}
.cf-btn--secondary {
    /* Same as default ghost */
}
.cf-btn--danger {
    background: transparent;
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.28);
}
.cf-btn--danger:hover,
.cf-btn--danger:focus {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
}

/* Error card */
.cf-error {
    padding: 12px 16px;
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    color: #991b1b;
    border-radius: 12px;
    margin: 12px 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

/* Honeypot — off-screen but reachable via Tab (for real assistive tech users) */
.cf-honey {
    position: absolute;
    left: -10000px;
    height: 1px;
    width: 1px;
    overflow: hidden;
}


/* ============================================================================
   Compact form — home page or sidebar
   ============================================================================ */
.cf-compact {
    max-width: 540px;
    margin: 24px 0;
    padding: 28px 32px;
    border: 1.5px solid #ece8f0;
    border-radius: 20px;
    background: #faf5fb;
    box-shadow: 0 4px 20px rgba(31, 21, 48, 0.04);
}
.cf-compact__inner { max-width: none; }
.cf-compact__head {
    margin-bottom: 20px;
    text-align: center;
}
.cf-compact__head .cf-h3 {
    font-size: 22px;
    margin-bottom: 8px;
}
.cf-compact__sub {
    margin: 0;
    color: #5a4f66;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-style: italic;
}
.cf-compact__actions {
    margin-top: 4px;
    display: flex;
    justify-content: center;
}
.cf-compact__actions .cf-btn {
    min-width: 180px;
}


/* ============================================================================
   Full form — Contact page
   ============================================================================ */
.cf-full {
    max-width: 720px;
    margin: 32px auto;
    padding: 0;
}
.cf-full__inner { max-width: none; }
.cf-full > header {
    margin-bottom: 8px;
}
.cf-full__head { margin-bottom: 20px; }
.cf-full__sub {
    margin: 0 0 12px;
    color: #5a4f66;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}
.cf-full__actions {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1.5px solid #ece8f0;
    display: flex;
    justify-content: flex-end;
}
.cf-full__actions .cf-btn {
    min-width: 200px;
}

/* .contact-writein wrapper (inline in ContactFormFull.ascx). The h2 uses the
   site's h2 style; we just tidy spacing here. */
.contact-writein {
    margin-bottom: 24px;
}
.contact-writein__head h2 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #110a1f;
    margin: 0 0 12px;
    line-height: 1.15;
}
.contact-writein__head .lead {
    color: #5a4f66;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
}


/* ============================================================================
   Confirmation — shared by compact + full
   ============================================================================ */
.cf-confirm {
    padding: 28px 32px;
    border: 1.5px solid #a7f3d0;
    border-radius: 20px;
    background: #ecfdf5;
    color: #065f46;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}
.cf-confirm p {
    margin: 0 0 12px;
}
.cf-confirm p:last-child {
    margin-bottom: 0;
}
.cf-confirm strong {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 800;
    color: #065f46;
}
.cf-confirm .cf-h3 {
    color: #065f46;
    margin-bottom: 12px;
}
.cf-confirm__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(5, 150, 105, 0.22);
}
.cf-confirm__ctas .cf-btn {
    background: #fff;
    color: #065f46;
    border-color: rgba(5, 150, 105, 0.28);
}
.cf-confirm__ctas .cf-btn:hover,
.cf-confirm__ctas .cf-btn:focus {
    background: #059669;
    color: #fff;
    border-color: #059669;
}


/* ============================================================================
   ADMIN BANNER — shared block. Accent colours passed via inline CSS custom
   properties on the wrapper (--acc-bright, --acc-deep).
   ============================================================================ */
.class-admin-banner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 24px 32px 32px;
    margin: 0 0 28px;
    background: linear-gradient(135deg, #1a0d2b 0%, #4a0e69 45%, #7b1fa2 100%);
    color: #fff;
    border-radius: 16px;
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
    box-sizing: border-box;
}
.class-admin-banner__body { min-width: 0; }
.class-admin-banner__eyebrow {
    display: inline-block;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--acc-bright, #a5b4fc);
    margin-bottom: 10px;
}
.class-admin-banner__title {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0;
    line-height: 1.15;
}
.class-admin-banner__sub {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    margin: 8px 0 0;
    max-width: 640px;
}
.class-admin-banner__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1.5px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 180ms ease, border-color 180ms ease;
}
.class-admin-banner__back:hover,
.class-admin-banner__back:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    text-decoration: none;
    outline: none;
}
.class-admin-banner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--acc-deep, #4f46e5);
    z-index: 1;
}
@media (max-width: 640px) {
    .class-admin-banner {
        grid-template-columns: 1fr;
        padding: 20px 20px 24px;
        margin-bottom: 20px;
    }
    .class-admin-banner__back { justify-self: start; }
}


/* ============================================================================
   Admin — triage list + detail
   ============================================================================ */
.cf-admin {
    margin: 16px 0;
    padding: 8px 0;
    font-family: 'Inter', system-ui, sans-serif;
    color: #110a1f;
}

/* Denied panel — shown to non-admins */
.cf-admin__denied {
    padding: 24px 28px;
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    border-radius: 16px;
    color: #991b1b;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

/* Head area — used on both list + detail */
.cf-admin__head { margin-bottom: 24px; }
.cf-admin__head .cf-h2 { padding-bottom: 12px; border-bottom: 3px solid #7b1fa2; }
.cf-admin__sub {
    color: #5a4f66;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    margin: 0 0 6px;
}
.cf-admin__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 8px;
    color: #7b1fa2;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 180ms ease;
}
.cf-admin__back:hover {
    background: rgba(123, 31, 162, 0.06);
    text-decoration: none;
}
.cf-admin__flagrow {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 0;
}

/* Filters bar — sky-blue tint (matches other admin modules) */
.cf-admin__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
    padding: 14px 18px;
    background: #f0f9ff;
    border: 1.5px solid rgba(2, 132, 199, 0.18);
    border-radius: 12px;
}
.cf-admin__filters .cf-input {
    width: auto;
    flex: 1 1 200px;
    min-width: 0;
    padding: 9px 36px 9px 14px;
    font-size: 14px;
    border-color: rgba(2, 132, 199, 0.22);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}
.cf-admin__filters .cf-input:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Data table — modern rounded surface */
.cf-admin__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    border: 1.5px solid #ece8f0;
    border-radius: 12px;
    overflow: hidden;
}
.cf-admin__table th,
.cf-admin__table td {
    padding: 12px 14px;
    border-bottom: 1px solid #ece8f0;
    text-align: left;
    vertical-align: top;
}
.cf-admin__table tbody tr:last-child td {
    border-bottom: none;
}
.cf-admin__table th {
    background: #faf5fb;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5a4f66;
    border-bottom: 1.5px solid #ece8f0;
    white-space: nowrap;
}
.cf-admin__row {
    cursor: pointer;
    transition: background 120ms ease;
}
.cf-admin__row:hover td {
    background: #faf5fb;
}
.cf-admin__empty {
    color: #5a4f66;
    padding: 20px 4px;
    font-style: italic;
}
.cf-admin__flags {
    white-space: nowrap;
}

/* Pager */
.cf-admin__pager {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.cf-admin__pager-info {
    color: #5a4f66;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}


/* ============================================================================
   Status chips + flag badges
   ============================================================================ */
.cf-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    white-space: nowrap;
}
.cf-status--new      { background: #f0f9ff; color: #0c4a6e; border-color: rgba(2, 132, 199, 0.22); }
.cf-status--read     { background: #faf5fb; color: #5a4f66; border-color: rgba(123, 31, 162, 0.14); }
.cf-status--prog     { background: #fef3c7; color: #92400e; border-color: rgba(217, 119, 6, 0.22); }
.cf-status--replied  { background: #ecfdf5; color: #065f46; border-color: rgba(5, 150, 105, 0.22); }
.cf-status--closed   { background: #f5f1f8; color: #5a4f66; border-color: #ece8f0; }
.cf-status--other    { background: #faf5fb; color: #7b1fa2; border-color: rgba(123, 31, 162, 0.22); }

.cf-badge {
    display: inline-flex;
    align-items: center;
    margin-right: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    white-space: nowrap;
}
.cf-badge--known { background: #f0f9ff; color: #0c4a6e; border-color: rgba(2, 132, 199, 0.22); }
.cf-badge--dup   { background: #fef3c7; color: #92400e; border-color: rgba(217, 119, 6, 0.22); }
.cf-badge--spam  { background: #fef2f2; color: #991b1b; border-color: rgba(220, 38, 38, 0.22); }


/* ============================================================================
   Admin detail — two-column layout
   ============================================================================ */
.cf-admin__layout {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
    .cf-admin__layout {
        grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    }
}

/* Message card (main column) */
.cf-admin__msg,
.cf-admin__panel {
    background: #fff;
    border: 1.5px solid #ece8f0;
    border-radius: 16px;
    padding: 20px 24px;
}
.cf-admin__panel { margin-bottom: 16px; }
.cf-admin__panel:last-child { margin-bottom: 0; }

/* Reply-explanation panel — soft purple tint to differentiate */
.cf-admin__panel--reply {
    background: #faf5fb;
    border-color: rgba(123, 31, 162, 0.18);
}
.cf-admin__panel--reply p {
    color: #5a4f66;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Message meta (dl of From / Email / Phone / Reason / Subject) */
.cf-admin__meta {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px 16px;
    margin: 12px 0 20px;
}
.cf-admin__meta dt {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5a4f66;
    margin: 0;
}
.cf-admin__meta dd {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    color: #110a1f;
    margin: 0;
    word-break: break-word;
}
.cf-admin__meta dd a {
    color: #7b1fa2;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(123, 31, 162, 0.35);
    transition: border-color 180ms ease;
}
.cf-admin__meta dd a:hover {
    border-bottom-color: #7b1fa2;
}

/* Message body — preserve whitespace, comfortable read */
.cf-admin__body {
    white-space: pre-wrap;
    background: #faf8fc;
    border: 1.5px solid #ece8f0;
    padding: 16px 20px;
    border-radius: 12px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #110a1f;
    word-break: break-word;
}

/* Triage actions row */
.cf-admin__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #ece8f0;
}

/* Meta list (touch points snapshot / live) */
.cf-meta {
    margin: 8px 0 0;
    padding: 0 0 0 20px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #3a3345;
}
.cf-meta li { margin-bottom: 4px; }

/* Save-status / save-notes buttons sit inline with their inputs */
.cf-admin__panel .cf-field {
    margin-bottom: 16px;
}
.cf-admin__panel .cf-field:last-child {
    margin-bottom: 0;
}


/* ============================================================================
   Flash messages on the detail page
   ============================================================================ */
.cf-flash {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    border: 1.5px solid transparent;
}
.cf-flash--ok    { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.cf-flash--warn  { background: #fef3c7; color: #92400e; border-color: rgba(217, 119, 6, 0.28); }
.cf-flash--error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }


/* ============================================================================
   Mobile
   ============================================================================ */
@media (max-width: 640px) {
    .cf-compact,
    .cf-full {
        padding: 24px 20px;
    }
    .cf-compact {
        margin-inline: 12px;
        max-width: none;
    }
    .cf-full__actions,
    .cf-compact__actions {
        justify-content: stretch;
    }
    .cf-full__actions .cf-btn,
    .cf-compact__actions .cf-btn {
        width: 100%;
        min-width: 0;
    }
    .cf-admin__filters {
        padding: 12px 14px;
        gap: 8px;
    }
    .cf-admin__filters .cf-input {
        flex: 1 1 100%;
    }
    .cf-admin__meta {
        grid-template-columns: 100px 1fr;
        gap: 8px 12px;
    }
    .cf-admin__msg,
    .cf-admin__panel {
        padding: 18px 20px;
    }
    /* Horizontal scroll for the messages table on narrow screens */
    .cf-admin__list {
        overflow-x: auto;
    }
    .cf-admin__table {
        min-width: 780px;
    }
}
