/*
Theme Name: Flow Concepts
Theme URI: https://flowconcepts.nl
Description: Astra child theme for the Flow Concepts courses. Designs the MemberPress environment around Csikszentmihalyi's flow channel: progress through a course is movement along the diagonal between challenge and skill.
Author: Flow Concepts
Template: astra
Version: 1.0.0
Text Domain: flowconcepts
Requires PHP: 8.0
*/

/* ==========================================================================
   Fonts — the same as on flowconcepts.nl, self-hosted (GDPR: a page visit
   sends no requests to Google).
   Montserrat for headings, menu, buttons and names; Plus Jakarta Sans for
   body text and the rest of the interface. Both variable and free
   to use (SIL Open Font License), via Fontsource.
   ========================================================================== */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/jakarta-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/jakarta-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
  /* ==========================================================================
     Design "Stroming"

     The LMS revolves around flow. The flow channel is therefore the visual
     mark of the environment; everything else is white, calm and crisp.

       white   #FFFFFF  the base
       mist    #F2F6F3  calm surfaces: sidebar, footer, hover
       mint    #EAF4EC  the channel's surface
       forest  #1D5E37  lines and text on mint (6.9:1)
       flow    #70C17E  progress and completed, the brand green
       signal  #D93A43  only "do this now" and the you-dot. Slightly deeper
                        than the brand red #E7454D, so white text on a button
                        reaches 4.5:1.

     Red means action, green means progress. There is no third
     accent colour.
     ========================================================================== */
  --fc-ink: #323232;
  --fc-ink-soft: #535353;
  --fc-surface: #ffffff;
  --fc-tint: #f2f6f3;
  --fc-mint: #eaf4ec;
  --fc-forest: #1d5e37;
  --fc-block: #ffffff;
  --fc-block-active: #fdeeef;
  --fc-card: #ffffff;
  --fc-hover: #f2f6f3;

  /* The bar is white, with the full-colour logo. */
  --fc-bar: #ffffff;
  --fc-bar-text: #323232;
  --fc-bar-text-soft: #535353;
  --fc-bar-line: rgba(50, 50, 50, 0.18);
  --fc-bar-wash: var(--fc-tint);

  /* No floating cards: surfaces are delineated with a hairline. Only what
     truly sits above the page (menus, the resume block) gets depth. */
  --fc-shadow-sm: 0 0 0 1px var(--fc-line);
  --fc-shadow: 0 0 0 1px var(--fc-line), 0 12px 28px -18px rgba(50, 50, 50, 0.22);
  --fc-shadow-lg: 0 0 0 1px var(--fc-line), 0 18px 40px -16px rgba(50, 50, 50, 0.24);
  --fc-flow: #57a862;
  --fc-flow-bright: #70c17e;
  --fc-flow-soft: #edf5ee;
  --fc-accent: #d93a43;
  --fc-accent-dark: #b92f37;
  --fc-muted: #656c68;
  --fc-line: #e2e8e4;

  /* Type: same as flowconcepts.nl. Montserrat for headings, menu, buttons
     and names; Plus Jakarta Sans for body text and the interface. Lessons
     are read in Plus Jakarta Sans too, because the company site has no
     serif typeface. --fc-read stays, so the reading text can still be
     tuned separately. */
  --fc-display: 'Montserrat', system-ui, -apple-system, sans-serif;
  --fc-ui: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --fc-read: var(--fc-ui);

  /* Scale — Elements of Typographic Style, ratio 1.25 */
  --fc-t-xs: 0.78rem;
  --fc-t-s: 0.875rem;
  --fc-t-base: 1rem;
  --fc-t-m: 1.1rem;
  --fc-t-l: 1.45rem;
  --fc-t-xl: 1.95rem;
  --fc-t-2xl: 2.6rem;
  --fc-t-3xl: 3.4rem;

  /* Spacing */
  --fc-sp-1: 0.375rem;
  --fc-sp-2: 0.75rem;
  --fc-sp-3: 1.125rem;
  --fc-sp-4: 1.75rem;
  --fc-sp-5: 2.5rem;
  --fc-sp-6: 4rem;

  /* Shape. The buttons on flowconcepts.nl are pills; that is a brand mark,
     not a matter of taste, so we adopt it. Input fields stay rectangular
     with a slight rounding, because a pill-shaped text field reads poorly. */
  --fc-r-pill: 999px;
  --fc-r-panel: 28px;
  --fc-r-band: 20px;
  --fc-r-card: 14px;
  --fc-r-control: 8px;

  /* Reading measure in rem, not ch: the 0 in Plus Jakarta Sans is wide,
     so 68ch came out at about 100 characters per line. 40rem is roughly
     70 characters. */
  --fc-read-measure: 40rem;
  --fc-page: 1140px;
}

/* ==========================================================================
   Base
   ========================================================================== */

.fc-scope {
  font-family: var(--fc-ui);
  color: var(--fc-ink);
  background: var(--fc-surface);
  font-size: var(--fc-t-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.fc-scope *,
.fc-scope *::before,
.fc-scope *::after { box-sizing: border-box; }

.fc-scope h1, .fc-scope h2, .fc-scope h3, .fc-scope h4 {
  font-family: var(--fc-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 var(--fc-sp-2);
  color: var(--fc-ink);
  text-wrap: balance;
}

.fc-scope h1 { font-size: var(--fc-t-2xl); }
.fc-scope h2 { font-size: var(--fc-t-xl); }
.fc-scope h3 { font-size: var(--fc-t-l); }
.fc-scope h4 { font-size: var(--fc-t-m); font-weight: 600; }
.fc-scope p { margin: 0 0 var(--fc-sp-3); max-width: var(--fc-read-measure); }

/* Links are red, like "Lees meer" on flowconcepts.nl. */
.fc-scope a { color: var(--fc-accent); text-underline-offset: 3px; }
.fc-scope a:hover { color: var(--fc-accent-dark); }

.fc-scope :focus-visible {
  outline: 2px solid var(--fc-accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.fc-page {
  max-width: var(--fc-page);
  margin: 0 auto;
  padding: 0 var(--fc-sp-4);
}

@media (max-width: 640px) {
  .fc-page { padding: 0 var(--fc-sp-3); }
  :root { --fc-t-2xl: 1.95rem; --fc-t-3xl: 2.3rem; --fc-t-xl: 1.5rem; }
}

/* Secondary text. No all-caps, no strings of middle dots. */
.fc-meta {
  font-size: var(--fc-t-s);
  color: var(--fc-muted);
  line-height: 1.5;
}

.fc-lede {
  font-size: var(--fc-t-m);
  color: var(--fc-ink-soft);
  max-width: 54ch;
}

/* ==========================================================================
   Controls
   ========================================================================== */

.fc-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--fc-sp-2);
  font-family: var(--fc-display);
  font-size: var(--fc-t-base);
  font-weight: 700;
  line-height: 1;
  padding: 0.8rem 1.5rem;
  border-radius: var(--fc-r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.fc-btn--primary { background: var(--fc-accent); color: #fff; }
.fc-btn--primary:hover { background: var(--fc-accent-dark); color: #fff; }

.fc-btn--quiet {
  background: transparent;
  color: var(--fc-ink);
  border-color: var(--fc-line);
}
.fc-btn--quiet:hover { border-color: var(--fc-ink); color: var(--fc-ink); }

.fc-btn--flow { background: var(--fc-flow); color: #fff; }
.fc-btn--flow:hover { background: var(--fc-ink); color: #fff; }

.fc-field { margin-bottom: var(--fc-sp-3); }

.fc-field > label {
  display: block;
  font-size: var(--fc-t-s);
  font-weight: 560;
  margin-bottom: var(--fc-sp-1);
  color: var(--fc-ink);
}

.fc-scope input[type="text"],
.fc-scope input[type="email"],
.fc-scope input[type="password"],
.fc-scope input[type="tel"],
.fc-scope input[type="number"],
.fc-scope select,
.fc-scope textarea {
  width: 100%;
  font-family: var(--fc-ui);
  font-size: var(--fc-t-base);
  color: var(--fc-ink);
  /* Input fields stay white: typing on a coloured surface reads worse. */
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-r-control);
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s ease;
}

.fc-scope input:focus,
.fc-scope select:focus,
.fc-scope textarea:focus {
  border-color: var(--fc-flow);
  outline: none;
  box-shadow: 0 0 0 3px var(--fc-flow-soft);
}

/* ==========================================================================
   Cards — a border instead of the generic grey shadow
   ========================================================================== */

.fc-card {
  background: var(--fc-card);
  border: 0;
  border-radius: var(--fc-r-band);
  padding: var(--fc-sp-4);
  box-shadow: var(--fc-shadow);
}

/* The resume card is the block your eye should go to, so it may sit
   slightly further off the page than the rest. */
.fc-card--resume {
  background: var(--fc-card);
  border: 0;
  box-shadow: var(--fc-shadow-lg);
}

.fc-notice {
  border-left: 3px solid var(--fc-flow);
  background: var(--fc-flow-soft);
  padding: var(--fc-sp-3);
  border-radius: 0 var(--fc-r-control) var(--fc-r-control) 0;
  margin-bottom: var(--fc-sp-3);
}

.fc-notice--error {
  border-left-color: var(--fc-accent);
  background: #fdecec;
}

.fc-notice p:last-child { margin-bottom: 0; }

/* ==========================================================================
   The flow channel
   ========================================================================== */

.fc-channel { display: block; width: 100%; height: auto; }
.fc-channel__band { fill: var(--fc-flow-soft); }
.fc-channel__zone { fill: none; }
.fc-channel__edge { stroke: var(--fc-flow); stroke-width: 1; opacity: 0.35; }
.fc-channel__axis { stroke: var(--fc-muted); stroke-width: 1; opacity: 0.5; }

.fc-channel__travelled {
  stroke: var(--fc-flow);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
}

.fc-channel__remaining {
  stroke: var(--fc-muted);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 2 6;
  stroke-linecap: round;
  opacity: 0.6;
}

.fc-channel__you { fill: var(--fc-accent); }
.fc-channel__band { fill: var(--fc-flow-soft); }
.fc-channel__you-ring { fill: none; stroke: var(--fc-accent); stroke-width: 1.5; opacity: 0.35; }

.fc-channel__label {
  font-family: var(--fc-ui);
  font-size: 13px;
  fill: var(--fc-muted);
}

.fc-channel__label--zone { font-style: italic; opacity: 0.8; }
.fc-channel__label--you { fill: var(--fc-accent); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .fc-channel__travelled {
    stroke-dasharray: var(--fc-dash, 0);
    animation: fc-draw 900ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
  @keyframes fc-draw {
    from { stroke-dashoffset: var(--fc-dash, 0); }
    to { stroke-dashoffset: 0; }
  }
}

/* ==========================================================================
   Shell — the bar on top, the footer at the bottom
   Shared by the MemberPress pages and the learning environment, hence here in
   style.css: that sheet is loaded everywhere, memberpress.css is not.
   ReadyLaunch applied design_primary_color here; we strip that inline style in
   functions.php, so red stays reserved for position and the primary action.
   ========================================================================== */

.fc-shell {
  display: flex;
  flex-direction: column;
  /* At least one screen tall, so the footer sits at the bottom of a tall screen.
     The admin bar pushes the page down; without subtracting it, a short
     page could always be scrolled 32px. */
  min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
  min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
  background: var(--fc-surface);
}

.fc-shell > .site-main,
.fc-shell > main { flex: 1 0 auto; }

/* ReadyLaunch gives .site-header its own padding (0.5rem 1rem). On their
   pages that put the logo 16px further in than the title on a phone, and
   made the bar taller than on our own templates. The sizing comes only
   from .fc-bar__inner. */
.fc-scope .fc-bar {
  padding: 0;
  background: var(--fc-bar);
  color: var(--fc-bar-text);
}

.fc-bar__inner {
  display: flex;
  align-items: center;
  gap: var(--fc-sp-4);
  min-height: 4.5rem;
  padding-top: var(--fc-sp-2);
  padding-bottom: var(--fc-sp-2);
  /* On the pages MemberPress builds, the header is a flex container;
     without full width the bar shrinks to its content and the logo and menu
     sit in a narrow strip in the middle, detached from the page below. */
  width: 100%;
  box-sizing: border-box;
}

.fc-bar__brand { flex: none; display: inline-flex; align-items: center; }
.fc-bar__brand img { display: block; height: 2.4rem; width: auto; }

.fc-bar__wordmark {
  font-weight: 700;
  font-size: var(--fc-t-m);
  letter-spacing: 0;
  color: var(--fc-bar-text);
  font-family: var(--fc-display);
}

.fc-bar--guest .fc-bar__inner { justify-content: flex-start; }

.fc-bar__nav {
  display: flex;
  gap: var(--fc-sp-4);
  margin-right: auto;
}

.fc-scope .fc-bar__nav a {
  color: var(--fc-bar-text-soft);
  text-decoration: none;
  font-size: var(--fc-t-s);
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  font-family: var(--fc-display);
}

.fc-scope .fc-bar__nav a:hover {
  color: var(--fc-bar-text);
  border-bottom-color: var(--fc-accent);
}

/* Account menu: native details, so it opens without JavaScript. */
.fc-usermenu { position: relative; flex: none; margin-left: auto; }
.fc-usermenu__trigger {
  display: flex;
  align-items: center;
  gap: var(--fc-sp-2);
  cursor: pointer;
  list-style: none;
  padding: 0.35rem 0.5rem;
  border-radius: var(--fc-r-control);
  color: var(--fc-bar-text);
  font-size: var(--fc-t-s);
}

.fc-usermenu__trigger::-webkit-details-marker { display: none; }
.fc-usermenu__trigger:hover { background: var(--fc-tint); }

.fc-usermenu__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 0 1px var(--fc-line);
}
.fc-usermenu__name { font-weight: 540; }
.fc-usermenu__chevron { width: 1rem; height: 1rem; opacity: 0.7; flex: none; }
.fc-usermenu[open] .fc-usermenu__chevron { transform: rotate(180deg); }

.fc-usermenu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 40;
  min-width: 14rem;
  background: #fff;
  border-radius: var(--fc-r-card);
  padding: var(--fc-sp-2);
  box-shadow: 0 2px 4px rgba(50, 50, 50, 0.08), 0 16px 40px -14px rgba(50, 50, 50, 0.35);
}

.fc-usermenu__email {
  margin: 0;
  padding: var(--fc-sp-2);
  font-size: var(--fc-t-xs);
  color: var(--fc-muted);
  border-bottom: 1px solid var(--fc-line);
  overflow-wrap: anywhere;
}

.fc-scope .fc-usermenu__panel a {
  display: block;
  padding: 0.55rem var(--fc-sp-2);
  border-radius: var(--fc-r-control);
  color: var(--fc-ink);
  text-decoration: none;
  font-size: var(--fc-t-s);
}

.fc-scope .fc-usermenu__panel a:hover { background: var(--fc-tint); }

/* In a lesson the main menu lives in the account menu, above the account links. */
.fc-usermenu__nav {
  margin: 0 0 var(--fc-sp-1);
  padding: 0 0 var(--fc-sp-1);
  border-bottom: 1px solid var(--fc-line);
}

/* Language: two flags as a small segmented switch, left of the account menu
   (inc/language.php). The flags are inline SVG, so they look the same on
   Windows, where flag emoji show as two letters. */
.fc-lang {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 3px;
  border-radius: var(--fc-r-pill);
  background: var(--fc-tint);
}

.fc-lang + .fc-usermenu { margin-left: 0; }

/* Two classes plus .fc-scope: in the learning environment Spectre styles
   every link in the bar (.navbar a). */
.fc-scope .fc-lang a.fc-lang__option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.6rem 0.3rem 0.35rem;
  border-radius: var(--fc-r-pill);
  color: var(--fc-bar-text-soft);
  font-family: var(--fc-display);
  font-size: var(--fc-t-xs);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 0;
}

.fc-scope .fc-lang a.fc-lang__option:hover { color: var(--fc-bar-text); }

.fc-scope .fc-lang a.fc-lang__option[aria-current] {
  background: #fff;
  color: var(--fc-bar-text);
  box-shadow: 0 1px 2px rgba(50, 50, 50, 0.14);
}

.fc-lang__flag {
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
  border-radius: 50%;
  background: center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(50, 50, 50, 0.12);
}

/* The flag of the language you're not using is a bit quieter. */
.fc-lang__option:not([aria-current]) .fc-lang__flag { opacity: 0.75; }
.fc-lang__option:not([aria-current]):hover .fc-lang__flag { opacity: 1; }

.fc-lang__flag--nl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Cpath fill='%2321468B' d='M0 0h9v6H0z'/%3E%3Cpath fill='%23fff' d='M0 0h9v4H0z'/%3E%3Cpath fill='%23AE1C28' d='M0 0h9v2H0z'/%3E%3C/svg%3E");
}

.fc-lang__flag--en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='t'%3E%3Cpath d='M30 15h30v15zv15H0zH0V0zV0h30z'/%3E%3C/clipPath%3E%3Cpath fill='%23012169' d='M0 0h60v30H0z'/%3E%3Cpath stroke='%23fff' stroke-width='6' d='M0 0l60 30m0-30L0 30'/%3E%3Cpath stroke='%23C8102E' stroke-width='4' clip-path='url(%23t)' d='M0 0l60 30m0-30L0 30'/%3E%3Cpath stroke='%23fff' stroke-width='10' d='M30 0v30M0 15h60'/%3E%3Cpath stroke='%23C8102E' stroke-width='6' d='M30 0v30M0 15h60'/%3E%3C/svg%3E");
}

/* The footer as a band in the site's tint, with the full-colour logo, like the
   footer of flowconcepts.nl. */
.fc-foot {
  margin-top: var(--fc-sp-6);
  background: var(--fc-tint);
}

.fc-foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--fc-sp-2) var(--fc-sp-4);
  padding-top: var(--fc-sp-5);
  padding-bottom: var(--fc-sp-5);
}

.fc-foot__brand img { display: block; height: 2.25rem; width: auto; }
.fc-foot p { margin: 0; }
.fc-foot__legal { margin-left: auto !important; font-size: var(--fc-t-s); color: var(--fc-ink-soft); }

.fc-scope .fc-foot__link {
  font-family: var(--fc-display);
  font-size: var(--fc-t-s);
  font-weight: 700;
  color: var(--fc-accent);
  text-decoration: none;
}

.fc-scope .fc-foot__link:hover { color: var(--fc-accent-dark); }

@media (max-width: 640px) {
  .fc-foot__inner { flex-direction: column; align-items: flex-start; }
  .fc-foot__legal { margin-left: 0 !important; }
}

@media (max-width: 720px) {
  .fc-bar__inner { gap: var(--fc-sp-2); flex-wrap: wrap; }
  .fc-bar__nav { order: 3; width: 100%; gap: var(--fc-sp-3); }
  .fc-usermenu__name { display: none; }
}


/* ==========================================================================
   The brand shape

   The organic green shape that sits beneath "teamflow" on flowconcepts.nl.
   Once per screen, behind one word — it's a brand gesture, not a
   highlighter that pops up everywhere.
   ========================================================================== */

.fc-hl {
  position: relative;
  display: inline-block;
  isolation: isolate;
  padding: 0 0.18em;
  color: #fff;
}

/* Generously around the word, and low enough to take in descenders — on the
   site the word sits fully inside the shape, not half on top of it. */
.fc-hl__shape {
  position: absolute;
  left: -0.18em;
  right: -0.18em;
  top: -0.06em;
  bottom: -0.16em;
  width: auto;
  height: auto;
  z-index: -1;
  fill: var(--fc-flow-bright);
}

.fc-hl__text { position: relative; }

/* ==========================================================================
   Buttons — red for the primary step, green for completing
   ========================================================================== */

.fc-btn--go { background: var(--fc-flow); color: #fff; }
.fc-btn--go:hover { background: var(--fc-ink); color: #fff; }

/* A block that deserves emphasis without being a full card. */
.fc-panel {
  background: var(--fc-card);
  border-radius: var(--fc-r-band);
  padding: var(--fc-sp-4);
  box-shadow: var(--fc-shadow);
}

/* ==========================================================================
   Buttons as link, button or submit

   Belongs here, not in memberpress.css: .fc-scope a { color: ... } has an
   element in its selector and therefore beats .fc-btn--primary. Without these
   rules an <a class="fc-btn--primary"> got green text on red in the
   learning environment, where memberpress.css isn't loaded.
   ========================================================================== */

.fc-scope input[type="submit"].fc-btn,
.fc-scope button.fc-btn,
.fc-scope a.fc-btn {
  font-family: var(--fc-display);
  font-size: var(--fc-t-base);
  font-weight: 700;
  line-height: 1;
  padding: 0.8rem 1.5rem;
  border-radius: var(--fc-r-pill);
  border: 1px solid transparent;
  text-shadow: none;
  box-shadow: none;
  height: auto;
  text-transform: none;
  letter-spacing: 0;
}

.fc-scope input[type="submit"].fc-btn--primary,
.fc-scope button.fc-btn--primary,
.fc-scope a.fc-btn--primary {
  background: var(--fc-accent);
  background-color: var(--fc-accent);
  color: #fff;
  border-color: transparent;
}

.fc-scope input[type="submit"].fc-btn--primary:hover,
.fc-scope button.fc-btn--primary:hover,
.fc-scope a.fc-btn--primary:hover {
  background: var(--fc-accent-dark);
  background-color: var(--fc-accent-dark);
  color: #fff;
}


/* ==========================================================================
   Mobile chrome

   On a phone the bar took up a quarter of the screen: the logo was at
   desktop size and the navigation wrapped onto a second line.
   ========================================================================== */

@media (max-width: 720px) {
  .fc-bar__inner { min-height: 3.5rem; row-gap: 0; }

  .fc-bar__brand img { height: 1.75rem; }

  .fc-bar__nav {
    order: 3;
    width: 100%;
    gap: var(--fc-sp-3);
    margin: 0;
    padding-bottom: var(--fc-sp-2);
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .fc-bar__nav::-webkit-scrollbar { display: none; }
  .fc-scope .fc-bar__nav a { padding: 0.25rem 0; }

  /* Without navigation (guest) the bar needn't be taller than the logo. */
  .fc-bar--guest .fc-bar__inner { min-height: 3.25rem; }
  .fc-bar--guest .fc-bar__brand img { height: 1.6rem; }

  .fc-usermenu__avatar { width: 1.75rem; height: 1.75rem; }
  .fc-usermenu__panel { min-width: 12rem; }

  /* Flags only; each still a 30px target. */
  .fc-lang__code { display: none; }
  .fc-scope .fc-lang a.fc-lang__option { padding: 0.35rem; }
  .fc-lang__flag { width: 1.25rem; height: 1.25rem; }
}

/* The channel is an SVG with a fixed viewBox; without this cap it pushes the
   page wider than the viewport on a narrow screen. */
.fc-channel { max-width: 100%; height: auto; }

/* ==========================================================================
   Refinement

   The page sits on the light red, the blocks are white and lift off it with
   a soft, layered shadow. We now use borders only where they separate
   something, not to delineate a surface.
   ========================================================================== */

.fc-scope .fc-usermenu__panel { box-shadow: var(--fc-shadow-lg); }

/* The bar shouldn't sit on the page like a hard edge. */
.fc-scope .fc-bar { box-shadow: inset 0 -1px 0 var(--fc-line); }

/* Input fields sit inside a white block, so a border works better there than
   a shadow. */
.fc-scope input[type="text"],
.fc-scope input[type="email"],
.fc-scope input[type="password"],
.fc-scope input[type="tel"],
.fc-scope input[type="number"],
.fc-scope select,
.fc-scope textarea { box-shadow: none; }

.fc-scope input:focus,
.fc-scope select:focus,
.fc-scope textarea:focus { box-shadow: 0 0 0 3px var(--fc-flow-soft); }


/* Buttons are flat, as on flowconcepts.nl: the colour does the work. */
.fc-scope .fc-btn--primary,
.fc-scope input[type="submit"].fc-btn--primary,
.fc-scope button.fc-btn--primary,
.fc-scope a.fc-btn--primary {
  box-shadow: none;
}

.fc-scope .fc-btn--primary:hover,
.fc-scope input[type="submit"].fc-btn--primary:hover,
.fc-scope button.fc-btn--primary:hover,
.fc-scope a.fc-btn--primary:hover {
  box-shadow: none;
}

.fc-scope .fc-btn--go {
  box-shadow: none;
}

/* The outlined button stays flat: two buttons that both lift look cluttered. */
.fc-scope .fc-btn--quiet { box-shadow: none; }

/* ==========================================================================
   Stroming: the design layer

   Deliberately at the bottom: these rules beat the base rules above on
   source order, without extra specificity.
   ========================================================================== */

/* The bar stays pinned to the top; the page shows faintly through it. */
.fc-scope .fc-bar:not(.fc-bar--classroom) {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}

/* The WordPress admin bar is fixed above 600px (32px; 46px below 783px). */
.admin-bar.fc-scope .fc-bar:not(.fc-bar--classroom) { top: 32px; }

@media (max-width: 782px) {
  .admin-bar.fc-scope .fc-bar:not(.fc-bar--classroom) { top: 46px; }
}

@media (max-width: 600px) {
  .admin-bar.fc-scope .fc-bar:not(.fc-bar--classroom) { top: 0; }
}

/* Menu: pills. The page you're on gets the channel's mint. */
.fc-scope .fc-bar__nav { gap: 0.25rem; }

.fc-scope .fc-bar__nav a {
  padding: 0.5rem 0.9rem;
  border: 0;
  border-radius: var(--fc-r-pill);
  color: var(--fc-ink-soft);
  font-size: var(--fc-t-s);
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.fc-scope .fc-bar__nav a:hover { background: var(--fc-tint); color: var(--fc-ink); }

.fc-scope .fc-bar__nav a[aria-current="page"] {
  background: var(--fc-mint);
  color: var(--fc-forest);
}

@media (max-width: 720px) {
  /* On a phone the menu sits below the logo; the first pill's text lines up
     with the logo above it. Smaller pills, so three items fit on a
     narrow screen. */
  .fc-scope .fc-bar__nav { gap: 0; margin-left: -0.7rem; }
  .fc-scope .fc-bar__nav a { padding: 0.45rem 0.7rem; font-size: 0.8125rem; }
}

/* Large headings: heavier and set tighter; smaller headings stay at 700. */
.fc-scope h1 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }

/* Progress: a thin bar in green. */
.fc-meter {
  height: 6px;
  max-width: 22rem;
  margin: 0 0 var(--fc-sp-4);
  border-radius: var(--fc-r-pill);
  background: rgba(29, 94, 55, 0.14);
  overflow: hidden;
}

.fc-meter__fill {
  display: block;
  width: var(--fc-p, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--fc-flow);
}

/* The channel always sits on mint: a white corridor with forest-green lines,
   and the you-dot in signal red. */
.fc-channel__band { fill: #ffffff; }
.fc-channel__edge { stroke: var(--fc-forest); opacity: 0.22; }
.fc-channel__axis { stroke: var(--fc-forest); opacity: 0.28; }
.fc-channel__travelled { stroke: var(--fc-forest); stroke-width: 3.5; }
.fc-channel__remaining { stroke: var(--fc-forest); opacity: 0.35; }
.fc-channel__label { fill: var(--fc-forest); opacity: 0.75; font-weight: 500; }
.fc-channel__label--zone { font-style: normal; opacity: 0.55; }
.fc-channel__label--you { fill: var(--fc-accent); opacity: 1; font-weight: 700; }
.fc-channel__you-ring { stroke: var(--fc-accent); opacity: 0.4; }

/* One base size for every screen. On the pages Astra styles itself (such as
   the knowledge base) it sets html to 91.2%, which shrinks everything set in
   rem: the menu came out at 11.9px there instead of 13px. */
html:has(body.fc-scope) { font-size: 100%; }

/* Checkboxes, radio buttons and sliders in forest green instead of the
   browser's blue. */
.fc-scope { accent-color: var(--fc-forest); }

/* Tap targets: standalone text links get enough height to hit with a thumb,
   without looking any bigger. */
.fc-scope .fc-foot__link {
  display: inline-block;
  padding-block: 0.6rem;
}

/* One measure for the space between the bar and the first content, on every
   page: 64px on a large screen, 40px on a phone. */
:root { --fc-page-top: var(--fc-sp-6); }

@media (max-width: 640px) {
  :root { --fc-page-top: var(--fc-sp-5); }
}

/* ==========================================================================
   Stroming: depth

   Gradients only where they say something, and always in the direction of
   the flow channel: from bottom left to top right, from light to deep.
   - Panels: the green glows where the channel is heading (top right),
     light falls in at the bottom left, with a fine grain for texture.
   - Progress: from light flow green to forest green. The further, the deeper.
   - Primary buttons: a subtle vertical depth. The gradient runs toward
     dark, so white text reaches at least 4.5:1 everywhere.
   ========================================================================== */

:root {
  --fc-grad-panel:
    radial-gradient(90% 120% at 100% 0%, rgba(112, 193, 126, 0.42) 0%, rgba(112, 193, 126, 0) 58%),
    radial-gradient(70% 90% at 0% 100%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(45% 55% at 82% 62%, rgba(217, 58, 67, 0.07) 0%, rgba(217, 58, 67, 0) 70%),
    linear-gradient(135deg, #f2f9f3 0%, #e2f0e5 100%);
  --fc-panel-depth:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 1px 0 rgba(29, 94, 55, 0.05),
    0 40px 80px -50px rgba(29, 94, 55, 0.4);
  --fc-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.37 0 0 0 0 0.22 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --fc-grad-progress: linear-gradient(90deg, #9bd6a6 0%, #57a862 55%, #1d5e37 100%);

  --fc-grad-action: linear-gradient(180deg, #d93a43 0%, #c22f38 100%);
  --fc-grad-action-hover: linear-gradient(180deg, #c93540 0%, #a92830 100%);
  --fc-grad-go: linear-gradient(180deg, #368344 0%, #2a6a3a 100%);
  --fc-action-depth:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 1px 2px rgba(120, 20, 26, 0.22),
    0 10px 20px -12px rgba(185, 47, 55, 0.6);
  --fc-go-depth:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(20, 60, 35, 0.22),
    0 10px 20px -12px rgba(29, 94, 55, 0.55);
}

/* A very soft green glow at the top of every page; below it, it stays white.
   The bar is semi-transparent, so the glow shows faintly through it. */
html body.fc-scope {
  background:
    radial-gradient(1200px 420px at 50% -200px, rgba(112, 193, 126, 0.16), rgba(112, 193, 126, 0) 70%) no-repeat,
    var(--fc-surface);
}

/* The footer fades gradually into mist. */
.fc-scope .fc-foot { background: linear-gradient(180deg, #f5f9f6 0%, #edf4ef 100%); }

/* Progress. */
.fc-meter__fill,
.fc-bar__progress { background: var(--fc-grad-progress); }

/* The dashboard card's button and our other primary buttons. */
.fc-scope .fc-btn--primary,
.fc-scope input[type="submit"].fc-btn--primary,
.fc-scope button.fc-btn--primary,
.fc-scope a.fc-btn--primary {
  background-image: var(--fc-grad-action);
  box-shadow: var(--fc-action-depth);
}

.fc-scope .fc-btn--primary:hover,
.fc-scope input[type="submit"].fc-btn--primary:hover,
.fc-scope button.fc-btn--primary:hover,
.fc-scope a.fc-btn--primary:hover { background-image: var(--fc-grad-action-hover); }

/* ==========================================================================
   Stroming: overview pages (courses, community)

   A panel at the top in a calmer variant of the mint panel: mist with a
   soft green glow. The full mint panel with the channel stays reserved for the
   dashboard, the course page and the login screen. Left: title, intro and
   search; right: something useful (resume where you were, or the people).
   ========================================================================== */

:root {
  --fc-grad-overview:
    radial-gradient(70% 140% at 100% 0%, rgba(112, 193, 126, 0.24) 0%, rgba(112, 193, 126, 0) 60%),
    radial-gradient(60% 100% at 0% 100%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 65%),
    linear-gradient(135deg, #f7faf8 0%, #edf4ef 100%);
}

.fc-overview {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: var(--fc-sp-5);
  align-items: center;
  margin: 0 0 var(--fc-sp-5);
  padding: clamp(1.5rem, 0.8rem + 3vw, 3rem);
  border-radius: var(--fc-r-panel);
  background: var(--fc-grad-overview);
  box-shadow: var(--fc-panel-depth);
}

.fc-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: var(--fc-grain);
  opacity: 0.14;
  mix-blend-mode: multiply;
  pointer-events: none;
}

@media (min-width: 900px) {
  .fc-overview:has(.fc-overview__aside) { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: var(--fc-sp-6); }
}

.fc-scope .fc-overview__title,
.fc-scope .fc-overview h1 {
  margin: 0 0 var(--fc-sp-2);
  font-size: clamp(2rem, 1.3rem + 2vw, 2.75rem);
  letter-spacing: -0.025em;
}

.fc-scope .fc-overview .fc-lede {
  max-width: 34rem;
  margin: 0 0 var(--fc-sp-4);
  color: var(--fc-ink-soft);
}

/* Pick up where you left off: a white card that sits above the panel. */
.fc-scope .fc-resumecard {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: var(--fc-sp-4);
  border-radius: var(--fc-r-band);
  background: #fff;
  box-shadow: 0 1px 0 rgba(29, 94, 55, 0.06), 0 26px 50px -30px rgba(29, 94, 55, 0.45);
  color: var(--fc-ink);
  text-decoration: none;
}

.fc-scope .fc-resumecard:hover { color: var(--fc-ink); }
.fc-scope .fc-resumecard:hover .fc-btn--primary { background-image: var(--fc-grad-action-hover); }

.fc-resumecard__label { font-size: var(--fc-t-s); color: var(--fc-muted); }

.fc-resumecard__title {
  font-family: var(--fc-display);
  font-size: var(--fc-t-l);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.fc-resumecard__course { font-size: var(--fc-t-s); color: var(--fc-forest); }
.fc-scope .fc-resumecard .fc-meter { max-width: none; margin: var(--fc-sp-2) 0; }

.fc-resumecard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fc-sp-3);
}

.fc-resumecard__pct {
  font-size: var(--fc-t-s);
  font-weight: 600;
  color: var(--fc-forest);
  font-variant-numeric: tabular-nums;
}

.fc-scope .fc-resumecard .fc-btn { padding: 0.6rem 1.25rem; font-size: var(--fc-t-s); }

/* The people of the community: overlapping faces. */
.fc-people { justify-self: end; text-align: right; }

.fc-people__faces {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 var(--fc-sp-2);
  padding: 0;
  list-style: none;
}

.fc-people__faces li { margin-left: -0.75rem; }
.fc-people__faces li:first-child { margin-left: 0; }

.fc-people__faces img,
.fc-people__more {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff;
  object-fit: cover;
}

.fc-people__more {
  background: var(--fc-mint);
  color: var(--fc-forest);
  font-family: var(--fc-display);
  font-size: var(--fc-t-s);
  font-weight: 700;
}

.fc-people__line {
  margin: 0;
  font-family: var(--fc-display);
  font-weight: 700;
  color: var(--fc-forest);
}

@media (max-width: 899px) {
  .fc-people { justify-self: start; text-align: left; }
  .fc-people__faces { justify-content: flex-start; }
}

/* Empty state: say what's going on and what you can do. */
.fc-empty {
  padding: var(--fc-sp-6) var(--fc-sp-4);
  border: 1px dashed var(--fc-line);
  border-radius: var(--fc-r-band);
  text-align: center;
}

.fc-empty p { margin: 0 auto var(--fc-sp-3); }

.fc-empty__title {
  font-family: var(--fc-display);
  font-size: var(--fc-t-l);
  font-weight: 700;
}

/* Astra's "back to top" button comes along on every page via wp_footer.
   In the learning environment, without Astra's stylesheet, it appears as a bare
   black arrow at the bottom, below the footer; elsewhere in Astra's own style.
   The bar stays pinned to the top, so the button isn't needed. Astra turns it
   on with an inline display, hence !important. */
.fc-scope #ast-scroll-top { display: none !important; }

/* ==========================================================================
   Stroming: the header on a phone

   Two rows with breathing room between them. On top the logo and your avatar,
   vertically centred and with one logo size on every page (the knowledge base
   uses a different header template, which gave 28px versus 40px). Below that
   the menu as a strip of pills: every item has a shape, the active item gets
   the mint. If the strip doesn't fit, it scrolls out to the edge of the screen
   instead of wrapping.
   ========================================================================== */

@media (max-width: 720px) {
  .fc-scope .fc-bar:not(.fc-bar--classroom) .fc-bar__inner {
    flex-wrap: wrap;
    align-items: center;
    column-gap: var(--fc-sp-2);
    row-gap: 0.65rem;
    min-height: 0;
    padding-top: 0.7rem;
    padding-bottom: 0.75rem;
  }

  .fc-scope .fc-bar:not(.fc-bar--classroom) .fc-bar__brand img { height: 2rem; width: auto; }

  .fc-scope .fc-bar:not(.fc-bar--classroom) .fc-usermenu { margin-left: auto; }
  /* With the flags in front, they take the free space: flags and avatar side by side. */
  .fc-scope .fc-bar:not(.fc-bar--classroom) .fc-lang + .fc-usermenu { margin-left: 0; }
  .fc-scope .fc-bar:not(.fc-bar--classroom) .fc-usermenu__trigger { padding: 0.2rem 0.35rem; }

  .fc-scope .fc-bar:not(.fc-bar--classroom) .fc-bar__nav {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    order: 3;
    gap: 0.35rem;
    width: calc(100% + 2 * var(--fc-sp-4));
    margin: 0 calc(-1 * var(--fc-sp-4));
    padding: 0 var(--fc-sp-4);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .fc-scope .fc-bar:not(.fc-bar--classroom) .fc-bar__nav::-webkit-scrollbar { display: none; }

  .fc-scope .fc-bar:not(.fc-bar--classroom) .fc-bar__nav a {
    flex: none;
    padding: 0.45rem 0.75rem;
    border-radius: var(--fc-r-pill);
    background: var(--fc-tint);
    color: var(--fc-ink-soft);
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  /* Mint and mist are close to each other; a fine border makes the active
     item unmistakable. */
  .fc-scope .fc-bar:not(.fc-bar--classroom) .fc-bar__nav a[aria-current="page"] {
    background: var(--fc-mint);
    box-shadow: inset 0 0 0 1px rgba(29, 94, 55, 0.22);
    color: var(--fc-forest);
  }
}

/* Below 640px the page's side margin is 18px instead of 28px; the strip
   follows that measure out to the edge. */
@media (max-width: 640px) {
  .fc-scope .fc-bar:not(.fc-bar--classroom) .fc-bar__nav {
    width: calc(100% + 2 * var(--fc-sp-3));
    margin: 0 calc(-1 * var(--fc-sp-3));
    padding: 0 var(--fc-sp-3);
  }
}

/* ==========================================================================
   Stroming: warmth from the Teamflow Model

   Besides the brand red and green, flowconcepts.nl uses sun yellow (#FCCC00),
   peach (#FCC09C) and coral (#FC7860) in the Teamflow Model. Green still
   means: progress and completed. The warm colours are added subtly:
   - in the channel: peach for anxiety, sun for boredom;
   - in the panels: a warm glow at the bottom left against the green at the
     top right, so from warm to green in the direction of the channel;
   - small accents: activities in sun, a colour dot per knowledge base category
     and a warm text selection.
   Text on the soft tints easily reaches 5:1 (sun-deep 5.9:1, peach-deep 5.5:1).
   ========================================================================== */

:root {
  --fc-sun: #fccc00;
  --fc-sun-soft: #fff4cc;
  --fc-sun-deep: #7a5800;
  --fc-peach: #fcc09c;
  --fc-peach-soft: #ffeee4;
  --fc-peach-deep: #9a4a22;
  --fc-coral: #fc7860;

  /* The mint panel: green at the top right, warm light at the bottom left. */
  --fc-grad-panel:
    radial-gradient(90% 120% at 100% 0%, rgba(112, 193, 126, 0.4) 0%, rgba(112, 193, 126, 0) 58%),
    radial-gradient(75% 95% at 0% 100%, rgba(252, 192, 156, 0.34) 0%, rgba(252, 192, 156, 0) 62%),
    radial-gradient(55% 70% at 22% 108%, rgba(252, 204, 0, 0.16) 0%, rgba(252, 204, 0, 0) 70%),
    linear-gradient(135deg, #f6f7ef 0%, #e4f1e7 100%);

  /* The overview panel: the same direction, calmer. */
  --fc-grad-overview:
    radial-gradient(70% 140% at 100% 0%, rgba(112, 193, 126, 0.22) 0%, rgba(112, 193, 126, 0) 60%),
    radial-gradient(60% 110% at 0% 100%, rgba(252, 192, 156, 0.24) 0%, rgba(252, 192, 156, 0) 65%),
    linear-gradient(135deg, #fbf9f5 0%, #eef4f0 100%);
}

/* The page-top glow: green in the middle, a hint of peach on the left. */
html body.fc-scope {
  background:
    radial-gradient(900px 380px at 20% -200px, rgba(252, 192, 156, 0.16), rgba(252, 192, 156, 0) 70%) no-repeat,
    radial-gradient(1200px 420px at 60% -200px, rgba(112, 193, 126, 0.14), rgba(112, 193, 126, 0) 70%) no-repeat,
    var(--fc-surface);
}

/* The zone labels in the channel in their own colour. */
.fc-channel__label--anxiety { fill: var(--fc-peach-deep); opacity: 0.85; }
.fc-channel__label--boredom { fill: var(--fc-sun-deep); opacity: 0.85; }

/* A warm selection. */
.fc-scope ::selection { background: #ffe9a8; color: var(--fc-ink); }

/* ==========================================================================
   Stroming: flat buttons

   The buttons had a gradient, a highlight edge and a coloured shadow. That
   looked too three-dimensional next to the soft panels, and flowconcepts.nl
   itself uses flat pill buttons. Depth now lives only in the surfaces; a
   button is a solid pill that darkens on hover.
   The tokens remain but are empty: that way every button that uses them
   goes flat in one go.
   ========================================================================== */

:root {
  --fc-grad-action: none;
  --fc-grad-action-hover: none;
  --fc-grad-go: none;
  --fc-action-depth: none;
  --fc-go-depth: none;
}

/* Where only the gradient provided the hover colour, now a solid darker red. */
.fc-scope .fc-resumecard:hover .fc-btn--primary,
.fc-scope .mepr-checkout-container .mepr-submit:hover,
.fc-scope #mepr_loginform input[type="submit"]:hover,
.fc-scope .mepr-login-form input[type="submit"]:hover,
.fc-scope #mepr-account-modal input[type="submit"]:hover {
  border-color: var(--fc-accent-dark);
  background-color: var(--fc-accent-dark);
}

/* The buttons change colour smoothly, without jumping. */
.fc-scope .fc-btn,
.fc-scope .mepr-checkout-container .mepr-submit,
.fc-scope #mepr_loginform input[type="submit"],
.fc-scope #mepr-account-modal input[type="submit"] {
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
