/* MFR_MODERN_SHARED_CSS_20260512 */

.mfr-modern-topbar {
    display: block;
    background: #fffdf8;
    border-bottom: 1px solid #eadfd4;
    box-shadow: 0 8px 24px rgba(40,50,45,.08);
    position: relative;
    z-index: 20;
}

.mfr-modern-topbar__wrap {
    width: min(100% - 36px, 1180px);
    min-height: 78px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 275px minmax(0, 1fr);
    align-items: center;
    gap: 30px;
}

.mfr-modern-topbar__brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
}

.mfr-modern-topbar__brand img {
    width: 238px;
    max-width: 238px;
    height: auto;
    display: block;
}

.mfr-modern-topbar__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
}

.mfr-modern-topbar__help {
    color: #31593f;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.1;
    white-space: nowrap;
    margin: 0 10px 0 0;
    flex: 0 0 auto;
}

.mfr-modern-topbar__nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #c97c78;
    border-radius: 10px;
    background: rgba(255,255,255,.78);
    color: #111;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.1;
    white-space: nowrap;
    flex: 0 0 auto;
}

.mfr-modern-topbar__nav a:hover {
    background: #fff;
    color: #31593f;
}

.mfr-modern-footer {
    background: #f8f4ec;
    border-top: 1px solid rgba(234,223,212,.75);
    padding: 28px 0;
}

.mfr-modern-footer__wrap {
    width: min(100% - 36px, 1180px);
    margin: 0 auto;
}

.mfr-modern-footer__links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    color: #8a8179;
    font-size: 13px;
}

.mfr-modern-footer__links a {
    color: #5f6a63;
    text-decoration: none;
}

.mfr-modern-footer__links a:hover {
    color: #31593f;
}

@media (max-width: 1180px) {
    .mfr-modern-topbar__wrap {
        width: min(100% - 28px, 1060px);
        grid-template-columns: 245px minmax(0, 1fr);
        gap: 18px;
    }

    .mfr-modern-topbar__brand img {
        width: 220px;
        max-width: 220px;
    }

    .mfr-modern-topbar__help {
        font-size: 13px;
        margin-right: 4px;
    }

    .mfr-modern-topbar__nav {
        gap: 6px;
    }

    .mfr-modern-topbar__nav a {
        font-size: 13px;
        padding: 0 9px;
    }
}

@media (max-width: 940px) {
    .mfr-modern-topbar__wrap {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        padding: 16px 0;
    }

    .mfr-modern-topbar__nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .mfr-modern-topbar__help {
        width: 100%;
        margin: 0;
        text-align: center;
    }
}


/* MFR_MODERN_HEADER_LOGOUT_STYLE_20260512 */
.mfr-modern-topbar__nav a.mfr-modern-topbar__logout {
    background: #c95858 !important;
    border-color: #c95858 !important;
    color: #ffffff !important;
    font-weight: 900 !important;
}

.mfr-modern-topbar__nav a.mfr-modern-topbar__logout:hover {
    background: #b74d4d !important;
    color: #ffffff !important;
}

/* MFR_STANDARD_FOOTER_TRUE_CENTER_20260519
   Canonical standard footer centering for all modern cartreview pages.
   This fixes the shared footer itself, not individual pages. */
.mfr-modern-footer {
  width: 100% !important;
  margin: 0 !important;
  padding: 22px 16px 28px !important;
  border-top: 1px solid rgba(222, 200, 173, 0.85) !important;
  background: rgba(255, 253, 248, 0.88) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.mfr-modern-footer__wrap {
  width: 100% !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.mfr-modern-footer__links {
  width: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: inline-flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  text-align: center !important;
  list-style: none !important;
  font-weight: 400 !important;
}

.mfr-modern-footer__links a,
.mfr-modern-footer__links span,
.mfr-modern-footer__sep {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #173326 !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

@media (max-width: 560px) {
  .mfr-modern-footer {
    padding: 20px 12px 26px !important;
  }

  .mfr-modern-footer__links {
    gap: 6px !important;
  }
}
/* end MFR_STANDARD_FOOTER_TRUE_CENTER_20260519 */
