@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

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

button,
input,
select {
  font-family: inherit;
}

.sm-register-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background-color: #f9fafb;
}

.sm-register-container > .sm-alerts {
  width: 100%;
  max-width: 656px;
  margin: 0 auto;
  padding: 24px 20px 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dsm-auth-register {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background-color: #f9fafb;
  color: #000000;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.dsm-auth-register__viewport {
  width: 100%;
  min-height: inherit;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dsm-auth-register__form {
  width: 100%;
  max-width: 700px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

.dsm-auth-register__field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.dsm-auth-register__field-row + .dsm-auth-register__field-row {
  margin-top: 20px;
}

.dsm-auth-register__field-row--name {
  gap: 20px;
}

.dsm-auth-register__field-row--email {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.dsm-auth-register__email-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.dsm-auth-register__email-errors {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 0;
}

.dsm-auth-register__field {
  flex: 1 1 0;
  min-width: 0;
}

.dsm-auth-register__label {
  display: block;
  margin: 0 0 9px;
  color: #1f2937;
  font-size: 15px;
  font-weight: 500;
}

.dsm-auth-register__control {
  position: relative;
}

.dsm-auth-register__control--verification {
  margin-bottom: 0;
}

.dsm-auth-register__input,
.dsm-auth-register__select {
  width: 100%;
  height: 63px;
  padding: 0 14px;
  background-color: #ffffff;
  border: 1px solid #e6e7ec;
  border-radius: 5px;
  color: #67697c;
  font-size: 18px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.dsm-auth-register__input::placeholder {
  color: #c7c9d3;
  font-size: 18px;
}

.dsm-auth-register__select {
  cursor: pointer;
  padding-right: 40px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%2367697c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: right 14px center;
}

.dsm-auth-register__input:focus,
.dsm-auth-register__select:focus {
  border-color: #1663ff;
  box-shadow: 0 0 0 2px rgba(22, 99, 255, 0.1);
}

.dsm-auth-register__action-button {
  height: 63px;
  min-width: 154px;
  padding: 0 20px;
  border-radius: 5px;
  border: 1px solid #005eeb;
  background-color: #ffffff;
  color: #005eeb;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease, color 150ms ease;
}

.dsm-auth-register__action-button:hover {
  background-color: #005eeb;
  color: #ffffff;
}

.dsm-auth-register__action-button:active {
  transform: translateY(1px);
}

.dsm-auth-register__action-button:focus-visible {
  outline: 2px solid rgba(22, 99, 255, 0.4);
  outline-offset: 2px;
}

.dsm-auth-register__action-button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.dsm-auth-register__otp-area {
  display: none;
  gap: 12px;
  margin-bottom: 0;
  margin-top: 12px;
}

.dsm-auth-register__otp-area.dsm-auth-register__otp-area--visible {
  display: flex;
  flex-direction: column;
}

.dsm-auth-register__timer {
  pointer-events: none;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #8f91a2;
}

.dsm-auth-register__input--code {
  letter-spacing: 0.32em;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  padding-right: 78px;
}

.dsm-auth-register__visibility-toggle {
  pointer-events: auto;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: none;
  background-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.dsm-auth-register__visibility-toggle:hover {
  background-color: rgba(0, 94, 235, 0.08);
}

.dsm-auth-register__visibility-toggle:focus-visible {
  outline: 2px solid rgba(22, 99, 255, 0.4);
  outline-offset: 2px;
}

.dsm-auth-register__visibility-icon {
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: center;
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3L21 21' stroke='%23005eeb' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10.73 6.95C11.14 6.9 11.56 6.86 12 6.86C17.25 6.86 21.5 13 21.5 13C20.88 14.02 20.08 15.16 19.06 16.19' stroke='%23005eeb' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.76 9.29C5.05 10.57 3.5 12.65 2.5 13.86C2.5 13.86 5.14 17.76 8.83 19.23' stroke='%23005eeb' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9.88 9.88C11.05 8.71 12.95 8.71 14.12 9.88C15.29 11.05 15.29 12.95 14.12 14.12' stroke='%23005eeb' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.dsm-auth-register__visibility-toggle[aria-pressed="true"] .dsm-auth-register__visibility-icon {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5C6.75 5 2.5 12 2.5 12C2.5 12 6.75 19 12 19C17.25 19 21.5 12 21.5 12C21.5 12 17.25 5 12 5Z' stroke='%23005eeb' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='3.5' stroke='%23005eeb' stroke-width='1.6'/%3E%3C/svg%3E");
}

.dsm-auth-register__submit {
  width: 100%;
  height: 56px;
  margin-top: 31px;
  border: none;
  border-radius: 5px;
  background-color: #005eeb;
  color: #ffffff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  transition: filter 150ms ease, transform 150ms ease;
  margin-bottom: 20px;
}

.dsm-auth-register__submit:hover {
  filter: brightness(0.95);
}

.dsm-auth-register__submit:active {
  transform: translateY(1px);
}

.dsm-auth-register__submit:focus-visible {
  outline: 2px solid rgba(22, 99, 255, 0.4);
  outline-offset: 2px;
}

.dsm-auth-register__submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.dsm-auth-register__section--policies {
  margin-top: 36px;
}

.dsm-auth-register__section-title {
  margin: 0 0 20px;
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}

.dsm-auth-register__policy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}

.dsm-auth-register__policy-item {
  display: block !important;
  margin-bottom: 28px;
}

.dsm-auth-register__policy-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.4;
}

.dsm-auth-register__policy-description {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 400;
  color: #374151;
  line-height: 1.5;
}

.dsm-auth-register__policy-label {
  display: flex;
  align-items: center;
  gap: normal;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  color: #636466;
}

.dsm-auth-register__policy-checkbox-wrap {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dsm-auth-register__policy-item[data-policy-required="1"] .dsm-auth-register__policy-checkbox-wrap {
  background-color: transparent;
}

.dsm-auth-register__policy-checkbox {
  width: 13px;
  height: 13px;
  margin: 0 8px 0 0;
  cursor: pointer;
  accent-color: auto;
}

.dsm-auth-register__policy-text {
  color: #636466;
  font-size: 15px;
  line-height: 1.3;
}

.dsm-auth-register__policy-link {
  color: #636466;
  text-decoration: underline;
}

.dsm-auth-register__policy-link:hover {
  color: #005eeb;
}

@media (max-width: 640px) {
  .dsm-auth-register__policy-item {
    display: block !important;
  }

  .dsm-auth-register__policy-label {
    width: 100%;
  }
}

.dsm-auth-register__nda {
  margin: 12px 0 0;
}

.dsm-auth-register__nda-label {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

.dsm-auth-register__nda-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dsm-auth-register__nda-consent {
  margin-top: 8px;
}

.dsm-auth-register__nda-link {
  color: #005eeb;
  font-weight: 500;
  text-decoration: none;
}

.dsm-auth-register__nda-link:hover {
  text-decoration: underline;
}

.dsm-auth-register__policy-templates {
  display: none !important;
}

.sm-policy-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.sm-policy-modal--visible {
  display: flex;
}

.sm-policy-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
}

.sm-policy-modal__dialog {
  position: relative;
  max-width: 720px;
  width: calc(100% - 64px);
  max-height: calc(100% - 80px);
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 25px 55px rgba(15, 23, 42, 0.35);
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sm-policy-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.sm-policy-modal__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  color: #0f172a;
}

.sm-policy-modal__close {
  background: none;
  border: none;
  color: #475569;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.sm-policy-modal__close:hover {
  color: #0f172a;
}

.sm-policy-modal__close:focus-visible {
  outline: 2px solid rgba(22, 99, 255, 0.4);
  outline-offset: 2px;
}

.sm-policy-modal__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 6px;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.6;
}

.sm-policy-modal__body p {
  margin-top: 0;
}

.sm-policy-modal__body p + p {
  margin-top: 1em;
}

.sm-policy-modal__body h1 {
  font-size: 1.4rem;
  margin: 1em 0 0.5em;
}

.sm-policy-modal__body h2 {
  font-size: 1.3rem;
  margin: 1em 0 0.5em;
}

.sm-policy-modal__body h3 {
  font-size: 1.2rem;
  margin: 1em 0 0.5em;
}

.sm-policy-modal__body h4 {
  font-size: 1.1rem;
  margin: 1em 0 0.5em;
}

.sm-policy-modal__body h5 {
  font-size: 1rem;
  margin: 1em 0 0.5em;
}

.sm-policy-modal__body ol,
.sm-policy-modal__body ul {
  padding-left: 16px;
  margin: 0.5em 0;
}

body.sm-policy-modal-open {
  overflow: hidden;
}

#verify-otp {
  display: none;
}

.register-form__error {
  display: block;
  margin: 0;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #d14343;
}

.register-form__error--hide {
  display: none;
}

.register-form__password-requirements {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #e6e7ec;
  border-radius: 8px;
  background-color: #f9fafb;
}

.register-form__password-requirements-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #1f2937;
}

.register-form__password-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.register-form__password-checklist-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.35;
  color: #6b7280;
}

.register-form__check-icon {
  flex: 0 0 auto;
  width: 14px;
  margin-top: 1px;
  font-size: 12px;
  line-height: 1.2;
  color: #9ca3af;
}

.register-form__password-checklist-item--success {
  color: #0f766e;
}

.register-form__password-checklist-item--success .register-form__check-icon {
  color: #0f766e;
}

.register-form__popover {
  background-color: rgba(209, 67, 67, 0.08);
  border: 1px solid rgba(209, 67, 67, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  color: #d14343;
}

.register-form__popover--hide {
  display: none;
}

.register-form__popover-text {
  margin: 0;
}

.register-form__popover-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.register-form__popover-item {
  margin: 4px 0;
  line-height: 1.4;
}

.register-form__success-message {
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  color: #0f766e;
}

.register-form__success-message--hide {
  display: none;
}

.register-form__otp-meta .register-form__otp-expired {
  margin-left: 6px;
  color: #d14343;
  font-weight: 600;
  font-size: 13px;
}

.register-form__otp-verified {
  color: #0f766e;
  font-weight: 600;
}

.dsm-auth-register .g-recaptcha {
  margin-top: 6px;
}

@media (max-width: 768px) {
  .dsm-auth-register__viewport {
    padding: 32px 16px;
  }

  .sm-register-container > .sm-alerts {
    padding: 20px 16px 0;
  }

  .dsm-auth-register__field-row--email {
    flex-direction: column;
    align-items: stretch;
  }

  .dsm-auth-register__policy-item {
    display: block !important;
  }

  .dsm-auth-register__action-button {
    width: 100%;
    min-width: 0;
  }

  .sm-policy-modal__dialog {
    width: calc(100% - 32px);
    max-height: calc(100% - 48px);
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .dsm-auth-register__input,
  .dsm-auth-register__select {
    font-size: 16px;
    height: 56px;
  }

  .dsm-auth-register__action-button {
    height: 56px;
    font-size: 16px;
  }

  .dsm-auth-register__policy-item {
    display: block !important;
    padding: 0;
  }

  .sm-policy-modal__dialog {
    padding: 20px;
  }

  .sm-policy-modal__title {
    font-size: 18px;
  }
}
