.authentication-wrapper.authentication-basic .authentication-inner.auth-choose-role {
  max-width: 720px;
}

.authentication-wrapper.authentication-basic .authentication-inner.auth-login {
  max-width: 460px;
}

.auth-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 575.98px) {
  .auth-role-grid {
    grid-template-columns: 1fr;
  }
}

.auth-brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.auth-brand-header .app-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.auth-brand-header .app-brand-text {
  font-size: 1.375rem;
  letter-spacing: 0.04em;
}

.auth-role-card {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-lg, 0.5rem);
  background-color: var(--bs-card-bg, #fff);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  color: inherit;
  height: 100%;
  text-decoration: none;
}

.auth-role-card h5,
.auth-role-card small {
  word-break: normal;
  overflow-wrap: normal;
}

.auth-role-card:hover,
.auth-role-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 0.25rem 1rem rgba(115, 103, 240, 0.15);
  border-color: rgba(115, 103, 240, 0.45);
  color: inherit;
}

.auth-role-card:focus-visible {
  outline: 2px solid #7367f0;
  outline-offset: 2px;
}

.auth-role-card-body {
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.auth-login-card .card-body {
  position: relative;
}

.auth-login-back {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
}

.auth-role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.auth-role-badge i {
  font-size: 1.75rem;
}

@media (max-width: 575.98px) {
  .auth-login-back {
    position: static;
    display: inline-flex;
    margin-bottom: 1rem;
  }

  .auth-login-card .card-body {
    padding-top: 1.5rem;
  }
}
