.auth-page {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 80px;
}

.auth-card {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 28px;
  padding: 32px 24px;
  box-shadow: 0 12px 36px rgba(17, 24, 39, 0.08);
}

.auth-card--wide {
  max-width: 680px;
}

.auth-card__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.auth-card__title {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
}

.auth-card__subtitle {
  color: #5f6471;
  font-size: 15px;
}

.auth-alert {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff3f1;
  color: #b42318;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-label {
  font-weight: 600;
}

.auth-input {
  width: 100%;
  border: 1px solid #d9dde5;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: "Graphik LCG", Arial, sans-serif;
  background: #fff;
}

.auth-input:focus {
  outline: none;
  border-color: #111827;
}

.auth-submit,
.auth-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  font-weight: 600;
  margin-top: 8px;
}

.auth-submit {
  background: #111827;
  color: #fff;
}

.auth-secondary {
  background: #eef1f5;
  color: #111827;
}

.auth-card__footer,
.auth-card__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 20px;
}

.auth-link {
  color: #111827;
  font-weight: 600;
}

.profile-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.profile-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eceff3;
}

.profile-label {
  color: #5f6471;
}

.profile-value {
  text-align: right;
  font-weight: 600;
}

.profile-reviews {
  margin-top: 8px;
}

.profile-reviews__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.profile-reviews__list {
  display: grid;
  gap: 14px;
}

.profile-review-card,
.profile-reviews__empty {
  background: #f7f8fa;
  border-radius: 18px;
  padding: 18px;
}

.profile-review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.profile-review-card__rating {
  font-weight: 700;
}

.profile-review-card__status {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
}

.profile-review-card__status--pending {
  background: #fff4d6;
  color: #9a6700;
}

.profile-review-card__status--published {
  background: #dcfce7;
  color: #166534;
}

.profile-review-card__status--rejected {
  background: #fee2e2;
  color: #991b1b;
}

.profile-review-card__text {
  margin-bottom: 10px;
}

.profile-review-card__meta {
  color: #5f6471;
  font-size: 13px;
}

@media (max-width: 640px) {
  .auth-card {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .auth-card__title {
    font-size: 24px;
  }

  .profile-row {
    flex-direction: column;
  }

  .profile-value {
    text-align: left;
  }
}
