/* Adapted to match blog theme — iframe-friendly version */

/* --- Reset para eliminar el “marco blanco” del iframe --- */
html,
body {
  margin: 0;
  padding: 0;
  background: #141214;
  color: #d7d2d8;
  font-size: 18px;
  font-family: "Alice", serif;
}

/* --- Contenedor principal ahora se comporta como componente embebido --- */
.container {
  margin: 0;
  width: 100%;
  max-width: 900px;
  border: none;
  border-radius: 0;
  background: #262226;
  padding: 25px;
  box-sizing: border-box;
}

/* --- Title --- */
h1#title {
  font-size: 24px;
  font-family: "Alice", serif;
  color: #f2eef3;
  text-align: center;
  margin: 0 0 20px 0;
}

/* --- Form spacing --- */
#guestbooks___guestbook-form-container {
  margin-bottom: 20px;
}

.guestbooks___input-container {
  margin-bottom: 15px;
}

/* --- Inputs --- */
.guestbooks___input-container input,
.guestbooks___input-container textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #6e5a66;
  border-radius: 3px;
  box-sizing: border-box;
  background: #141214;
  color: #f2eef3;
  font-family: "Alice", serif;
}

/* Focus glow */
.guestbooks___input-container input:focus,
.guestbooks___input-container textarea:focus {
  outline: none;
  border-color: #ff4f8b;
  box-shadow: 0 0 0 1px #ff4f8b;
}

/* --- Submit button --- */
#guestbooks___guestbook-form input[type="submit"] {
  background: #ff4f8b;
  color: #141214;
  border: none;
  padding: 10px 20px;
  border-radius: 3px;
  cursor: pointer;
  font-family: "Alice", serif;
  transition: background 0.2s ease, color 0.2s ease;
}

#guestbooks___guestbook-form input[type="submit"]:hover {
  background: #9a3b6e;
  color: #f2eef3;
}

/* --- Error message --- */
#guestbooks___error-message {
  color: #ff6b9c;
  margin-top: 10px;
}

/* --- Footer note --- */
#guestbooks___guestbook-made-with {
  text-align: right;
  margin-top: 20px;
}

#guestbooks___guestbook-made-with small {
  color: #9a8f97;
}

#guestbooks___guestbook-made-with a {
  color: #ff4f8b;
  text-decoration: none;
  font-family: "Alice", serif;
  font-weight: bold;
}

#guestbooks___guestbook-made-with a:hover {
  text-decoration: underline;
}

/* --- Messages header --- */
#guestbooks___guestbook-messages-header {
  font-size: 18px;
  color: #f2eef3;
  margin-top: 20px;
}

/* --- Messages container --- */
#guestbooks___guestbook-messages-container {
  margin-top: 20px;
}

/* Individual message styling */
#guestbooks___guestbook-messages-container > div {
  border-left: 2px solid #6e5a66;
  padding-left: 12px;
  margin-bottom: 18px;
}

/* --- Links forced to theme colors --- */
#guestbooks___guestbook-container a,
#guestbooks___guestbook-container a:link {
  color: #ff4f8b;
  text-decoration: underline;
}

#guestbooks___guestbook-container a:visited {
  color: #9a3b6e;
}

#guestbooks___guestbook-container a:hover {
  color: #ff79a6;
}

#guestbooks___guestbook-container a:active {
  color: #ff4f8b;
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .container {
    padding: 18px;
  }
}