/* guestbook.css — sits on top of photo-app.css (shared shell, fonts, top bar) */

.stage h1 {
  font-family: 'Cormorant', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  line-height: 1;
  color: var(--ink);
}

.book {
  width: min(100%, 22rem);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.book textarea,
.book input {
  width: 100%;
  border: 1px solid rgba(46, 40, 32, 0.16);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.book textarea {
  border-radius: 22px;
  padding: 18px 22px;
  line-height: 1.55;
  resize: vertical;
  min-height: 9.5rem;
}

.book input {
  border-radius: 999px;
  padding: 13px 22px;
  text-align: center;
}

.book textarea::placeholder,
.book input::placeholder { color: var(--warm-grey); }

.book textarea:focus,
.book input:focus {
  border-color: rgba(196, 118, 90, 0.55);
  background: rgba(255, 255, 255, 0.72);
}

.book textarea.is-empty { border-color: rgba(196, 118, 90, 0.6); }

.btn-send {
  margin-top: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 17px 28px;
  cursor: pointer;
  box-shadow: 0 14px 30px -20px rgba(46, 40, 32, 0.7);
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-send:hover { background: #241f19; }
.btn-send:active { transform: scale(0.99); }
.btn-send:disabled { opacity: 0.55; cursor: wait; }

.sent {
  width: min(100%, 22rem);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink-light);
  line-height: 1.5;
}

.again {
  margin-top: 18px;
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-light);
  background: none;
  border: 1px solid rgba(46, 40, 32, 0.18);
  border-radius: 999px;
  padding: 11px 24px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.again:hover {
  color: var(--terracotta);
  border-color: rgba(196, 118, 90, 0.5);
  background: rgba(196, 118, 90, 0.06);
}
