/* ========================================================
   8. GUESTBOOK SECTION — BLUE WATERCOLOR THEME
   Matches exact reference design with floating cards & floral accents
   ======================================================== */
.guestbook-unified-section {
  position: relative;
  padding: 14px 16px 16px;
  text-align: center;
  overflow: visible;
  /* Gradient nhẹ nhàng không phá background watercolor */
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 80%,
    rgba(255, 255, 255, 0.1) 90%,
    rgba(255, 255, 255, 0.15) 100%
  );
}

/* Floral botanical accents */
.gb-flower-tr {
  position: absolute;
  top: -30px;
  right: -24px;
  width: 175px;
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
  filter: drop-shadow(0 6px 14px rgba(45, 80, 115, 0.12));
}



/* Artistic script calligraphy text */
.gb-script-tl {
  position: absolute;
  top: 14px;
  left: 20px;
  font-family: var(--font-script);
  font-size: 1.55rem;
  color: #557b9f;
  line-height: 1.22;
  opacity: 0.88;
  transform: rotate(-6deg);
  z-index: 1;
  pointer-events: none;
  text-align: left;
}

.gb-script-mr {
  position: absolute;
  top: 210px;
  right: 18px;
  font-family: var(--font-script);
  font-size: 1.48rem;
  color: #557b9f;
  line-height: 1.25;
  opacity: 0.88;
  transform: rotate(5deg);
  z-index: 1;
  pointer-events: none;
  text-align: right;
}

.guestbook-container-wrap {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

/* Form Card Container (Compact & Petite as requested) */
.card-guestbook-form-box {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(190, 215, 238, 0.85);
  border-radius: 16px;
  padding: 22px 18px 18px;
  box-shadow: 0 12px 32px rgba(45, 80, 115, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02);
  text-align: center;
  max-width: 390px;
  width: 100%;
  margin: 0 auto;
}

.gb-card-title {
  font-family: var(--font-title);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary-navy);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.gb-heart-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 110px;
  margin: 3px auto 4px;
}

.gb-heart-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(75, 115, 155, 0.45), transparent);
}

.gb-heart-divider .heart-symbol {
  font-size: 0.78rem;
  color: #3b6289;
  line-height: 1;
}

.gb-card-subtitle {
  font-family: var(--font-subtitle);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #5a7d9f;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.guestbook-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.gb-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(155, 190, 222, 0.85);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 0.80rem;
  color: var(--primary-navy);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.gb-textarea {
  width: 100%;
  min-height: 64px;
  background: #ffffff;
  border: 1px solid rgba(155, 190, 222, 0.85);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 0.80rem;
  color: var(--primary-navy);
  outline: none;
  resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.gb-input::placeholder, .gb-textarea::placeholder {
  color: #88a7c2;
  font-size: 0.76rem;
}

.gb-input:focus, .gb-textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(79, 119, 156, 0.15);
}

.gb-form-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3px;
}

.gb-feather-badge {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #edf4fb;
  border: 1px solid rgba(155, 190, 225, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(45, 80, 115, 0.08);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
  position: relative;
}

.gb-feather-badge:hover {
  background: #dceaf7;
  border-color: #5580aa;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(45, 80, 115, 0.18);
}

.gb-feather-badge:active {
  transform: scale(0.96);
}

.btn-gb-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #35587c 0%, #254466 100%);
  color: #ffffff;
  padding: 7px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  box-shadow: 0 4px 14px rgba(35, 65, 95, 0.26);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-gb-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(35, 65, 95, 0.38);
  background: linear-gradient(135deg, #406892 0%, #2d4f75 100%);
}

/* ========================================================
   MODAL GỢI Ý LỜI CHÚC (WISH SUGGESTIONS MODAL)
   ======================================================== */
.wish-suggest-box {
  background: #ffffff;
  border: 1px solid rgba(185, 210, 235, 0.9);
  border-radius: 18px;
  max-width: 480px;
  width: 92vw;
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(30, 60, 95, 0.25);
  overflow: hidden;
  animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.wish-suggest-header {
  padding: 16px 20px 14px;
  border-bottom: 1px solid rgba(210, 228, 245, 0.8);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #f8fbfe;
  position: relative;
}

.wish-suggest-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0 0 4px;
  letter-spacing: 0.04em;
}

.wish-suggest-subtitle {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #6282a2;
  margin: 0;
  line-height: 1.35;
}

.wish-suggest-close {
  background: rgba(220, 235, 248, 0.6);
  border: 1px solid rgba(180, 205, 230, 0.7);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.95rem;
  color: #3b5f85;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: 10px;
}

.wish-suggest-close:hover {
  background: #e2effa;
  color: #1a385c;
  transform: rotate(90deg);
}

.wish-suggest-list {
  padding: 14px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 52vh;
}

.wish-suggest-list::-webkit-scrollbar {
  width: 5px;
}

.wish-suggest-list::-webkit-scrollbar-thumb {
  background: rgba(160, 190, 220, 0.6);
  border-radius: 999px;
}

.wish-suggest-item {
  background: #fbfdff;
  border: 1px solid rgba(195, 218, 240, 0.85);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.45;
  color: #264b70;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.wish-suggest-item:hover {
  background: #f0f7fd;
  border-color: #5d8dbb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 80, 115, 0.1);
  color: #17385c;
}

.wish-suggest-item:active {
  transform: scale(0.99);
}

.wish-suggest-item-icon {
  color: #cca352;
  font-size: 1rem;
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 1px;
}

.wish-suggest-footer {
  padding: 12px 18px;
  background: #f8fbfe;
  border-top: 1px solid rgba(210, 228, 245, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-wish-random {
  background: #ffffff;
  border: 1px solid rgba(165, 195, 225, 0.9);
  color: #2b5077;
  padding: 7px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.22s ease;
  box-shadow: 0 2px 6px rgba(45, 80, 115, 0.06);
}

.btn-wish-random:hover {
  background: #eef5fb;
  border-color: #487299;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(45, 80, 115, 0.12);
}

/* Wishes List (Mở rộng thoáng đãng) */
.wishes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 5px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.wishes-list::-webkit-scrollbar {
  width: 5px;
}

.wishes-list::-webkit-scrollbar-thumb {
  background: rgba(155, 185, 215, 0.65);
  border-radius: 999px;
}

.wish-item {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(185, 210, 235, 0.85);
  border-radius: 11px;
  padding: 10px 14px;
  text-align: left;
  box-shadow: 0 3px 12px rgba(45, 80, 115, 0.04);
  transition: transform 0.2s ease;
}

.wish-item:hover {
  transform: translateY(-1px);
}

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

.wish-author {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.91rem;
  color: #1a385c;
}

.wish-time {
  font-size: 0.71rem;
  color: #6588aa;
  font-family: var(--font-sans);
}

.wish-message {
  font-size: 0.83rem;
  color: #325272;
  line-height: 1.45;
  margin: 0;
}
