/* Login, sign up, password and account screens */
.auth-page {
  max-width: 420px;
  margin: 0 auto;
  padding: 24px 0 110px;
}

.auth-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 28px 28px 24px;
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: #e3f4f7;
  color: #138496;
  font-size: 24px;
}

.auth-title {
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  margin: 0 0 4px;
}

.auth-subtitle {
  text-align: center;
  color: #6c757d;
  font-size: 14px;
  margin: 0 0 22px;
}

.auth-field {
  margin-bottom: 16px;
}

.auth-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.auth-field .form-control {
  border-radius: 8px;
  padding: 10px 12px;
}

.auth-field .auth-help {
  font-size: 12px;
  color: #6c757d;
  margin-top: 5px;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -4px 0 18px;
  font-size: 14px;
}

.auth-row .form-check {
  margin: 0;
}

.auth-submit {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-weight: 500;
}

.auth-section {
  border-top: 1px solid #eef0f2;
  margin-top: 20px;
  padding-top: 18px;
}

.auth-section h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6c757d;
  margin-bottom: 12px;
}

.auth-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  color: #6c757d;
}

.auth-links a {
  color: #138496;
  font-weight: 500;
  text-decoration: none;
}

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

.auth-danger {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #f5c2c7;
  border-radius: 12px;
  background: #fff5f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.auth-danger strong {
  display: block;
}

.auth-danger span {
  color: #6c757d;
  font-size: 13px;
}

.auth-danger .btn {
  flex: 0 0 auto;
}
