/* ==========================================================================
   /suppliers in the new look (site reskin, 15 Oct 2026). Auto-loaded by
   includes/header.cfm for suppliers.cfm, and only in the preview (or once the
   new look goes live). Markup: includes/inc_rs_suppliers.cfm. Everything is
   scoped under body.ft-reskin and the page's own .rs-sup wrapper.
   One dark green (#194F35) for everything you click or read; no coloured
   edge bars; icons in the one green on the wash circle.
   ========================================================================== */

/* ---------- Hero on the tanker photo ---------- */
body.ft-reskin .rs-sup-hero {
    padding: 36px 0 40px;
    background-position: 30% 40%;
}
/* A steadier wash than the shared one: on a phone the text covers the whole
   photo, so the bottom (buttons, log-in link) needs as much shade as the top. */
body.ft-reskin .rs-sup-hero::before {
    background: linear-gradient(180deg, rgba(12,34,23,0.84) 0%, rgba(12,34,23,0.74) 60%, rgba(12,34,23,0.66) 100%);
}
body.ft-reskin .rs-sup-hero h1 .rs-sup-accent { color: #CFE5C5; }
body.ft-reskin .rs-sup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 0;
}
body.ft-reskin .rs-sup-hero .rs-btn--ghost { border-color: #fff; }
/* On the photo the dark green fill alone blends into the shade, so the main
   button gets a white outline too (the ghost's 1.5px, so both are one height). */
body.ft-reskin .rs-sup-hero .rs-btn:not(.rs-btn--ghost) { border: 1.5px solid #fff; }
body.ft-reskin .rs-sup-hero .rs-btn--ghost:hover,
body.ft-reskin .rs-sup-hero .rs-btn--ghost:focus { border-color: var(--rs-green); }
body.ft-reskin .rs-sup-hero .rs-btn .bi { font-size: 14px; }
body.ft-reskin .rs-page .rs-sup-hero .rs-sup-login { margin: 16px 0 0; font-size: 14px; }
body.ft-reskin .rs-page .rs-sup-hero .rs-sup-login a { color: #fff; font-weight: 600; }

/* ---------- Platform at a glance ---------- */
body.ft-reskin .rs-sup-glance {
    text-align: left;
    margin: 0;
    padding: 16px 0 12px;
}
/* The labels under the figures: 13px, not the shared 12.5px, on phones too. */
body.ft-reskin .rs-sup-facts .rs-fact span { font-size: 13px; }

/* ---------- Get listed: heading, form, log-in card ----------
   One column on phones and tablets in source order (heading, form, card).
   From 992px: heading and log-in card side by side, the form full width under them.
   The anchor jumps need no scroll-margin here: fueltool.css already sets
   html { scroll-padding-top: 110px } for the sticky menu. */
body.ft-reskin .rs-sup-startgrid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}
body.ft-reskin .rs-sup-startgrid > * { min-width: 0; }
body.ft-reskin .rs-sup .rs-sup-intro {
    font-size: 15.5px;
    margin: 0 0 18px;
}
body.ft-reskin .rs-sup .rs-sup-startside .rs-sup-intro { margin-bottom: 0; }
body.ft-reskin .rs-sup-already {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    align-items: start;
}
body.ft-reskin .rs-sup-already > div { min-width: 0; }
body.ft-reskin .rs-sup-already h3 { font-size: 17px; margin: 6px 0 4px; }
body.ft-reskin .rs-sup-already p { margin: 0 0 12px; line-height: 1.6; }
body.ft-reskin .rs-sup-already .rs-btn { padding: 9px 16px; font-size: 14px; }

body.ft-reskin .rs-sup-form.rs-panel {
    max-width: none;
    margin: 0;
    position: relative;
}
/* The form is the page's own, inline styles and all (they were drawn for the
   old dark band): the fields get their hairline back here. */
body.ft-reskin .rs-sup-form .form-control {
    border: 1px solid var(--rs-field) !important;
    border-radius: var(--rs-radius-sm) !important;
    font-size: 16px;
    padding: 0.7rem 0.9rem;
    background: #fff;
    color: var(--rs-ink);
}
body.ft-reskin .rs-sup-form .form-control::placeholder { color: #7D8B76; }
body.ft-reskin .rs-sup-form .form-control:focus {
    border-color: var(--rs-green) !important;
    box-shadow: 0 0 0 3px rgba(25,79,53,0.15);
}
body.ft-reskin .rs-sup-form .btn-ft { font-size: 16px; border-radius: var(--rs-radius-sm); }
/* fueltool.css gives .btn-ft a bright green glow on hover and a bright green
   focus ring; here both are the one dark green. */
body.ft-reskin .rs-sup-form .btn-ft:hover { box-shadow: 0 6px 16px rgba(25,79,53,0.25); }
body.ft-reskin .rs-sup-form .btn-ft:focus-visible { box-shadow: 0 0 0 3px rgba(25,79,53,0.35); }
body.ft-reskin .rs-sup-form .alert { margin-bottom: 14px; line-height: 1.6; }
body.ft-reskin .rs-sup-form .alert-success { background: var(--rs-wash); color: var(--rs-ink); }
body.ft-reskin .rs-sup-form .alert-success .bi { color: var(--rs-green); }
body.ft-reskin .rs-sup-form .alert-warning { background: #FBF3E2; color: #5A3E0B; }
body.ft-reskin .rs-sup-form .alert-success:only-child { margin-bottom: 0; }

/* ---------- Why independent matters ---------- */
body.ft-reskin .rs-sup-head { max-width: 760px; margin: 0 0 24px; }
body.ft-reskin .rs-sup-vs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
body.ft-reskin .rs-sup-col {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--rs-hair);
    border-radius: var(--rs-radius);
    overflow: hidden;
}
body.ft-reskin .rs-sup-col--us { border-color: var(--rs-green); }
body.ft-reskin .rs-page .rs-sup-col h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 14px 20px;
    font-size: 16px;
    border-bottom: 1px solid var(--rs-hair);
}
body.ft-reskin .rs-page .rs-sup-col--them h3 { background: #F1F3EE; color: var(--rs-label); }
body.ft-reskin .rs-page .rs-sup-col--us h3 { background: var(--rs-green); color: #fff; border-bottom-color: var(--rs-green); }
body.ft-reskin .rs-sup-col ul { list-style: none; margin: 0; padding: 18px 20px 4px; }
body.ft-reskin .rs-sup-col li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.45;
}
body.ft-reskin .rs-sup-col li > div { min-width: 0; overflow-wrap: anywhere; }
body.ft-reskin .rs-sup-col li .bi { font-size: 16px; line-height: 1.4; }
body.ft-reskin .rs-sup-col--them li .bi { color: #A3AD9C; }
body.ft-reskin .rs-sup-col--us li .bi { color: var(--rs-green); }
body.ft-reskin .rs-sup-col li strong { display: block; color: var(--rs-ink); font-weight: 700; }
body.ft-reskin .rs-sup-col li span { display: block; font-size: 13.5px; color: var(--rs-label); margin-top: 2px; }
body.ft-reskin .rs-sup-versus { display: flex; align-items: center; justify-content: center; }
body.ft-reskin .rs-sup-versus span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rs-wash);
    color: var(--rs-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bricolage Grotesque', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* ---------- How it works ---------- */
body.ft-reskin .rs-page .rs-sup-steps h3 { font-size: 17px; margin: 0 0 4px; }
body.ft-reskin .rs-sup-steps p { margin: 0; font-size: 14.5px; }

/* ---------- The supplier portal: six features ---------- */
body.ft-reskin .rs-sup-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
body.ft-reskin .rs-sup-features .rs-card {
    min-width: 0;
    margin: 0;
    padding: 16px 14px;
    overflow-wrap: anywhere;
}
body.ft-reskin .rs-sup-features .rs-icon { margin-bottom: 10px; }
body.ft-reskin .rs-page .rs-sup-features h3 { font-size: 15.5px; margin: 0 0 4px; }
body.ft-reskin .rs-sup-features p { margin: 0; font-size: 13.5px; line-height: 1.5; }

/* ---------- Phones: full-width send button ---------- */
@media (max-width: 575.98px) {
    body.ft-reskin .rs-sup-form .btn-ft { width: 100%; }
    body.ft-reskin .rs-sup-form.rs-panel { padding: 18px 14px; }
}

/* ---------- Bigger screens ---------- */
@media (min-width: 768px) {
    body.ft-reskin .rs-sup-vs { grid-template-columns: 1fr auto 1fr; gap: 18px; }
    body.ft-reskin .rs-sup-versus span { width: 48px; height: 48px; font-size: 14px; }
    body.ft-reskin .rs-sup-features { gap: 16px; }
    body.ft-reskin .rs-sup-features .rs-card { padding: 20px 20px; }
}
@media (min-width: 992px) {
    body.ft-reskin .rs-sup-hero { padding: 40px 0 64px; background-position: center 40%; }
    body.ft-reskin .rs-sup-hero::before {
        background: linear-gradient(90deg, rgba(12,34,23,0.86) 0%, rgba(12,34,23,0.66) 50%, rgba(12,34,23,0.18) 100%);
    }
    /* Heading and log-in card side by side, centred on each other; the form full width below */
    body.ft-reskin .rs-sup-startgrid {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        grid-template-areas: "side already" "form form";
        align-items: center;
        gap: 32px 48px;
    }
    body.ft-reskin .rs-sup-startside { grid-area: side; }
    body.ft-reskin .rs-sup-startform { grid-area: form; }
    body.ft-reskin .rs-sup-already { grid-area: already; align-self: center; }
    body.ft-reskin .rs-page .rs-side .rs-sup-intro { margin-top: 16px; max-width: 40em; }
    body.ft-reskin .rs-sup .rs-sup-intro { font-size: 16.5px; }
    body.ft-reskin .rs-sup-head { margin-bottom: 36px; }
    body.ft-reskin .rs-page .rs-sup-col h3 { padding: 16px 24px; font-size: 17px; }
    body.ft-reskin .rs-sup-col ul { padding: 22px 24px 8px; }
    body.ft-reskin .rs-sup-col li { font-size: 15.5px; }
    body.ft-reskin .rs-page .rs-sup-steps h3 { font-size: 19px; }
    body.ft-reskin .rs-sup-steps p { font-size: 15.5px; }
    body.ft-reskin .rs-sup-features { grid-template-columns: repeat(3, 1fr); }
    body.ft-reskin .rs-sup-features .rs-card { padding: 24px; }
    body.ft-reskin .rs-page .rs-sup-features h3 { font-size: 17px; }
    body.ft-reskin .rs-sup-features p { font-size: 14.5px; }
}
