/* Shared contact-style theme */
body {
  font-family: 'Nunito Sans', sans-serif;
  background-color: #f8f5f1;
  background-image: radial-gradient(circle at 1px 1px, rgba(222, 205, 180, 0.8) 1px, transparent 0);
  background-size: 25px 25px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
/* subtle paper texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(127,90,50,0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.15), rgba(255,255,255,0.15));
  background-size: 3px 3px, 100% 100%;
  mix-blend-mode: multiply;
  z-index: 1;
}
.paper-card {
  background: #fffdf8;
  border-radius: 1.25rem;
  box-shadow: 0 4px 24px 0 rgba(120, 90, 60, 0.08), 0 1.5px 4px 0 rgba(120, 90, 60, 0.04);
  border: 1.5px solid #ede6db;
  position: relative;
  z-index: 3;
  background-image: linear-gradient(180deg, #fffdf8, #fffdf8), linear-gradient(135deg, #f4cae0 0%, #bfa181 50%, #7c8c6a 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.paper-card.torn::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 22px;
  background: #fffdf8;
  clip-path: polygon(0 60%, 5% 80%, 10% 55%, 15% 85%, 20% 58%, 25% 82%, 30% 57%, 35% 83%, 40% 60%, 45% 80%, 50% 55%, 55% 85%, 60% 58%, 65% 82%, 70% 57%, 75% 83%, 80% 60%, 85% 80%, 90% 55%, 95% 85%, 100% 60%, 100% 100%, 0 100%);
  border-bottom-left-radius: 1.25rem;
  border-bottom-right-radius: 1.25rem;
}
.journal-btn {
  background: #ede6db;
  color: #7c5c36;
  border-radius: 0.75rem;
  font-weight: 700;
  font-family: 'Nunito Sans', sans-serif;
  box-shadow: 0 2px 8px 0 #bfa18122;
  border: 1.5px solid #d6c3a3;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.journal-btn:hover {
  background: #f5eee6;
  color: #4b3a1a;
  box-shadow: 0 4px 16px 0 #bfa18133;
}
.journal-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  box-shadow: none;
}
.form-input {
  background: #fffdf8;
  border: 1.5px solid #ede6db;
  border-radius: 0.75rem;
  color: #7c5c36;
  box-shadow: 0 2px 8px 0 #bfa18122;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: #bfa181;
  box-shadow: 0 0 0 3px rgba(191, 161, 129, 0.1);
}
.icon-card {
  background: #f5eee6;
  border-radius: 9999px;
  padding: 0.75rem;
  border: 1.5px solid #ede6db;
  box-shadow: 0 2px 8px 0 #bfa18122;
  transition: background 0.2s, transform 0.2s;
}
.icon-card:hover { background: #ede6db; transform: scale(1.08) translateY(-2px); }
.sticker { transform: rotate(-3deg); filter: drop-shadow(2px 4px 6px rgba(127, 90, 50, 0.15)); position: relative; }
.sticker::after { content: ''; position: absolute; inset: -6px; border-radius: 18px; background: repeating-linear-gradient(135deg, #ffffff55 0 6px, #ffffff00 6px 12px); z-index: -1; }
.footer-journal { background: #ede6db; border-top: 1.5px solid #d6c3a3; color: #7c5c36; box-shadow: 0 -2px 16px 0 #bfa18111; position: relative; z-index: 3; padding-top: 2.5rem; clip-path: polygon(0 15%, 5% 10%, 10% 16%, 15% 9%, 20% 17%, 25% 12%, 30% 18%, 35% 10%, 40% 15%, 45% 11%, 50% 17%, 55% 10%, 60% 16%, 65% 12%, 70% 18%, 75% 11%, 80% 15%, 85% 9%, 90% 16%, 95% 10%, 100% 15%, 100% 100%, 0 100%); }
.fade-in { animation: fadeIn 1.5s ease-in-out; position: relative; z-index: 3; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.bow-card::before { content: '🎀'; position: absolute; top: -18px; left: 50%; transform: translateX(-50%) rotate(10deg); font-size: 2.5rem; text-shadow: 1px 1px 4px rgba(0,0,0,0.1); opacity: 0.95; }
.font-playfair { font-family: 'Lora', serif; }
.font-hand { font-family: 'Patrick Hand', cursive; letter-spacing: 0.3px; }
.footer-journal span { font-family: 'Patrick Hand', cursive; font-size: 1.4rem; }
.doodle { position: absolute; z-index: 2; animation: doodle-pulse 5s ease-in-out infinite alternate; }
.doodle svg { width: 100%; height: 100%; stroke: #bfa181; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@keyframes doodle-pulse { from { opacity: 0.2; } to { opacity: 0.6; } }
.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); background: #fffdf8; color: #4b3a1a; border: 1.5px solid #ede6db; box-shadow: 0 8px 24px rgba(127, 90, 50, 0.15); border-radius: 0.75rem; padding: 0.85rem 1.1rem; z-index: 50; display: none; }
.toast.success { border-color: #7c8c6a; }
.toast.error { border-color: #e57373; }
.journal-page { position: relative; border-radius: 1rem; padding: 2rem 2rem 2rem 4.25rem; border: 1.5px solid #ede6db; box-shadow: 0 4px 24px rgba(120,90,60,0.08); background-image:
  linear-gradient(90deg, transparent 0 56px, #9eb7ff 56px 57px, transparent 57px),
  repeating-linear-gradient(180deg, #fffdf8 0 28px, #eeddc555 28px 29px);
background-color: #fffdf8; overflow: hidden; }
.journal-page .punch-hole { position: absolute; left: 20px; width: 14px; height: 14px; border-radius: 9999px; background: radial-gradient(circle at 35% 35%, #bfa181 0 2px, #e9dccb 3px 100%); box-shadow: inset 0 1px 1px #bfa18155, 0 1px 0 #ffffff; }
.journal-page .punch-hole:nth-of-type(1) { top: 18px; }
.journal-page .punch-hole:nth-of-type(2) { top: 88px; }
.journal-page .punch-hole:nth-of-type(3) { top: 158px; }
.journal-page .punch-hole:nth-of-type(4) { top: 228px; }
.journal-page .punch-hole:nth-of-type(5) { top: 298px; }
.journal-page .punch-hole:nth-of-type(6) { top: 368px; }
.washi { position: absolute; top: -14px; right: 28px; width: 120px; height: 32px; transform: rotate(6deg); background: repeating-linear-gradient(45deg, #f4cae0cc 0 10px, #f4e3efcc 10px 20px); border: 1px dashed #d9b7c7; border-radius: 6px; box-shadow: 0 6px 14px rgba(127, 90, 50, 0.15); opacity: 0.9; }
.washi.small { top: -10px; right: 160px; width: 80px; height: 24px; transform: rotate(-7deg); background: repeating-linear-gradient(45deg, #e6f0e2cc 0 10px, #f1f7efcc 10px 20px); border-color: #c0d0bd; }
.stamp { border: 2px solid #7c5c36; text-transform: uppercase; letter-spacing: 1.5px; }
.stamp:hover { transform: rotate(-0.6deg) translateY(-1px); }
.ink-link { background-image: linear-gradient(currentColor, currentColor); background-position: 0 100%; background-repeat: no-repeat; background-size: 0% 2px; transition: background-size 200ms ease; }
.ink-link:hover { background-size: 100% 2px; }
.label-ink::after { content: ''; opacity: 0.75; }
