/* Paper-like theme built on top of water.css */
/* Generated by ChatGPT and then customized */

/* Use a handwriting font */
body {
  font-family: "Patrick Hand", "Comic Sans MS", cursive, sans-serif;
  line-height: 1.6;
  max-width: 800px;
  margin: 20px auto;
  padding: 1rem;
  color: #2c2c2c;

  /* Yellowish lined paper background */
  background: repeating-linear-gradient(
    to bottom,
    #fdf6e3,
    #fdf6e3 23px,
    #e6d8a7 24px
  );
  background-attachment: fixed;
}

/* Headings like notebook titles */
h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

/* Links should look like ink */
a {
  color: #1a237e;
  text-decoration: underline wavy;
}
a:hover {
  color: #0d47a1;
  text-decoration: underline wavy;
}

/* Form dialog like a sticky note */
dialog {
  border: 2px solid #bfa64c;
  border-radius: 8px;
  background: #fffbe6;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
  padding: 1rem;
}
dialog > header:first-child {
  font-weight: bold;
  border-bottom: 2px dashed #bfa64c;
  margin-bottom: 0.5rem;
  text-align: center;
}

/* Input fields look like lines */
input[type="text"],
textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid #bfa64c;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.25rem;
  margin-bottom: 1rem;
}

/* Buttons like doodle boxes */
button {
  background: #fffbe6;
  border: 2px solid #bfa64c;
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
button:hover {
  background: #fef3c7;
}

/* Guestbook table with hand-drawn look */
table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(253, 246, 227, 0.8); /* match paper */
  font-size: 1rem;
  border: 2px solid #bfa64c;
}
th, td {
  border: 1px dashed #bfa64c;
  padding: 0.5rem;
}
thead {
  background: #fff3b0;
  font-weight: bold;
}
tbody tr:nth-child(odd) {
  background: rgba(255, 250, 210, 0.8);
}
tbody tr:nth-child(even) {
  background: rgba(253, 246, 227, 0.8);
}

/* Pagination like notebook tabs */
.pagination a {
  display: inline-block;
  margin: 0 0.3rem;
  padding: 0.4rem 0.8rem;
  border: 2px dashed #bfa64c;
  border-radius: 6px;
  background: #fffbe6;
  text-decoration: none;
  font-size: 1rem;
}
.pagination a:hover {
  background: #fef3c7;
}

/* Footer like scribbles */
footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 2px dashed #bfa64c;
  opacity: 0.85;
}

