/* Capital Tire Inc.: the look of their wholesale site (capitaltire.net/Wholesale): the black CT badge,
   lime green #94ba65, charcoal, and the tire-warehouse photo behind the sign-in. Loaded after
   styles.css, admin.css and approve.css.
   White on that green is hard to read on a scanner in a bright shop, so green fills carry dark text,
   and where the accent is the text itself (active tab, links) it is the deeper green. */
:root {
  --red: #94ba65;
  --red-deep: #4d7a26;
  --red-ring: rgba(148, 186, 101, .3);
  --red-glow: rgba(148, 186, 101, .22);
  --red-shadow: rgba(77, 122, 38, .5);
}

/* green buttons, badges and tags: dark text, slightly darker green on hover */
.btn.primary, .btn.go, .btn-red, .badge.alert, .tag.red, .bin.on-order .pos { color: #14171b; }
.btn.primary:hover, .btn.go:hover, .btn-red:hover { background: #84ab55; border-color: #84ab55; }
.btn-red, .login-card .btn-red { font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
/* accent used as text */
.tab.active, .login-row a, .crumb { color: var(--red-deep); }

/* tip banner: charcoal with a green rule, like their site's dark bars, and a green Add chip */
.banner { background: #232629; color: #fff; border-bottom: 3px solid var(--red); }
.banner-nav:active { background: #000; }
.banner-add { background: var(--red); border-color: var(--red); color: #14171b; }
.banner-add:active { background: #84ab55; }
.banner-preview { background: #232629; border-bottom: 3px solid var(--red); }
.banner-preview .chip-add { background: var(--red); border-color: var(--red); color: #14171b; }

/* logo: a wide badge, so a little taller than RNR's wordmark */
.topbar .brand-logo { height: 38px; }
@media (max-width: 420px) { .topbar .brand-logo { height: 34px; } }
.mast .brand-logo { height: 46px; }
@media (min-width: 861px) { .mast .brand-logo { height: 56px; } }
@media (max-width: 599px) { .mast .brand-logo { height: 40px; } }
/* the badge already has a white outline for dark backgrounds: no inverting in the footer */
.foot-logo { height: 48px; filter: none; }

/* sign-in: their warehouse photo, darkened, in place of the plain gradient */
.hero-bg .grad { background: linear-gradient(rgba(12, 13, 15, .72), rgba(12, 13, 15, .82)), url("/brand/hero-bg.jpg") center / cover no-repeat; }
.hero-bg .tread { display: none; }
.eyebrow { color: var(--red); }

/* the approval page a manager opens from the email */
.mast img { height: 46px; }
.card .eyebrow { color: var(--red-deep); }
