/*
 * Sole Toscana's look, loaded after Bootstrap and the skeleton's /assets/clientwms.css (see templates/_theme.html.twig), so a rule
 * here wins over the same selector there. The colors are Bootstrap variables; the primary button sets its own on itself.
 * The table headers of the order, ship and edit emails are the legacy emails' cream with grey text: the skeleton reads --email-header-rgb and
 * --email-header-text-rgb from this file (without them it uses --bs-primary-rgb with white text).
 */

/* the legacy stylesheet's colors: the gold of a link on hover rgb(135, 107, 52), the grey of a link rgb(75, 75, 75), the cream of a table header rgb(237, 233, 221) */
:root {
    --bs-primary: rgb(135, 107, 52); --bs-primary-rgb: 135, 107, 52;
    --bs-link-color: rgb(75, 75, 75); --bs-link-color-rgb: 75, 75, 75;
    --bs-link-hover-color: rgb(135, 107, 52); --bs-link-hover-color-rgb: 135, 107, 52;
    --bs-tertiary-bg: rgb(237, 233, 221); --bs-tertiary-bg-rgb: 237, 233, 221;
    --secondary: rgb(130, 130, 130);
    --email-header-rgb: 237, 233, 221; --email-header-text-rgb: 130, 130, 130;
}
.btn-primary {
    --bs-btn-bg: rgb(135, 107, 52); --bs-btn-border-color: rgb(135, 107, 52);
    --bs-btn-hover-bg: rgb(108, 86, 42); --bs-btn-hover-border-color: rgb(108, 86, 42);
    --bs-btn-active-bg: rgb(108, 86, 42); --bs-btn-active-border-color: rgb(108, 86, 42);
    --bs-btn-disabled-bg: rgb(135, 107, 52); --bs-btn-disabled-border-color: rgb(135, 107, 52);
}
.brand { display: flex; align-items: center; gap: .6rem; }
/* a white header, as the legacy portal's (the skeleton's is the primary color, with light text): dark text, the gold on the links and the rule under it */
.topbar.bg-primary { background-color: #fff !important; }
.topbar {
    --bs-navbar-color: rgb(75, 75, 75); --bs-navbar-hover-color: var(--bs-primary); --bs-navbar-active-color: var(--bs-primary);
    --bs-navbar-brand-color: rgb(75, 75, 75); --bs-navbar-brand-hover-color: var(--bs-primary);
    border-bottom: 4px solid var(--bs-primary);
}
.card-header { color: var(--bs-primary); }
.login h1 { color: var(--bs-primary); }
