.salud-registration {
  width: 100%;
  min-width: 0;
  color: #211F40;
  font-family: Montserrat, sans-serif;
}

.salud-registration,
.salud-registration * {
  box-sizing: border-box;
}

.salud-registration [hidden] {
  display: none !important;
}

.salud-registration-alert,
.salud-registration-result {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid #D6E0EA;
  border-left: 4px solid #2D9CDB;
  border-radius: 12px;
  background: #F7FBFE;
  color: #211F40;
  font-size: 14px;
  line-height: 1.55;
}

.salud-registration-alert {
  border-left-color: #2D9CDB;
}

.salud-registration-result.is-success {
  border-left-color: #2BB673;
}

.salud-registration-result a,
.salud-registration-login a {
  color: #2D9CDB;
  font-weight: 700;
  text-decoration: none;
}

.salud-registration-result a:hover,
.salud-registration-result a:focus,
.salud-registration-login a:hover,
.salud-registration-login a:focus {
  text-decoration: underline;
}

.salud-registration-selector {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.salud-role-option {
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: 14px;
  min-height: 112px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #D6E0EA;
  border-radius: 20px;
  background: #FFFFFF;
  color: #211F40;
  font-family: Montserrat, sans-serif;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.salud-role-option:hover,
.salud-role-option:focus-visible {
  border-color: #2D9CDB;
  background: #F7FBFE;
  color: #211F40;
  outline: none;
  transform: translateY(-1px);
}

.salud-role-option.is-active {
  border-color: #2BB673;
  background: #F7FBFE;
  box-shadow: inset 0 0 0 1px #2BB673;
}

.salud-role-option > span:last-child {
  min-width: 0;
  max-width: 100%;
}

.salud-role-option strong,
.salud-role-option small {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.salud-role-option strong {
  margin-bottom: 6px;
  color: #211F40;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.salud-role-option small {
  color: #667085;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.salud-role-icon {
  display: inline-grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #EAEEF5;
  color: #2D9CDB;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.salud-role-option.is-active .salud-role-icon {
  background: #2BB673;
  color: #FFFFFF;
}

.salud-registration-prompt {
  margin: 16px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.salud-registration-form {
  display: grid;
  gap: 24px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid #D6E0EA;
}

.salud-registration-form-heading h3 {
  margin: 0 0 6px;
  color: #211F40;
  font-family: Montserrat, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}

.salud-registration-form-heading p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

.salud-registration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.salud-registration-field {
  display: grid;
  align-content: start;
  gap: 8px;
}

.salud-registration-field-full {
  grid-column: 1 / -1;
}

.salud-registration-field label,
.salud-registration-services legend {
  color: #211F40;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.salud-registration-field small {
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}

.salud-registration-field input,
.salud-registration-field select,
.salud-registration-field textarea {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #D6E0EA;
  border-radius: 12px;
  background: #FFFFFF;
  color: #211F40;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.salud-registration-field textarea {
  min-height: 104px;
  resize: vertical;
}

.salud-registration-photo {
  grid-template-columns: minmax(0, 1fr);
  padding: 18px;
  border: 1px solid #D6E0EA;
  border-radius: 20px;
  background: #F7FBFE;
}

.salud-registration-photo > div {
  display: grid;
  gap: 4px;
}

.salud-registration-photo input[type="file"] {
  max-width: 100%;
  min-height: 54px;
  padding: 8px;
  overflow: hidden;
  background: #FFFFFF;
}

.salud-registration-photo input[type="file"]::file-selector-button {
  max-width: 100%;
  margin-right: 10px;
  padding: 9px 14px;
  border: 0;
  border-radius: 50px;
  background: #2D9CDB;
  color: #FFFFFF;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.salud-registration-field input::placeholder,
.salud-registration-field textarea::placeholder {
  color: #667085;
  opacity: 0.78;
}

.salud-registration-field input:focus,
.salud-registration-field select:focus,
.salud-registration-field textarea:focus {
  border-color: #2D9CDB;
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 156, 219, 0.16);
}

.salud-registration-field input:disabled,
.salud-registration-field select:disabled,
.salud-registration-field textarea:disabled,
.salud-registration-services:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.salud-registration-conditional {
  display: grid;
  gap: 20px;
}

.salud-registration-divider {
  display: grid;
  gap: 4px;
  padding-top: 22px;
  border-top: 1px solid #D6E0EA;
}

.salud-registration-divider strong {
  color: #211F40;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.salud-registration-divider span {
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

.salud-registration-toggle label,
.salud-registration-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #211F40;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.salud-registration-toggle {
  padding: 14px 16px;
  border: 1px solid #D6E0EA;
  border-radius: 12px;
  background: #F7FBFE;
}

.salud-registration-toggle input,
.salud-registration-consent input,
.salud-registration-choice input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #2BB673;
}

.salud-registration-services {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.salud-registration-services legend {
  margin-bottom: 5px;
  padding: 0;
}

.salud-registration-services > p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.salud-registration-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.salud-registration-choice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid #D6E0EA;
  border-radius: 12px;
  background: #FFFFFF;
  color: #211F40;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.salud-registration-choice:hover {
  border-color: #2D9CDB;
  background: #F7FBFE;
}

.salud-registration-consent {
  padding-top: 4px;
}

.salud-registration-submit {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 52px;
  padding: 13px 24px;
  white-space: normal;
  overflow-wrap: anywhere;
  border: 0;
  border-radius: 50px;
  background: #2BB673;
  color: #FFFFFF;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 140ms ease, background-color 140ms ease;
}

.salud-registration-submit:hover,
.salud-registration-submit:focus {
  background: #2BB673;
  color: #FFFFFF;
  outline: 2px solid #2D9CDB;
  outline-offset: 3px;
  transform: translateY(-1px);
}

.salud-registration-submit:active {
  transform: translateY(0);
}

.salud-registration-login {
  margin: 22px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.salud-registration-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 1024px) {
  .salud-registration-selector,
  .salud-registration-grid,
  .salud-registration-choice-grid {
    grid-template-columns: 1fr;
  }

  .salud-role-option {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .salud-role-option {
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 20px;
  }

  .salud-role-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  .salud-role-option strong {
    font-size: 15px;
  }

  .salud-registration-photo {
    padding: 15px;
  }

  .salud-registration-photo input[type="file"]::file-selector-button {
    display: block;
    width: 100%;
    margin: 0 0 8px;
  }

  .salud-registration-form {
    gap: 21px;
    margin-top: 22px;
    padding-top: 22px;
  }

  .salud-registration-form-heading h3 {
    font-size: 21px;
  }

  .salud-registration-field input,
  .salud-registration-field select,
  .salud-registration-field textarea {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .salud-role-option,
  .salud-registration-field input,
  .salud-registration-field select,
  .salud-registration-field textarea,
  .salud-registration-submit {
    transition: none;
  }
}
