/* Break Check Volunteer Discount Card
   Brand: navy #0E2647, yellow #FFC72C, electric blue #206bd0
*/

.bc-card-root {
    --bc-navy: #0E2647;
    --bc-navy-2: #081e49;
    --bc-blue: #206bd0;
    --bc-blue-light: #4a8ce3;
    --bc-yellow: #FFC72C;
    --bc-yellow-dark: #e6a800;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 420px;
    margin: 24px auto;
    padding: 16px;
    color: #111827;
}

/* ── The card ──────────────────────────────────────────────────────────── */
.bc-card {
    position: relative;
    aspect-ratio: 1.586 / 1; /* credit-card proportions */
    max-width: 380px;
    margin: 0 auto;
    background: linear-gradient( 135deg, #081e49 0%, #0E2647 45%, #1a3a6d 100% );
    border-radius: 18px;
    color: #fff;
    padding: 22px;
    box-shadow:
        0 20px 50px rgba(14, 38, 71, 0.35),
        0 6px 12px rgba(14, 38, 71, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: perspective(1000px) rotateX(0deg);
    transition: transform 0.4s ease;
}
.bc-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
}

/* Subtle geometric pattern overlay */
.bc-card-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient( circle at 20% 20%, rgba(255, 199, 44, 0.08) 0%, transparent 40% ),
        radial-gradient( circle at 80% 90%, rgba(32, 107, 208, 0.15) 0%, transparent 50% );
    pointer-events: none;
    z-index: 1;
}

/* The shine — a diagonal white beam that sweeps across every 5s */
.bc-card-shine {
    position: absolute;
    top: -50%;
    left: -80%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255, 255, 255, 0.05) 40%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.05) 60%,
        transparent 70%
    );
    transform: rotate(20deg);
    animation: bc-card-shine 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: 2;
}
@keyframes bc-card-shine {
    0%   { left: -80%; opacity: 0; }
    15%  { opacity: 1; }
    50%  { left: 140%; opacity: 1; }
    60%  { opacity: 0; }
    100% { left: 140%; opacity: 0; }
}

/* Header */
.bc-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 3;
}
.bc-card-shield {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.bc-card-shield img,
.bc-card-shield svg { width: 100%; height: 100%; display: block; object-fit: contain; }
.bc-card-brand-name {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.1;
}
.bc-card-brand-tag {
    font-size: 10px;
    font-weight: 500;
    color: var(--bc-yellow);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Body */
.bc-card-body {
    position: relative;
    z-index: 3;
    margin: 8px 0;
}
.bc-card-name-label {
    font-size: 10px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.bc-card-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.15;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.bc-card-charity {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 6px;
}
.bc-card-charity strong { color: var(--bc-yellow); font-weight: 600; }

/* Footer */
.bc-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    position: relative;
    z-index: 3;
}
.bc-card-member-number {
    text-align: left;
}
.bc-card-member-number-value {
    font-family: "SF Mono", "Menlo", "Consolas", "Roboto Mono", monospace;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #FFC72C;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.bc-card-since {
    text-align: left;
}
.bc-card-since-label {
    font-size: 9px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.bc-card-since-value {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.9);
    font-variant-numeric: tabular-nums;
}
.bc-card-chip {
    width: 34px;
    height: 26px;
    background: linear-gradient(135deg, #d4af37 0%, #f5d76e 50%, #b8890c 100%);
    border-radius: 4px;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.bc-card-chip::before, .bc-card-chip::after {
    content: '';
    position: absolute;
    left: 3px; right: 3px;
    height: 1px;
    background: rgba(0,0,0,0.2);
}
.bc-card-chip::before { top: 8px; }
.bc-card-chip::after  { top: 16px; }

/* ── Credit badge ──────────────────────────────────────────────────────── */
.bc-card-credit {
    max-width: 380px;
    margin: 20px auto 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
}
.bc-card-credit-available {
    background: linear-gradient(135deg, #fef9e7 0%, #fef3c7 100%);
    border-color: var(--bc-yellow);
    box-shadow: 0 2px 8px rgba(255, 199, 44, 0.2);
}
.bc-card-credit-used {
    background: #f8fafc;
    border-color: #e2e8f0;
}
.bc-card-credit-badge {
    background: var(--bc-navy);
    color: var(--bc-yellow);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(14, 38, 71, 0.2);
}
.bc-card-credit-badge-used {
    background: #cbd5e1;
    color: #64748b;
    font-size: 14px;
    padding: 10px 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: none;
}
.bc-card-credit-text { display: flex; flex-direction: column; gap: 2px; }
.bc-card-credit-text strong { font-size: 15px; color: var(--bc-navy); font-weight: 700; }
.bc-card-credit-text small { font-size: 12px; color: var(--bc-muted, #6b7280); line-height: 1.4; }

/* ── Action buttons ────────────────────────────────────────────────────── */
.bc-card-actions {
    max-width: 380px;
    margin: 20px auto 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bc-card-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    background: var(--bc-navy);
    border: 1px solid transparent;
    box-shadow: 0 2px 6px rgba(14, 38, 71, 0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}
.bc-card-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(14, 38, 71, 0.25); text-decoration: none; }
.bc-card-btn:active { transform: translateY(0); }
.bc-card-btn-yellow {
    background: var(--bc-yellow);
    color: var(--bc-navy);
    box-shadow: 0 2px 6px rgba(255, 199, 44, 0.3);
}
.bc-card-btn-yellow:hover { box-shadow: 0 4px 12px rgba(255, 199, 44, 0.4); }
.bc-card-btn-disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}
.bc-card-btn-icon { font-size: 26px; line-height: 1; }
.bc-card-btn-label { display: flex; flex-direction: column; text-align: left; }
.bc-card-btn-label small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.7;
    font-weight: 500;
    margin-bottom: 2px;
}
.bc-card-btn-label strong { font-size: 17px; font-weight: 700; letter-spacing: 0.5px; }

/* ── Discounted-roadside CTA (volunteer perk) ─────────────────────────── */
.bc-card-cover-cta {
    max-width: 380px;
    margin: 20px auto 0;
    background: linear-gradient(135deg, #FFF8DB 0%, #FFEFA8 100%);
    border: 1px solid #FFC72C;
    border-radius: 14px;
    padding: 18px 20px 20px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(255, 199, 44, 0.18);
}
.bc-card-cover-cta-eyebrow {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #92650a;
    margin-bottom: 6px;
}
.bc-card-cover-cta-text {
    font-size: 13px;
    line-height: 1.5;
    color: #0E2647;
    margin: 0 0 14px;
}
.bc-card-cover-cta-text strong { font-weight: 700; }
.bc-card-cover-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0E2647;
    color: #FFC72C;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.2px;
    transition: all 0.15s ease;
    box-shadow: 0 4px 10px rgba(14, 38, 71, 0.25);
}
.bc-card-cover-cta-btn:hover {
    background: #081e49;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(14, 38, 71, 0.35);
    transform: translateY(-1px);
}
/* Info-only variant: no CTA button inside (button lives up in the actions row) */
.bc-card-cover-cta--info { padding: 14px 20px 16px; }
.bc-card-cover-cta--info .bc-card-cover-cta-text { margin-bottom: 0; }

/* ── Add-to-home-screen hint ───────────────────────────────────────────── */
.bc-card-add-hint {
    max-width: 380px;
    margin: 20px auto 0;
    text-align: center;
}
.bc-card-add-btn {
    background: transparent;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    padding: 12px 16px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s ease;
    font-family: inherit;
}
.bc-card-add-btn:hover { border-color: var(--bc-blue); color: var(--bc-navy); background: #f8fafc; }
.bc-card-add-note {
    font-size: 12px;
    color: #94a3b8;
    margin: 8px 0 0;
}

/* ── Modal ─────────────────────────────────────────────────────────────── */
.bc-card-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    animation: bc-card-modal-fade 0.2s ease-out;
}
.bc-card-modal[hidden] { display: none; }
@keyframes bc-card-modal-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.bc-card-modal-panel {
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 24px 24px 40px;
    max-width: 440px;
    width: 100%;
    position: relative;
    animation: bc-card-modal-slide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes bc-card-modal-slide {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}
@media (min-width: 500px) {
    .bc-card-modal { align-items: center; }
    .bc-card-modal-panel { border-radius: 20px; }
}
.bc-card-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: 0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #94a3b8;
    padding: 6px 10px;
}
.bc-card-modal-close:hover { color: var(--bc-navy); }
.bc-card-modal h3 {
    margin: 0 0 16px 0;
    color: var(--bc-navy);
    font-size: 18px;
}

.bc-card-step {
    display: flex;
    gap: 14px;
    margin: 14px 0;
    align-items: flex-start;
}
.bc-card-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bc-navy);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bc-card-step-body p { margin: 0; font-size: 14px; line-height: 1.5; color: #374151; }
.bc-card-step-body .bc-card-icon-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #f1f5f9;
    border-radius: 5px;
    padding: 2px;
    vertical-align: -6px;
    margin: 0 3px;
}
.bc-card-step-body .bc-card-icon-inline svg { width: 100%; height: 100%; }

.bc-card-guard { text-align: center; padding: 60px 20px; color: #6b7280; }

/* ── Roadside member card additions ──────────────────────────────────── */
.bc-card-regos {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.bc-card-rego {
    display: inline-block;
    padding: 3px 9px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 5px;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
}
.bc-card-vehicles {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 16px 0 0;
}
.bc-card-vehicles-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: #6b7280;
    margin-bottom: 8px;
}
.bc-card-vehicle-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid #f3f4f6;
}
.bc-card-vehicle-row:last-child { border-bottom: none; }
.bc-card-vehicle-row strong {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 15px;
    color: #0E2647;
    letter-spacing: 0.5px;
}
.bc-card-vehicle-row span { font-size: 13px; color: #6b7280; }
.bc-card-note {
    margin: 18px 0 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: #6b7280;
    text-align: center;
}

/* ── Member card: install + share actions ─────────────────────────────── */
.bc-card-install {
    max-width: 380px;
    margin: 22px auto 0;
    text-align: center;
}
/* Primary action on the member card, so it's solid rather than dashed —
   people are being asked to do this, not offered it as an afterthought. */
.bc-card-install .bc-card-add-btn {
    background: var(--bc-navy);
    border: 1.5px solid var(--bc-navy);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 16px;
    border-radius: 10px;
}
.bc-card-install .bc-card-add-btn:hover {
    background: #143257;
    border-color: #143257;
    color: #fff;
}
.bc-card-share-btn {
    background: transparent;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 10px;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .15s ease;
    font-family: inherit;
}
.bc-card-share-btn:hover {
    border-color: var(--bc-blue);
    color: var(--bc-navy);
    background: #f8fafc;
}
.bc-card-install .bc-card-add-note {
    margin-top: 10px;
}

/* Share section in the modal. Visually separated from the numbered steps
   so it doesn't read as the next thing to do — on iOS it plays no part in
   adding to the home screen. */
.bc-card-share-wrap {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
}
.bc-card-share-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #94a3b8;
    margin-bottom: 10px;
    text-align: center;
}
.bc-card-modal .bc-card-share-btn {
    margin-top: 0;
    background: transparent;
    border: 1.5px solid #cbd5e1;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 10px;
}
.bc-card-modal .bc-card-share-btn:hover {
    border-color: var(--bc-blue);
    color: var(--bc-navy);
    background: #f8fafc;
}
.bc-card-modal .bc-card-share-btn span {
    font-size: 16px;
    line-height: 1;
}

/* iOS pointer: sits above Safari's toolbar and points at the ••• control.
   Only shown on iOS while the instruction modal is open. */
.bc-card-pointer {
    position: fixed;
    right: 10px;
    bottom: 8px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    animation: bcPointerBob 1.5s ease-in-out infinite;
}
.bc-card-pointer-label {
    background: var(--bc-yellow);
    color: var(--bc-navy);
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.bc-card-pointer-arrow {
    color: var(--bc-yellow);
    font-size: 30px;
    line-height: 1;
    margin-top: 2px;
    text-shadow: 0 3px 8px rgba(0,0,0,0.4);
}
@keyframes bcPointerBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(7px); }
}
@media (prefers-reduced-motion: reduce) {
    .bc-card-pointer { animation: none; }
}

/* Footnote under the instruction steps */
.bc-card-step-footnote {
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #94a3b8;
}

/* ── Hold brand colours under forced dark mode ────────────────────────────
 * Chrome's auto dark theme on Android rewrites colours on any page that
 * hasn't declared a scheme. On a membership card that matters: the yellow
 * emergency button turned brown, which is the one control someone needs to
 * find quickly. These declarations opt the card out explicitly, and the
 * !important values hold where a theme or the browser tries to override.
 */
.bc-card-root {
    color-scheme: light;
    background: transparent;
}
.bc-card-root,
.bc-card-root * {
    -webkit-text-fill-color: currentColor;
}
.bc-card-root .bc-card {
    background: #0E2647 !important;
    background-image: linear-gradient(135deg, #17355f 0%, #0E2647 50%, #1c4d8a 100%) !important;
    color: #ffffff !important;
}
.bc-card-root .bc-card,
.bc-card-root .bc-card * {
    -webkit-text-fill-color: #ffffff;
}
.bc-card-root .bc-card-member-number-value,
.bc-card-root .bc-card-brand-tag {
    color: #FFC72C !important;
    -webkit-text-fill-color: #FFC72C;
}
/* Emergency call button: must stay yellow on navy, always. */
.bc-card-root .bc-card-btn-yellow {
    background: #FFC72C !important;
    color: #0E2647 !important;
}
.bc-card-root .bc-card-btn-yellow * {
    -webkit-text-fill-color: #0E2647;
}
.bc-card-root .bc-card-btn-primary {
    background: #0E2647 !important;
    color: #ffffff !important;
}
.bc-card-root .bc-card-btn-primary * {
    -webkit-text-fill-color: #ffffff;
}
/* Light surfaces stay light */
.bc-card-root .bc-card-vehicles,
.bc-card-root .bc-card-modal-panel {
    background: #ffffff !important;
    color: #0f172a !important;
}
.bc-card-root .bc-card-vehicles *,
.bc-card-root .bc-card-modal-panel * {
    -webkit-text-fill-color: inherit;
}
.bc-card-root .bc-card-vehicle-row strong { color: #0E2647 !important; }
.bc-card-root .bc-card-vehicle-row span   { color: #6b7280 !important; }
.bc-card-root .bc-card-install .bc-card-add-btn {
    background: #0E2647 !important;
    border-color: #0E2647 !important;
    color: #ffffff !important;
}
.bc-card-root .bc-card-install .bc-card-add-btn * {
    -webkit-text-fill-color: #ffffff;
}
.bc-card-root .bc-card-note,
.bc-card-root .bc-card-add-note { color: #64748b !important; }

/* ── Member card sizing ───────────────────────────────────────────────────
 * The volunteer card fits credit-card proportions because it carries less.
 * This one adds a rego row, and a fixed aspect ratio with overflow:hidden
 * clipped the member number off the bottom — worse on Android, where text
 * renders slightly larger. Let it grow with its content instead, keeping a
 * minimum so a single-vehicle card still looks like a card.
 */
.bc-card.bc-card-member {
    aspect-ratio: auto;
    min-height: 228px;
    padding: 24px;
    justify-content: flex-start;
    gap: 0;
}
.bc-card-member .bc-card-body {
    margin-top: 22px;
    flex: 1 1 auto;
}
.bc-card-member .bc-card-footer {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.14);
    align-items: flex-end;
}
.bc-card-member .bc-card-regos { margin-top: 12px; }
.bc-card-member .bc-card-name {
    /* Long hyphenated surnames shouldn't push the layout out. */
    overflow-wrap: anywhere;
    line-height: 1.2;
}
/* Tighter on small phones so nothing crowds the edges. */
@media (max-width: 400px) {
    .bc-card.bc-card-member { padding: 20px; min-height: 216px; }
    .bc-card-member .bc-card-name { font-size: 20px; }
}

/* Footer: three items across a narrow card. Let the two text blocks shrink
   and keep the chip at its intrinsic size so nothing gets pushed past the
   edge on small Android screens. */
.bc-card-member .bc-card-member-number,
.bc-card-member .bc-card-since {
    min-width: 0;
}
.bc-card-member .bc-card-chip {
    flex: 0 0 auto;
}
.bc-card-member .bc-card-member-number-value {
    font-size: 17px;
    letter-spacing: 1px;
    white-space: nowrap;
}
.bc-card-member .bc-card-since-value {
    white-space: nowrap;
}
@media (max-width: 360px) {
    /* Very narrow: the chip is decoration, the numbers are not. */
    .bc-card-member .bc-card-chip { display: none; }
}

/* The `hidden` attribute sets display:none, but a class setting display:flex
   overrides it — which is why the pointer showed on load instead of waiting
   for the button. Restore the attribute's authority. */
.bc-card-pointer[hidden] { display: none !important; }

/* Compact the member card: it grew tall enough to push Safari's toolbar —
   and the very control the pointer indicates — below the fold. */
.bc-card.bc-card-member {
    min-height: 0;
    padding: 20px;
}
.bc-card-member .bc-card-body {
    margin-top: 16px;
    flex: 0 0 auto; /* Don't stretch to fill; sit at natural height. */
}
.bc-card-member .bc-card-footer {
    margin-top: 16px;
    padding-top: 13px;
}
.bc-card-member .bc-card-regos { margin-top: 10px; }
.bc-card-member .bc-card-name  { font-size: 21px; }

/* Trim the surrounding page so the whole card fits without scrolling. */
body.bc-card-standalone { padding: 16px 16px 24px !important; }
.bc-card-root .bc-card-actions { margin-top: 14px; gap: 10px; }
.bc-card-root .bc-card-vehicles { margin-top: 14px; padding: 12px 16px; }
.bc-card-root .bc-card-install { margin-top: 16px; }
.bc-card-root .bc-card-note { margin-top: 14px; }


/* ── Number plate, matching the workshop job cards ───────────────────────
 * Same treatment as ws.breakcheck.com.au job records: yellow plate, navy
 * border, condensed bold lettering. Consistent across the two systems, and
 * far easier to read at a glance than a translucent pill.
 */
.bc-card-root .bc-card-rego {
    display: inline-block;
    padding: 9px 16px;
    background: #FFC72C;
    border: 3px solid #0E2647;
    border-radius: 11px;
    font-family: 'SF Mono', Menlo, Consolas, 'Roboto Mono', monospace;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #0E2647;
    text-transform: uppercase;
    line-height: 1.1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    /* Hold these values under Chrome's forced dark mode. */
    -webkit-text-fill-color: #0E2647;
}
.bc-card-root .bc-card-regos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
/* The vehicle list below uses the same plate, a size down. */
.bc-card-root .bc-card-vehicle-row strong {
    display: inline-block;
    padding: 5px 11px;
    background: #FFC72C;
    border: 2.5px solid #0E2647;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #0E2647 !important;
    -webkit-text-fill-color: #0E2647;
    text-transform: uppercase;
}
@media (max-width: 400px) {
    .bc-card-root .bc-card-rego {
        font-size: 17px;
        letter-spacing: 2.5px;
        padding: 8px 13px;
    }
}
