.auth-container {
    max-width: 500px;
    margin: 5rem auto 8rem auto;
    padding: 2rem;
    background: rgba(34, 231, 215, 0.9);
    border-radius: 10px;
    border: solid black 2px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Forms */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-input {
    padding: 0.8rem;
    border: 1px solid black;
    border-radius: 5px;
    font-size: 1rem;
}


.auth-btn {
    padding: 0.8rem;
    background-color: green;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    border: solid 2px black;
}

.auth-btn:hover {
    background-color: black;
    color: white;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-link-text {
    color: purple;
    text-decoration: none;
    font-weight: bold;
}

.auth-link-text:hover {
    text-decoration: underline;
}

.error-message {
    color: #d32f2f;
    background-color: #ffebee;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #d32f2f;
}

.password-rules {
  margin: 0.5rem 0 1rem;
  background: #fff;
  border: 2px solid #000;
  border-radius: 10px;
  padding: 0.75rem 1rem;
}
.password-rules__title {
  margin: 0 0 0.25rem;
  font-weight: 600;
}
.password-rules__list {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.3;
}

.password-rules__list li {
     margin: 0.15rem 0;
}




.password-input-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.password-input-wrapper .form-input {
  width: 88%;
  padding-right: 2.75rem;
}

.toggle-password-btn {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.toggle-password-btn:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}


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