/* ==========================================================================
   SITE RESKIN: the sign-in pages (/login, /checkout-login, /register,
   /forgot-password, /reset-password). 15 Oct 2026.
   Loaded only in the preview, through request.reskinCss = "signin" (see
   includes/header.cfm). Builds on the shared rs- blocks in reskin.css.

   The look: a calm wash band holding a white form panel, sitting centred on its
   own (15 Oct review: the photo beside it only decorated, so it is gone). Forms,
   fields, hidden inputs and actions are exactly as before; only the dressing changes.
   No coloured edge bars, no new fonts, fewer pills, plain hyphens in text.
   ========================================================================== */

/* The band: wash behind everything, the form column */
.rs-signin-band {
    background: var(--rs-wash);
    padding: 22px 0 36px;
}
.rs-signin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}
.rs-signin-grid > * { min-width: 0; }
.rs-signin-main { width: 100%; }

/* Heading block above the panel */
.rs-page .rs-signin-head h1 { font-size: 30px; margin-bottom: 10px; }
.rs-signin-head .rs-lead { margin-bottom: 18px; }

/* The white panel holding a form */
.rs-signin .rs-panel {
    max-width: none;
    margin: 0;
    padding: 22px 20px;
    overflow-wrap: anywhere;
}
.rs-signin .rs-panel + .rs-panel { margin-top: 14px; }
.rs-page .rs-signin-title {
    font-size: 20px;
    letter-spacing: -0.3px;
    margin: 0 0 14px;
}
.rs-signin .rs-panel .rs-small { margin: 0 0 14px; }
.rs-signin .rs-panel hr {
    border: 0;
    border-top: 1px solid var(--rs-hair);
    opacity: 1;
    margin: 20px 0 14px;
}

/* Buttons: the one dark green (reskin.css re-points .btn-ft), squarer */
.rs-signin .btn-ft,
.rs-signin .btn-ft-outline { border-radius: var(--rs-radius-sm); }
.rs-signin .btn-ft-outline {
    background: #fff;
    border: 1.5px solid var(--rs-field);
    color: var(--rs-ink);
}
.rs-signin .btn-ft-outline:hover,
.rs-signin .btn-ft-outline:focus {
    background: var(--rs-green);
    border-color: var(--rs-green);
    color: #fff;
}
/* fueltool.css gives a hovered or tapped button a bright green glow; here
   it is a soft dark green one (bright green is only the logo and the bolt) */
.rs-signin .btn-ft:hover,
.rs-signin .btn-ft-outline:hover { box-shadow: 0 6px 16px rgba(25,79,53,0.18); }

/* Small links under a form */
.rs-signin-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 4px 12px;
    font-size: 14px;
    text-align: left;
}
.rs-signin-links .rs-sep { color: var(--rs-hair); }
/* The links keep the customer page's 14px (Bootstrap .small would make
   them 12px in this row) and get a taller tap area */
.rs-signin-links a { display: inline-block; padding: 6px 2px; font-weight: 600; }
.rs-signin-links a.small { font-size: inherit; }
.rs-signin-links a.text-muted { font-weight: 400; }
/* Every link in the one dark green, the quieter ones (Bootstrap's grey
   .text-muted) included; they stay at normal weight */
.rs-signin a.text-muted { color: var(--rs-green) !important; }
/* On a phone the two links wrap; drop the bar so it never dangles at a line end */
@media (max-width: 575.98px) {
    .rs-signin-links { gap: 6px 16px; }
    .rs-signin-links .rs-sep { display: none; }
}

/* Customer / Supplier switch: the site's segmented track, squarer and in
   the one dark green (fewer pills) */
.rs-signin .rs-signin-switch { margin: 0 0 18px; }
.rs-signin .ft-segmented {
    display: flex;
    width: 100%;
    gap: 4px;
    padding: 4px;
    background: #fff;
    border: 1px solid var(--rs-hair);
    border-radius: var(--rs-radius-sm);
}
.rs-signin .ft-segmented .nav-item { flex: 1 1 0; }
.rs-signin .ft-segmented .nav-link {
    width: 100%;
    border-radius: 7px;
    padding: 0.6rem 0.5rem;
}
.rs-signin .ft-segmented .nav-link:hover:not(.active) {
    background: var(--rs-wash);
    color: var(--rs-ink);
}
.rs-signin .ft-segmented .nav-link.active {
    background: var(--rs-green);
    color: #fff;
    box-shadow: none;
}

/* Messages above a form: plain cards, no edge stripe */
.rs-signin .alert {
    border: 1px solid transparent;
    border-radius: var(--rs-radius-sm);
    font-size: 14.5px;
    line-height: 1.55;
    padding: 12px 14px;
    margin-bottom: 16px;
}
.rs-signin .alert-success {
    background: #EEF5EA;
    border-color: #CFE0C6;
    color: var(--rs-ink);
}
.rs-signin .alert-danger {
    background: #FDF3F2;
    border-color: #F1C9C4;
    color: #7A1F17;
}

/* The quiet notes under the panel */
.rs-signin-note {
    margin: 14px 2px 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--rs-body);
    text-align: left;
}
.rs-signin-secure {
    margin: 16px 0 0;
    text-align: left;
    font-size: 14px;
    color: var(--rs-body);
}
/* Same size as the customer page's line, and the body colour so it reads
   clearly on the wash (5.98:1) */
.rs-signin-secure small { font-size: inherit; }
.rs-signin-secure .text-muted { color: var(--rs-body) !important; }
.rs-signin-back { margin: 18px 0 0; text-align: left; font-size: 14px; }

/* Checkout steps (1 Login / Register, 2 Review, 3 Complete), quieter */
.rs-signin .checkout-steps {
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow: visible;
    gap: 2px 6px;
    margin: 0 0 16px;
}
.rs-signin .checkout-step {
    padding: 4px 8px 4px 0;
    font-size: 13px;
    color: var(--rs-label);
    white-space: nowrap;
}
.rs-signin .checkout-step .step-number {
    width: 26px;
    height: 26px;
    font-size: 13px;
    background: #fff;
    color: var(--rs-label);
    border: 1px solid var(--rs-field);
}
.rs-signin .checkout-step.active { color: var(--rs-ink); }
.rs-signin .checkout-step.active .step-number {
    background: var(--rs-green);
    border-color: var(--rs-green);
    color: #fff;
}

@media (min-width: 768px) {
    .rs-signin-main { max-width: 560px; margin: 0 auto; }
}
@media (min-width: 992px) {
    .rs-signin-band { padding: 28px 0 56px; }
    .rs-signin-grid {
        grid-template-columns: minmax(0, 540px);
        justify-content: center;
    }
    .rs-signin-main { max-width: none; margin: 0; }
    .rs-page .rs-signin-head h1 { font-size: 38px; letter-spacing: -1.1px; margin-bottom: 10px; }
    .rs-signin-head .rs-lead { font-size: 17px; margin-bottom: 20px; }
    .rs-signin .rs-panel { padding: 26px 28px; }
    .rs-page .rs-signin-title { font-size: 22px; }
}
