
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f0e6dc;
  margin: 0; padding: 0;
  display: flex; justify-content: center; align-items: center;
  min-height: 100vh;
  animation: fadeInBg 1s ease-out;
}
@keyframes fadeInBg {
  from { background: #e8d7c0; } to { background: #f0e6dc; }
}
.container {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  text-align: center;
  width: 90%; max-width: 500px;
  animation: fadeIn 0.8s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px);} to { opacity: 1; transform: translateY(0);}  
}
h1 {
  margin-bottom: 1.5rem;
}
.buttons {
  display: flex; justify-content: space-between; gap: 1rem;
}
.btn {
  flex: 1;
  padding: 0.75rem;
  background: #c89f65;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  text-align: center;
  transition: transform 0.2s;
}
.btn:hover { transform: scale(1.03); background: #b07e45; }
h2 {
  margin-bottom: 1rem;
}
form { display: flex; flex-direction: column; gap: 1rem; }
input, textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}
input:focus, textarea:focus { border-color: #c89f65; outline: none; }
button {
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  background: #c89f65;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s;
}
button:hover { transform: scale(1.03); background: #b07e45; }
.notification {
  display: none;
  margin-top: 1rem;
  color: #006600;
  font-weight: bold;
}
.link {
  display: inline-block;
  margin-top: 1rem;
  color: #555;
  text-decoration: none;
}
.link:hover { text-decoration: underline; }

/* Прячем блоки через класс, а не inline-стилем */
.hidden {
  display: none;
}

/* Карточка отзыва */
.review-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 1.2rem 1.5rem;
  margin-top: 1.2rem;
  animation: fadeIn 0.4s ease-in-out;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.review-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.rating {
  color: #ffb400;
  font-size: 1.2rem;
}
.review-text {
  line-height: 1.45;
  margin: 0.4rem 0 0.8rem;
}
.review-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #5f5f5f;
}

/* Плавное появление */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0);   }
}

/* Скрывающий класс */
.hidden { display: none; }

/* Кнопка «Назад» в стиле iPhone */
.back-link {
  position: fixed;
  top: 16px;
  left: 16px;
  font-size: 1rem;
  font-weight: 500;
  color: #007aff; /* типичный iOS‑синий */
  text-decoration: none;
  z-index: 100;
}
.back-link::before { content: "← "; }

/* Небольшой отступ сверху для контента, чтобы не перекрывалось кнопкой */
.container { padding-top: 3rem; }

/* -------- (остальной CSS без изменений) -------- */
.review-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 1.2rem 1.5rem;
  margin-top: 1.2rem;
  animation: fadeIn 0.4s ease-in-out;
}