#membershipPage {
  box-sizing: border-box;
  color: #263a43;
  font-family: "Roboto", Arial, sans-serif;
  margin: 0 auto;
  max-width: 1120px;
  padding: 34px 30px 70px;
  width: 100%;
}

#membershipPage *,
#membershipPage *::before,
#membershipPage *::after {
  box-sizing: border-box;
}

#membershipPage .mw-head {
  margin: 0 auto 34px;
  max-width: 820px;
  text-align: center;
}

#membershipPage .mw-eyebrow {
  color: #cf2046;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  margin: 0 0 8px;
  text-transform: uppercase;
}

#membershipPage .mw-title {
  color: #00546e;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 12px;
  text-transform: uppercase;
}

#membershipPage .mw-lead {
  color: #3a505a;
  font-size: 18px;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 720px;
}

#membershipPage .mw-layout {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

#membershipPage .mw-card {
  background: #fff;
  border: 1px solid #d9e7ea;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(0, 84, 110, 0.08);
  padding: 30px;
}

#membershipPage .mw-card-title {
  color: #00546e;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 16px;
  text-align: left;
  text-transform: none;
}

#membershipPage .mw-card-head {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  margin-bottom: 16px;
}

#membershipPage .mw-card-head .mw-card-title {
  margin-bottom: 0;
}

#membershipPage .mw-textlink {
  background: transparent;
  border: 0;
  color: #cf2046;
  cursor: pointer;
  font-size: 14px;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: normal;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
  white-space: nowrap;
}

#membershipPage .mw-textlink:hover,
#membershipPage .mw-textlink:focus {
  color: #a91e3b;
}

#membershipPage .mw-login-title {
  color: #00546e;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 10px;
  text-align: left;
  text-transform: none;
}

#membershipPage .mw-login-intro {
  color: #3a505a;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 18px;
  text-align: left;
}

#membershipPage .mw-login-form {
  margin-top: 0;
}

#membershipPage .mw-login-links,
#membershipPage .mw-back-row {
  margin: 18px 0 0;
  text-align: center;
}

#membershipPage .mw-card-subtitle {
  color: #00546e;
  font-size: 15px;
  font-weight: 900;
  margin: 24px 0 10px;
  text-align: left;
  text-transform: uppercase;
}

#membershipPage .mw-card p {
  color: #3a505a;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 13px;
  text-align: left;
}

#membershipPage .mw-benefits {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

#membershipPage .mw-benefits li {
  color: #3a505a;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 9px;
  padding-left: 26px;
  position: relative;
}

#membershipPage .mw-benefits li::before {
  color: #cf2046;
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
  top: 0;
}

#membershipPage .mw-note {
  background: #f1f8f9;
  border-left: 3px solid #00546e;
  border-radius: 0 6px 6px 0;
  color: #2f4851;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 22px !important;
  padding: 11px 13px;
  text-align: left;
}

#membershipPage .mw-btn {
  align-items: center;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.2;
  min-height: 46px;
  padding: 11px 20px;
  text-decoration: none;
  transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

#membershipPage .mw-btn--login {
  background: #00546e;
  color: #fff;
  margin-top: 4px;
}

#membershipPage .mw-btn--login:hover,
#membershipPage .mw-btn--login:focus {
  background: #003d51;
  box-shadow: 0 6px 16px rgba(0, 84, 110, 0.22);
  color: #fff;
}

#membershipPage .mw-form-intro {
  color: #3a505a;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 18px;
}

#membershipPage .mw-expand-row {
  margin: 22px 0 0;
  text-align: center;
}

#membershipPage .mw-expand-hint {
  color: #728b93;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 auto 10px;
  max-width: 480px;
}

#membershipPage .mw-btn--expand {
  background: transparent;
  border: 2px solid #00546e;
  color: #00546e;
}

#membershipPage .mw-btn--expand:hover,
#membershipPage .mw-btn--expand:focus {
  background: #00546e;
  color: #fff;
}

#membershipPage .mw-more {
  border-top: 1px dashed #c9dcdf;
  margin-top: 22px;
  padding-top: 24px;
}

#membershipPage .mw-status {
  border-radius: 8px;
  display: none;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 18px;
  padding: 11px 14px;
}

#membershipPage .mw-status--ok {
  background: #e6f5ec;
  border: 1px solid #2f9e62;
  color: #155f37;
}

#membershipPage .mw-status--error {
  background: #fdecef;
  border: 1px solid #cf2046;
  color: #8c1530;
}

#membershipPage .mw-status.is-visible {
  display: block;
}

#membershipPage .mw-form-row {
  display: grid;
  gap: 0 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#membershipPage .mw-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

#membershipPage .mw-field--full {
  grid-column: 1 / -1;
}

#membershipPage .mw-field label,
#membershipPage .mw-kind legend {
  color: #2c444d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 5px;
  text-align: left;
  text-transform: uppercase;
}

#membershipPage .mw-required {
  color: #cf2046;
}

#membershipPage .mw-field input,
#membershipPage .mw-field select,
#membershipPage .mw-field textarea {
  background: #fff;
  border: 1px solid #c3d9dd;
  border-radius: 7px;
  color: #172b33;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 15px;
  min-height: 44px;
  padding: 9px 11px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

#membershipPage .mw-field textarea {
  min-height: 96px;
  resize: vertical;
}

#membershipPage .mw-field input::placeholder,
#membershipPage .mw-field textarea::placeholder {
  color: #8ba1a8;
}

#membershipPage .mw-field input:focus,
#membershipPage .mw-field select:focus,
#membershipPage .mw-field textarea:focus {
  border-color: #00546e;
  box-shadow: 0 0 0 3px rgba(0, 84, 110, 0.14);
  outline: 0;
}

#membershipPage .mw-kind {
  border: 0;
  margin: 0 0 16px;
  padding: 0;
}

#membershipPage .mw-kind legend {
  margin-bottom: 8px;
  padding: 0;
}

#membershipPage .mw-radio-row {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

#membershipPage .mw-radio-row label {
  align-items: flex-start;
  background: #f5fafb;
  border: 1px solid #dbe9ec;
  border-radius: 8px;
  color: #2c444d;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  gap: 10px;
  line-height: 1.45;
  padding: 10px 12px;
}

#membershipPage .mw-radio-row label:hover {
  border-color: #9fc3ca;
}

#membershipPage .mw-radio-row input {
  accent-color: #00546e;
  margin-top: 3px;
}

#membershipPage .mw-consent {
  align-items: flex-start;
  background: #f5fafb;
  border: 1px solid #dbe9ec;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  margin: 4px 0 18px;
  padding: 11px 12px;
}

#membershipPage .mw-consent input {
  accent-color: #00546e;
  margin-top: 3px;
}

#membershipPage .mw-consent label {
  color: #2c444d;
  font-size: 13px;
  line-height: 1.5;
}

#membershipPage .mw-submit {
  background: #cf2046;
  color: #fff;
  cursor: pointer;
  width: 100%;
}

#membershipPage .mw-submit:hover,
#membershipPage .mw-submit:focus {
  background: #a91e3b;
  box-shadow: 0 6px 16px rgba(207, 32, 70, 0.22);
  color: #fff;
}

#membershipPage .mw-submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

@media (max-width: 980px) {
  #membershipPage .mw-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  #membershipPage {
    padding: 22px 16px 50px;
  }

  #membershipPage .mw-card {
    padding: 20px;
  }

  #membershipPage .mw-form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  #membershipPage .mw-field--full {
    grid-column: auto;
  }
}

#membershipPage .mw-login-error {
  margin: 10px 0 12px;
  padding: 9px 11px;
  border-left: 4px solid #cf2046;
  background: #fff2f5;
  color: #8f1734;
  font-size: 13.5px;
  line-height: 1.5;
}
