:root {
  --register-accent: #245f73;
  --register-accent-hover: #1d5061;
  --register-bg: #f5f7fa;
  --register-dark: #eef5f7;
  --register-ink: #13293d;
  --register-line: #d7e0e6;
  --register-line-strong: #b8c6ce;
  --register-muted: #526477;
  --register-surface: #ffffff;
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.edova-customer-portal.customer-register-page {
  background: var(--register-bg);
  color: var(--register-ink);
  display: block;
  margin: 0;
  min-height: 100vh;
}

body.edova-customer-portal.customer-register-page a {
  color: inherit;
}

body.edova-customer-portal.customer-register-page h1,
body.edova-customer-portal.customer-register-page h2,
body.edova-customer-portal.customer-register-page p {
  margin: 0;
}

body.edova-customer-portal.customer-register-page .topbar {
  align-items: center;
  background: var(--register-surface);
  border-bottom: 1px solid var(--register-line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 24px;
}

body.edova-customer-portal.customer-register-page .topbar > div:first-child {
  display: grid;
  gap: 2px;
}

body.edova-customer-portal.customer-register-page .topbar h1 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
}

body.edova-customer-portal.customer-register-page .eyebrow {
  color: var(--register-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

body.edova-customer-portal.customer-register-page .top-customer-context {
  color: var(--register-muted);
  font-size: 13px;
  font-weight: 500;
}

body.edova-customer-portal.customer-register-page .secondary-link {
  align-items: center;
  border: 1px solid var(--register-line-strong);
  border-radius: 4px;
  color: var(--register-ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  min-height: 36px;
  padding: 0 12px;
  text-decoration: none;
  white-space: nowrap;
}

body.edova-customer-portal.customer-register-page .public-registration-shell {
  display: grid;
  grid-template-columns: minmax(420px, 640px) minmax(240px, 320px);
  gap: 12px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1120px;
  padding: 18px 0;
  position: relative;
  width: min(1120px, calc(100% - 32px));
  z-index: 1;
}

body.edova-customer-portal.customer-register-page .public-registration-copy {
  align-content: start;
  background: transparent;
  border: 1px solid var(--register-line);
  color: var(--register-ink);
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  pointer-events: none;
}

body.edova-customer-portal.customer-register-page .public-registration-copy h2 {
  color: var(--register-ink);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
}

body.edova-customer-portal.customer-register-page .public-registration-copy > span {
  color: var(--register-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

body.edova-customer-portal.customer-register-page .register-form-intro {
  color: var(--register-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

body.edova-customer-portal.customer-register-page .public-registration-flow {
  display: grid;
  gap: 9px;
  margin-top: 26px;
}

body.edova-customer-portal.customer-register-page .public-registration-flow span {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--register-line);
  border-radius: 4px;
  display: grid;
  font-size: 13px;
  font-weight: 500;
  gap: 10px;
  grid-template-columns: 26px minmax(0, 1fr);
  min-height: 38px;
  padding: 7px 9px;
}

body.edova-customer-portal.customer-register-page .public-registration-flow strong {
  align-items: center;
  background: var(--register-accent);
  border-radius: 4px;
  color: #ffffff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  height: 24px;
  justify-content: center;
  width: 24px;
}

body.edova-customer-portal.customer-register-page .public-customer-register-form {
  background: var(--register-surface);
  border: 1px solid var(--register-line);
  display: grid;
  gap: 10px;
  isolation: isolate;
  min-width: 0;
  padding: 24px;
  position: relative;
  touch-action: manipulation;
  z-index: 2;
}

body.edova-customer-portal.customer-register-page .public-customer-register-form h2 {
  color: var(--register-ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}

body.edova-customer-portal.customer-register-page .public-customer-register-form label {
  color: var(--register-muted);
  cursor: default;
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
  min-width: 0;
  text-transform: uppercase;
}

body.edova-customer-portal.customer-register-page .public-customer-register-form input {
  -webkit-user-select: text;
  background: #ffffff;
  border: 2px solid var(--register-line-strong);
  border-radius: 4px;
  caret-color: #0f766e;
  color: var(--register-ink);
  cursor: text;
  display: block;
  font: 500 16px/1.35 Arial, Helvetica, sans-serif;
  min-height: 44px;
  opacity: 1;
  padding: 9px 12px;
  pointer-events: auto;
  position: relative;
  user-select: text;
  visibility: visible;
  width: 100%;
  z-index: 2;
}

body.edova-customer-portal.customer-register-page .public-customer-register-form input:not([type="checkbox"]):not([type="hidden"]) {
  -webkit-appearance: textfield;
  appearance: textfield;
  -webkit-text-fill-color: var(--register-ink);
  touch-action: manipulation;
}

body.edova-customer-portal.customer-register-page .public-customer-register-form input::placeholder {
  color: #667788;
  opacity: 1;
}

body.edova-customer-portal.customer-register-page .public-customer-register-form input:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
  outline: none;
}

body.edova-customer-portal.customer-register-page .register-address-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1.4fr) minmax(80px, 0.5fr) minmax(0, 1fr);
}

body.edova-customer-portal.customer-register-page .register-address-field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

body.edova-customer-portal.customer-register-page .public-customer-register-form .privacy-ack {
  align-items: flex-start;
  cursor: pointer;
  display: grid;
  gap: 8px;
  grid-template-columns: 18px minmax(0, 1fr);
  line-height: 1.3;
  position: relative;
  text-transform: none;
  z-index: 2;
}

body.edova-customer-portal.customer-register-page .public-customer-register-form input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
  cursor: pointer;
  min-height: 18px;
  padding: 0;
  width: 18px;
}

body.edova-customer-portal.customer-register-page .public-customer-register-form .privacy-ack a {
  color: var(--register-accent);
  font-weight: 600;
}

body.edova-customer-portal.customer-register-page .public-customer-register-form button {
  align-items: center;
  background: var(--register-accent);
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font: 600 14px/1 Arial, Helvetica, sans-serif;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

body.edova-customer-portal.customer-register-page .public-customer-register-form button:hover,
body.edova-customer-portal.customer-register-page .public-customer-register-form button:focus-visible {
  background: var(--register-accent-hover);
  outline: none;
}

body.edova-customer-portal.customer-register-page .public-customer-register-form button:disabled {
  cursor: progress;
  opacity: 0.72;
}

body.edova-customer-portal.customer-register-page .customer-register-result {
  background: #f8fafb;
  border: 1px solid var(--register-line);
  border-radius: 4px;
  color: var(--register-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  min-height: 34px;
  padding: 8px 10px;
}

body.edova-customer-portal.customer-register-page .customer-register-result:empty {
  display: none;
}

body.edova-customer-portal.customer-register-page .customer-register-result[data-tone="success"] {
  background: #ecfdf5;
  border-color: #9fd8bc;
  color: #0b6b47;
}

body.edova-customer-portal.customer-register-page .customer-register-result[data-tone="warning"] {
  background: #eef6fb;
  border-color: #a8cbd9;
  color: #245f73;
}

body.edova-customer-portal.customer-register-page .customer-register-result[data-tone="error"] {
  background: #fff1f2;
  border-color: #f0a4af;
  color: #9f1239;
}

body.edova-customer-portal.customer-register-page .registration-handoff-field,
body.edova-customer-portal.customer-register-page input.registration-handoff-field {
  display: none !important;
  height: 1px !important;
  left: -10000px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  top: auto !important;
  visibility: hidden !important;
  width: 1px !important;
}

body.edova-customer-portal.customer-register-page .legal-footer {
  align-items: center;
  border-top: 1px solid var(--register-line);
  color: var(--register-muted);
  display: flex;
  font-size: 12px;
  gap: 14px;
  justify-content: center;
  padding: 18px 24px 36px;
}

body.edova-customer-portal.customer-register-page .legal-footer a {
  color: var(--register-ink);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 900px) {
  body.edova-customer-portal.customer-register-page .topbar {
    align-items: flex-start;
    display: grid;
    padding: 12px 14px;
  }

  body.edova-customer-portal.customer-register-page .public-registration-shell {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 10px;
    width: min(100% - 20px, 680px);
  }

  body.edova-customer-portal.customer-register-page .public-registration-copy,
  body.edova-customer-portal.customer-register-page .public-customer-register-form {
    padding: 18px;
  }

  body.edova-customer-portal.customer-register-page .register-address-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
