/* css/styles.css */

/* Global layout & typography */
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #f5f7fa;
  color: #1f2a33;
}

/* Utility container for flex-shell pages */
.mmp-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Logo + brand */
.mmp-home-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 100px; /* increased space under logo */
}

.mmp-logo {
  display: flex;
  align-items: center;
}

.mmp-logo-img {
  height: 40px;
  width: auto;
}

/* Larger logo on home/login */
.mmp-home-logo-wrap .mmp-logo-img {
  height: 88px; /* bigger logo for login page */
  width: auto;
}

.mmp-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.mmp-logo-text-main {
  font-weight: 700; /* Heading – Helvetica Neue Bold */
  font-size: 22px;
  letter-spacing: 0.02em;
  color: #246283;
}

.mmp-logo-text-sub {
  font-weight: 500; /* Sub-heading – Helvetica Neue Medium */
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #44a8df;
  margin-top: 3px;
}

/* Headings & text */
.mmp-heading {
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  margin: 8px 0 4px;
  color: #246283;
}

.mmp-subheading {
  font-weight: 500;
  font-size: 13px;
  text-align: center;
  color: #4c5a66;
  margin: 0 0 20px;
}

/* Links */
.mmp-link {
  color: #246283;
  text-decoration: none;
  font-weight: 500;
}

.mmp-link:hover {
  color: #44a8df;
  text-decoration: underline;
}

/* Footer (shared) */
.mmp-footer {
  flex-shrink: 0;
  text-align: center;
  padding: 16px 12px 20px;
  font-size: 11px;
  color: #6b7480;
}

.mmp-footer-links {
  margin-bottom: 6px;
}

.mmp-footer-link {
  color: #246283;
  text-decoration: none;
  font-weight: 500;
  margin: 0 8px;
}

.mmp-footer-link:hover {
  color: #44a8df;
  text-decoration: underline;
}

/* =========================
   HOMEPAGE / LOGIN
   ========================= */

body.mmp-home {
  /* Gradient background using your color mix */
  background: linear-gradient(
    135deg,
    #246283 0%,
    #44a8df 30%,
    #92c83f 70%,
    #fbee23 100%
  );
}

.mmp-page-wrapper {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.mmp-login-container {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  max-width: 420px;
  width: 100%;
  padding: 32px 28px 28px;
  box-sizing: border-box;
}

/* Form */
.mmp-login-form {
  margin-top: 8px;
}

.mmp-field-group {
  margin-bottom: 16px;
}

.mmp-label {
  display: block;
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 6px;
  color: #24313b;
}

.mmp-input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid #c7d2dc;
  padding: 10px 11px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.mmp-input:focus {
  border-color: #44a8df;
  box-shadow: 0 0 0 2px rgba(68, 168, 223, 0.16);
}

.mmp-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

/* CTA button (active + hover colors) */
.mmp-login-button {
  border: none;
  border-radius: 24px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background-color: #92c83f; /* Active */
  color: #0f1720;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.14s ease, transform 0.08s ease, box-shadow 0.08s ease;
  box-shadow: 0 8px 18px rgba(146, 200, 63, 0.38);
}

.mmp-login-button:hover {
  background-color: #fbee23; /* Hover */
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(251, 238, 35, 0.35);
}

.mmp-login-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.mmp-forgot-link {
  font-size: 12px;
  font-weight: 500;
  color: #246283;
  text-decoration: none;
}

.mmp-forgot-link:hover {
  text-decoration: underline;
  color: #44a8df;
}

.mmp-helper-text {
  font-size: 11px;
  color: #6b7480;
  margin-top: 10px;
  line-height: 1.45;
}

/* Disclaimer links inside helper text */
.mmp-helper-text .mmp-forgot-link {
  color: inherit;
  text-decoration: underline;
  font-weight: 400;
  font-size: 11px;
}

.mmp-helper-text .mmp-forgot-link:hover {
  color: inherit;
  text-decoration: underline;
}

/* =========================
   POLICY / TERMS PAGES
   ========================= */

.mmp-pp-shell,
.mmp-to-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f5f7fa;
}

/* Main primary blue header: logo + Back to login */
.mmp-pp-header,
.mmp-to-header {
  background: #246283; /* primary blue */
  color: #ffffff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo pill in white */
.mmp-legal-logo-wrap {
  background: #ffffff;
  border-radius: 4px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mmp-legal-logo-wrap .mmp-logo-img {
  height: 28px;
  width: auto;
}

.mmp-legal-logo-wrap .mmp-logo-text-main {
  color: #246283;
  font-size: 18px;
}

.mmp-legal-logo-wrap .mmp-logo-text-sub {
  color: #44a8df;
  font-size: 9px;
}

/* Top right link */
.mmp-legal-back-link {
  font-size: 12px;
  color: #fbee23;
  text-decoration: none;
  font-weight: 500;
  margin-left: 16px;
}

.mmp-legal-back-link:hover {
  text-decoration: underline;
  color: #fbee23;
}

/* Light-blue subheader band: full-width under main header */
.mmp-legal-subheader {
  background: #44a8df; /* light blue */
  color: #ffffff;
  padding: 10px 20px;
}

.mmp-legal-subheader-inner {
  max-width: 880px;
  margin: 0 auto;
}

/* Title + last updated inside subheader */
.mmp-pp-title,
.mmp-to-title {
  font-weight: 700;
  margin: 0;
  font-size: 20px;
}

.mmp-pp-sub,
.mmp-to-sub {
  font-weight: 500;
  margin: 4px 0 0;
  font-size: 13px;
  opacity: 0.95;
}

.mmp-pp-main,
.mmp-to-main {
  flex: 1 0 auto;
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 18px 32px;
  box-sizing: border-box;
  background: #ffffff;
}

.mmp-pp-section-title,
.mmp-to-section-title {
  font-weight: 700;
  font-size: 18px;
  margin: 20px 0 8px;
  color: #246283;
}

.mmp-pp-body,
.mmp-to-body {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 10px;
  color: #28323b;
}

.mmp-pp-list,
.mmp-to-list {
  margin: 0 0 10px 18px;
  padding: 0;
  font-size: 14px;
}

.mmp-pp-list li,
.mmp-to-list li {
  margin: 4px 0;
}

.mmp-pp-footer,
.mmp-to-footer {
  flex-shrink: 0;
  text-align: center;
  padding: 14px 12px 18px;
  font-size: 11px;
  color: #6b7480;
}

.mmp-pp-link,
.mmp-to-link {
  color: #246283;
  text-decoration: none;
}

.mmp-pp-link:hover,
.mmp-to-link:hover {
  color: #44a8df;
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .mmp-login-container {
    padding: 24px 18px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  }

  .mmp-heading {
    font-size: 18px;
  }

  .mmp-subheading {
    font-size: 12px;
  }

  .mmp-pp-header,
  .mmp-to-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .mmp-legal-back-link {
    margin-left: 0;
    align-self: flex-end;
  }
}
