.section-login {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  min-height: calc(100svh - var(--nav-height));
  margin-top: -1.5rem;
  width: 100%;

  fieldset {
    width: 100%;
    max-width: 38rem;
    border-radius: 1.25rem;
    padding: 2.5rem 2.5rem 2.8rem;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border: none;
    outline: .5px solid rgba(255, 255, 255, .28);
    box-shadow: 0 .5rem 3rem rgba(0, 0, 0, .12);
    color: var(--theme-text-color);
  }

  p {
    text-align: left;
    margin: .5rem 0;
  }

  input {
    margin-top: .2rem;
    border-radius: .4rem;
    border: .1rem solid #ccc;
  }

  button {
    border-radius: .4rem;
    background: linear-gradient(135deg, hsl(205, 68%, 62%) 0%, hsl(155, 58%, 54%) 100%);
    border: .5px solid rgba(255, 255, 255, .42);
    box-shadow: 0 .25rem 1.2rem rgba(0, 0, 0, .10), inset 0 1px 0 rgba(255, 255, 255, .28);
    color: #fff;
    font-weight: 600;
    transition: all 0.25s ease;
  }

  button:hover {
    background: linear-gradient(135deg, hsl(205, 72%, 56%) 0%, hsl(155, 62%, 48%) 100%);
    box-shadow: 0 .4rem 1.8rem rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .32);
    transform: translateY(-.1rem);
  }

  legend {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .form-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: color-mix(in srgb, var(--theme-text-color) 78%, transparent);
    margin: 0;
  }

  .legend-icon {
    vertical-align: .1em;
    font-size: 1.1rem;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
  }

  form p {
    margin: 0;
  }

  .pw-wrapper {
    position: relative;
    display: block;
  }

  .pw-wrapper input {
    padding-right: 3.2rem;
  }

  .pw-toggle {
    position: absolute;
    right: .6rem;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    margin: 0;
    margin-top: 0;
    padding: .35rem;
    background: none;
    border: none;
    cursor: pointer;
    color: color-mix(in srgb, var(--theme-text-color) 50%, transparent);
    display: flex;
    align-items: center;
    border-radius: .3rem;
    transition: color .2s ease;
  }

  .pw-toggle:hover {
    background: none;
    color: var(--theme-text-color);
    transform: translateY(-50%);
  }

  h2 {
    margin: 0 0 1.5rem;
  }
}

