.auth-forgot-link {
  margin: 8px 0 12px;
  text-align: right;
}

.auth-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  margin: 70px auto;
  padding: 0 24px;
}

.auth-card {
  padding: 48px;
  border: 1px solid rgba(62, 40, 25, 0.12);
  border-radius: 28px;
  background: #fffaf2;
  box-shadow: 0 18px 50px rgba(62, 40, 25, 0.08);
}

.auth-header {
  margin-bottom: 36px;
  text-align: center;
}

.auth-icon {
  display: flex;
  width: 54px;
  height: 54px;
  margin: 0 auto 15px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff1cf;
  color: #d99616;
  font-size: 25px;
}

.auth-eyebrow {
  margin-bottom: 8px;
  color: #a66b1f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
}

.auth-header h1 {
  margin: 0 0 12px;
  color: #281b12;
  font-size: 38px;
}

.auth-header > p:last-child {
  max-width: 560px;
  margin: 0 auto;
  color: #6c5b50;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #342319;
  font-weight: 700;
}

.form-group input,
.password-field input {
  box-sizing: border-box;
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid #d8cec3;
  border-radius: 14px;
  outline: none;
  background: #fff;
  font-size: 16px;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 58px;
}

.form-group input:focus,
.password-field input:focus {
  border-color: #c48a2c;
  box-shadow: 0 0 0 3px rgba(196, 138, 44, 0.12);
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 15px;
  padding: 7px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.button-block {
  display: block;
  width: 100%;
  min-height: 56px;
  margin-top: 12px;
  border: 0;
  border-radius: 14px;
  background: #342317;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.button-block:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.auth-reset-link {
  text-align: center;
  text-decoration: none;
}

.auth-back {
  margin-top: 25px;
  color: #69584c;
  text-align: center;
}

.auth-back a {
  color: #342317;
  font-weight: 700;
  text-decoration: none;
}

.auth-back a:hover {
  text-decoration: underline;
}

.form-success,
.form-error,
.form-errors {
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid;
  border-radius: 12px;
}

.form-success {
  border-color: #d1dfc5;
  background: #edf4e6;
  color: #49613c;
  line-height: 1.5;
}

.form-error,
.form-errors {
  border-color: #e8c4bf;
  background: #f9e5e2;
  color: #873b32;
}

.form-errors p {
  margin: 0;
}

.form-errors p + p {
  margin-top: 6px;
}

@media (max-width: 700px) {
  .auth-wrap {
    margin: 35px auto;
    padding: 0 16px;
  }

  .auth-card {
    padding: 32px 22px;
    border-radius: 22px;
  }

  .auth-header h1 {
    font-size: 30px;
  }
}
