/*
 * Marea brand layer.
 * The template ships some violet/blue gradients hard-coded in style.css, common.css,
 * root.css and dashboard.css; this file re-paints them with the Marea palette
 * (teal + coral). Primary/secondary colours themselves come from the admin theme settings.
 * Palette reference: brand-kit/colors/palette.css
 */
:root {
  --em-teal-800: #075E56;
  --em-teal-700: #0B7F73;
  --em-teal-600: #0E9384;
  --em-teal-500: #14B8A6;
  --em-teal-100: #CBEEE7;
  --em-coral-500: #FF6B4A;
  --em-coral-600: #F2674A;
  --em-coral-100: #FFE3DA;
  --em-mint: #D3F3EC;
}

/* home hero */
.banner-wrapper {
  background: linear-gradient(109deg, var(--em-mint) 0%, #E9F7F4 45%, #FFE1D6 100%);
}

/* inner page banner: light on the left so the header logo stays readable, deep teal under the title */
.inner-banner-wrapper {
  background: linear-gradient(100deg, #A8E6DC 0%, #2BB3A3 32%, var(--em-teal-600) 62%, var(--em-teal-700) 100%);
}

/* breadcrumb pill and small accent blocks */
.about-card-wrapper .center-icon,
.feed-item {
  background: linear-gradient(135deg, var(--em-teal-500), var(--em-teal-700));
}
.breadcrumb {
  background: linear-gradient(90deg, var(--em-teal-700), var(--em-teal-500)) !important;
}

/* soft section backgrounds (contact, feedback...) */
.linear-bg {
  background: linear-gradient(90deg, rgba(211, 243, 236, 0.7), rgba(255, 227, 218, 0.7));
}

/* sign-in / sign-up side panel */
.auth .auth-left {
  background: conic-gradient(from 45deg, #9FE3D8, #FFC9B8, #9FE3D8);
}

/* user dashboard */
.bg--linear-primary {
  background: linear-gradient(60deg, var(--em-teal-700), var(--em-teal-500));
}
.upgrade-card {
  background: linear-gradient(107deg, var(--em-teal-100) -30%, var(--em-teal-700) 98%);
}

/* the wordmark is wider than the old logo */
.header-logo {
  max-width: 180px;
}

/* footer: active payment methods, built from the payment_methods table */
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 400px;
}
.payment-method {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 13px;
  line-height: 1;
}
.payment-method img {
  height: 18px;
  width: auto;
}
@media (max-width: 991px) {
  .payment-methods {
    max-width: 100%;
    justify-content: center;
  }
}

/* language switcher: globe + language code instead of a 30px flag stretched to 40px */
.language .lang--toggle {
  width: auto;
  aspect-ratio: auto;
  height: 42px;
  padding: 0 16px;
  gap: 6px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--em-teal-700, #0B7F73);
}
.language .lang--toggle .bi-globe2 {
  font-size: 16px;
}
.language .dropdown-menu .dropdown-item {
  font-size: 14px;
}
.lang .lang-btn .lang-code {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}
.lang .lang-btn {
  opacity: 1;
}

/* buttons: the hover fill of .btn--primary is a ::before with z-index:-1 (common.css). Without a
   stacking context of its own it slid behind the white panel cards, so on hover the button showed
   only its border (white text on white). isolate keeps the fill between the button and its text. */
.i-btn.btn--primary {
  isolation: isolate;
}
