@use "breakpoints";
@use "colors";
@use "typography";
@use "variables";

@use "sass:math";
.survey-item-contents {
  @include breakpoints.small {
    text-align: center;
  }
  @include breakpoints.medium-large {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  margin-bottom: variables.$spacing;
}
.survey-image {
  max-width: 600px;
  margin: 0 auto variables.$spacing * 1.5 auto;
  img {
    display: block;
    width: 100%;
    height: auto;
  }
  &-small {
    max-width: 420px;
  }
}
.survey-page-message {
  text-align: center;
}
.survey-login-options {
  @include breakpoints.medium-large {
    display: flex;
    gap: variables.$spacing * 2;
    justify-content: space-around;
    /*grid-template-columns: 1fr 1fr;*/
  }
}
.survey-login-option {
  @include variables.border;
  flex-basis: 50%;
  padding: variables.$spacing;
  @include breakpoints.small {
    margin-bottom: variables.$spacing;
  }
}
.survey-login-option-description {
  font-size: typography.$smallish-font;
  margin-bottom: variables.$spacing-half;
}
.survey-login-option-note {
  margin-top: variables.$spacing;
  font-size: typography.$small-font;
}
.survey-login-action {
  input,
  button {
    width: 100%;
  }
}
.magic-link-login-form {
  label {
    display: none;
  }
  input {
    margin-bottom: variables.$spacing-half;
  }
}
.account-message {
  h3 {
    font-size: typography.$large-font;
  }
  margin-top: variables.$spacing * 2;
  // p, li{
  //   font-size: $smallish-font;
  // }
  ul:last-child,
  p:last-child {
    margin-bottom: 0;
  }
}
.survey-action {
  margin: 0 auto variables.$spacing auto;
  max-width: 400px;
}

.survey-action-inner {
  display: flex;
  justify-content: center;
}
.survey-action-closed {
  background: colors.$bg-color-light;
  padding: math.div(variables.$spacing, 2);
  text-align: center;
}
.survey-item-error {
  margin-top: math.div(variables.$spacing, 2);
  background: rgba(255, 93, 93, 0.3);
  color: rgba(253, 232, 232, 0.9);
}
.error-code {
  font-size: typography.$smallish-font;
}
