.auth-card.role-login {
  max-width: 490px;
  margin-inline: auto;
}

.role-login .brand {
  margin-bottom: 26px;
}

.role-login h1 {
  font-size: clamp(25px, 5vw, 32px);
  line-height: 1.2;
  margin: 0;
}

.role-login .role-login-intro {
  font-size: 15px;
  line-height: 1.55;
  color: #50635a;
  margin: 8px 0 24px;
}

.role-choices {
  display: grid;
  gap: 10px;
}

.role-choice {
  appearance: none;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid #cedad1;
  border-radius: 14px;
  background: #fff;
  color: #183a32;
  text-align: start;
  font: inherit;
  cursor: pointer;
}

.role-choice:hover,
.role-choice:active {
  background: #f3f7ed;
  border-color: #648568;
}

.role-choice:focus-visible,
.role-password summary:focus-visible {
  outline: 3px solid #36805b;
  outline-offset: 3px;
}

.role-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #e6eed1;
  border-radius: 12px;
}

.role-choice[value="trainer"] .role-icon {
  background: #deebe5;
}

.role-copy {
  display: grid;
  gap: 3px;
  line-height: 1.4;
}

.role-copy strong {
  font-size: 17px;
}

.role-copy > span {
  font-size: 13px;
  color: #50635a;
}

.role-password {
  border-top: 1px solid #dce4dc;
  margin-top: 24px;
  padding-top: 6px;
}

.role-password summary {
  padding-block: 12px;
  font-size: 14px;
  font-weight: 650;
  color: #34564a;
  cursor: pointer;
}

@media (max-width: 420px) {
  .auth-card.role-login {
    padding: 24px 18px;
  }

  .role-choice {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 14px 12px;
  }

  .role-icon {
    width: 34px;
    height: 38px;
  }
}

@media (max-width: 360px) {
  .role-choice {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .role-choice > svg {
    display: none;
  }
}
