.login-container {
  flex-direction: column;
  display: flex;

  background: var(--bg-secondary);
  min-height: calc(100vh - 120px);
}

@media screen and (max-width: 991px) {
  .login-container {
    min-height: calc(100vh - 170px);
  }
}

.login-main {
  flex: 1 0 auto;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
  display: flex;

  padding: 1.75rem 2rem 3rem;
}

.login-content {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-left: auto;
  margin-right: auto;
}

.login-card {
  height: 100%;
  flex-direction: column;
  display: flex;
  flex: auto;
  padding: 2.2rem !important;
  overflow: hidden;

  border-radius: 0.95rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.login-card span {
  color: var(--primary-color);
  font-size: var(--font-size1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.login-card h1 {
  font-size: var(--font-size12);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.login-card p {
  color: var(--subtext-primary);
  font-size: var(--font-size3);
  margin-top: 0.75rem;
  font-weight: 400;
}

.login-auth {
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  display: inline-flex;
}

@media screen and (max-width: 500px) {
  .login-auth {
    flex-direction: column;
  }
}

.login-auth-icon {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--primary-color) 10%, white),
    color-mix(in srgb, var(--primary-color) 16%, white)
  );
  border: 1px solid color-mix(in srgb, var(--primary-color) 12%, white);
  padding: 0 !important;
  width: 5.2rem;
  height: 5.2rem;
  color: var(--primary-color);
  border-radius: 1.1rem;
  justify-content: center;
  align-items: center;
  font-size: 2.05rem;
  display: inline-flex;
  box-shadow: inset 0 1px #ffffffd9;
}

.login-auth button {
  min-width: 10.5rem;
  min-height: 3rem;
  padding-inline: 1.4rem;
  background: transparent;
  border: 1px solid var(--input-border-color);

  font-size: var(--font-size3);
  font-weight: 400;
  border-radius: 0.35rem;
}

.login-button {
  background: var(--success-color);
  color: white;
  min-width: 10rem;
  min-height: 3rem;
  font-size: var(--font-size3);
  font-weight: 400;
  border-radius: 0.35rem;
  cursor: pointer;
}
