/* ========================================================
   8. GUESTBOOK / SỔ LƯU BÚT
   ======================================================== */
.guestbook-card {
  background: #fffaf3;
  border-radius: 24px;
  padding: 38px 22px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
}

.guestbook-form {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid rgba(81, 20, 25, 0.25);
  border-radius: 10px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(81, 20, 25, 0.1);
}

.form-textarea {
  min-height: 80px;
  resize: vertical;
}

.wishes-list {
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  gap: 12px;
  padding: 0 4px;
  box-sizing: border-box;
}

.wishes-list::-webkit-scrollbar { width: 5px; height: 0px; }
.wishes-list::-webkit-scrollbar:horizontal { display: none; height: 0px; }
.wishes-list::-webkit-scrollbar-thumb { background: rgba(81, 20, 25, 0.2); border-radius: 10px; }

.wish-item {
  background: #faf4eb;
  border: 1px solid rgba(81, 20, 25, 0.12);
  border-radius: 9px;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(81, 20, 25, 0.03);
  animation: fadeIn 0.4s ease;
  box-sizing: border-box;
  width: 100%;
}

.wish-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.wish-author {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--red-primary);
}

.wish-time {
  font-size: 0.72rem;
  color: var(--muted);
}

.wish-message {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.45;
}
