/* WET SEASON LETTERS — Botanical Guestbook */

body {
  background: #bd7954;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: #393d2e;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Main guestbook container */
.container {
  margin: 30px auto 40px;
  width: 95%;
  max-width: 956px;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  padding: 30px;
  border: 2px solid #71805b;
  border-radius: 4px;
  background: #f5ead9;
  min-height: 650px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(65, 48, 32, 0.15);
  position: relative;
  z-index: 1;
}

/* Heading */
h1#title {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 30px;
  font-weight: bold;
  color: #43583d;
  text-align: center;
  margin-bottom: 12px;
}

/* Form */
#guestbooks___guestbook-form-container {
  margin-bottom: 25px;
}

.guestbooks___input-container {
  margin-bottom: 16px;
}

.guestbooks___input-container input,
.guestbooks___input-container textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #b99a79;
  border-radius: 3px;
  box-sizing: border-box;
  background: #fffaf1;
  color: #393d2e;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 15px;
  transition: border-color 0.3s;
}

.guestbooks___input-container input:focus,
.guestbooks___input-container textarea:focus {
  border-color: #71805b;
  outline: none;
  box-shadow: 0 0 4px rgba(113, 128, 91, 0.2);
}

.guestbooks___input-container textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit button */
#guestbooks___guestbook-form input[type="submit"] {
  background: #526746;
  color: #fffaf1;
  border: none;
  padding: 11px 24px;
  border-radius: 3px;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#guestbooks___guestbook-form input[type="submit"]:hover {
  background: #a96543;
}

#guestbooks___error-message {
  color: #a34232;
  margin-top: 10px;
}

/* Guestbook attribution */
#guestbooks___guestbook-made-with {
  text-align: right;
  margin-top: 20px;
  color: #77745f;
  font-size: 12px;
}

#guestbooks___guestbook-made-with a {
  text-decoration: none;
  font-weight: bold;
  color: #526746;
}

#guestbooks___guestbook-made-with a:hover {
  text-decoration: underline;
}

/* Messages heading */
#guestbooks___guestbook-messages-header {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 23px;
  font-weight: bold;
  color: #43583d;
  margin-top: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #c9ae8d;
}

/* Messages */
#guestbooks___guestbook-messages-container {
  margin-top: 20px;
  line-height: 1.6;
}

/* Links */
a {
  color: #63764c;
  transition: color 0.3s;
}

a:hover {
  color: #b76d48;
}

small {
  font-size: 11px;
  color: #89816e;
}

/* Replies */
.guestbook-message-reply {
  margin-left: 2.5rem;
  padding-left: 1rem;
  border-left: 3px solid #87946b;
  opacity: 0.95;
}

.guestbook-message-reply blockquote {
  margin: 0;
  padding-left: 0;
  border-left: none;
}

/* Bot deterrent */
.guestbooks___pow-container {
  margin: 0.75em 0;
}

.guestbooks___pow-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  cursor: pointer;
  user-select: none;
  font-size: 0.95em;
}

.guestbooks___pow-checkbox-label input[type="checkbox"] {
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
}

.guestbooks___pow-label-text--loading {
  opacity: 0.7;
}

.guestbooks___pow-label-text--verified {
  color: #526746;
}

.guestbooks___pow-label-text--error {
  color: #a34232;
}

#guestbooks___guestbook-form input[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive styling */
@media (max-width: 750px) {
  .container {
    font-size: 16px;
    padding: 22px;
  }

  h1#title {
    font-size: 26px;
  }
}

@media (max-width: 600px) {
  .container {
    width: 95%;
    max-width: 530px;
    padding: 18px;
    margin: 20px auto;
  }

  .guestbook-message-reply {
    margin-left: 1rem;
  }
}