.dnx-b2c-subpage .bca-simple-auth,
.bca-simple-auth {
  width: min(468px, calc(100% - 28px));
  box-sizing: border-box;
  margin: 24px auto 44px;
  padding: 26px 28px 24px;
  display: grid;
  gap: 15px;
  background: #ffffff;
  border: 1px solid #dce5f0;
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(16, 39, 72, 0.06);
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
}
.bca-simple-auth *,
.bca-simple-auth *::before,
.bca-simple-auth *::after {
  box-sizing: border-box;
}
.bca-auth-header {
  display: grid;
  gap: 5px;
  text-align: center;
}
.bca-simple-auth h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #15263d;
  text-align: center;
  margin: 0;
  line-height: 1.22;
}
.bca-simple-auth .bca-auth-subtitle,
.bca-simple-auth > p {
  text-align: center;
  font-size: 13.5px;
  line-height: 1.5;
  color: #5b6b7f;
  margin: 0;
}
.bca-simple-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #dce5f0;
  gap: 4px;
}
.bca-simple-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-align: center;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  color: #5b6b7f;
  text-decoration: none;
  border-bottom: 2.5px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
  border-radius: 8px 8px 0 0;
}
.bca-simple-tabs a:hover {
  color: #15263d;
  background: #f4f7fb;
}
.bca-simple-tabs a[aria-current="page"] {
  color: var(--blue, #0961d7);
  border-bottom-color: var(--blue, #0961d7);
}
.bca-method-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  background: #f4f7fb;
  border: 1px solid #e2eaf3;
  border-radius: 12px;
}
.bca-method-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.bca-method-pill:hover {
  color: #15263d;
}
.bca-method-pill.is-active {
  background: #ffffff;
  color: var(--blue, #0961d7);
  box-shadow: 0 2px 8px rgba(16, 39, 72, 0.08);
}
.bca-simple-auth .dnx-auth-form {
  display: grid;
  gap: 14px;
}
.bca-simple-auth .bca-auth-details,
.bca-simple-auth .bca-auth-registration {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 14px;
}
.bca-simple-auth [hidden] {
  display: none !important;
}
.bca-field-label,
.bca-simple-auth label:not(.bca-check) {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #15263d;
}
.bca-simple-auth input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 10px 14px;
  border: 1px solid #cbd7e6;
  border-radius: 10px;
  background: #ffffff;
  color: #15263d;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.bca-simple-auth input:not([type="checkbox"]):not([type="radio"]):focus,
.bca-simple-auth input:not([type="checkbox"]):not([type="radio"]):focus-visible {
  outline: 2.5px solid var(--blue, #0961d7);
  outline-offset: 2px;
  border-color: var(--blue, #0961d7);
  box-shadow: 0 0 0 4px rgba(9, 97, 215, 0.12);
}
.bca-simple-auth .bca-otp-input {
  text-align: center;
  font-size: 20px !important;
  font-weight: 800;
  letter-spacing: 0.28em;
  font-variant-numeric: tabular-nums;
}
.bca-field-hint {
  font-size: 12px;
  line-height: 1.5;
  color: #5b6b7f;
  margin: -4px 0 0;
}
.bca-simple-names {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.bca-email-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f4f7fb;
  border: 1px solid #dce5f0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13.5px;
  color: #15263d;
  font-weight: 700;
}
.bca-email-identity span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.bca-email-identity button,
.bca-inline-action-btn {
  min-height: 44px;
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid #d5e0ec;
  border-radius: 8px;
  color: var(--blue, #0961d7);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
.bca-email-identity button:hover,
.bca-inline-action-btn:hover {
  background: #eff5ff;
  border-color: #b7cef5;
}
.bca-simple-auth .bca-error {
  font-size: 13px;
  line-height: 1.5;
  color: #9f1239;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0;
  text-align: left;
}
.bca-simple-auth .bca-error:empty {
  display: none;
}
.bca-simple-auth .bca-notice {
  font-size: 13px;
  line-height: 1.5;
  color: #14532d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0;
  text-align: left;
}
.bca-simple-auth .bca-notice:empty {
  display: none;
}
.bca-simple-auth .btn,
.bca-secondary-btn {
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
}
.bca-secondary-btn {
  background: #f4f7fb;
  color: #15263d;
  border: 1px solid #cbd7e6;
  font-family: inherit;
}
.bca-secondary-btn:hover {
  background: #e8eff8;
  border-color: #aac0db;
}
.bca-sms-secondary-actions {
  display: grid;
  gap: 10px;
}
.bca-inline-resend-form {
  margin: 0;
}
.bca-help-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  padding-top: 2px;
}
.bca-auth-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #3b5978;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.bca-auth-help:hover {
  color: var(--blue, #0961d7);
  background: #f4f7fb;
}
.bca-simple-auth .bca-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.55;
  color: #475569;
  cursor: pointer;
}
.bca-simple-auth .bca-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--blue, #0961d7);
}
.bca-simple-auth .bca-check a,
.bca-inline-doc-link {
  color: var(--blue, #0961d7);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(9, 97, 215, 0.35);
}
.bca-simple-auth .bca-check a:hover,
.bca-inline-doc-link:hover {
  border-bottom-color: currentColor;
}
.bca-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #7c8b9e;
}
.bca-auth-divider::before,
.bca-auth-divider::after {
  content: "";
  height: 1px;
  background: #e2eaf3;
  flex: 1;
}
.bca-google-auth .btn,
.bca-google-btn {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd7e6 !important;
  background: #ffffff !important;
  color: #15263d !important;
  font-weight: 700;
}
.bca-google-auth .btn:hover,
.bca-google-btn:hover {
  background: #f4f7fb !important;
  border-color: #9fb3cc !important;
}
.bca-simple-auth :is(a, button, input, select, textarea):focus,
.bca-simple-auth :is(a, button, input, select, textarea):focus-visible {
  outline: 2.5px solid var(--blue, #0961d7);
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .dnx-b2c-subpage .bca-simple-auth,
  .bca-simple-auth {
    width: calc(100% - 24px);
    margin: 12px auto 28px;
    padding: 18px 16px;
    gap: 12px;
  }
  .bca-simple-auth h1 {
    font-size: 21px;
  }
  .bca-method-pill {
    min-height: 44px;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.25;
  }
}
@media (max-width: 340px) {
  .bca-simple-names {
    grid-template-columns: 1fr;
  }
}
