/* ===== GoodFics76 Comments ===== */

.gf-comments-ui {
  background: #fbf7f0;
  color: #1f1f24;
}

.gf-comments-inner {
  max-width: 1320px;
}

.gf-comments-title,
.gf-account-title {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
}

.gf-comments-title {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0 0 2.2rem;
}

.gf-comments-panel,
.gf-account-card {
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.22);
}

.gf-comments-panel {
  padding: clamp(1.4rem, 3vw, 2rem);
}

.gf-comments-username {
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

.gf-comments-listbox,
.gf-textarea-wrap {
  border: 18px solid #d9d9d9;
  border-radius: 18px;
  background: #ffffff;
}

.gf-comments-listbox {
  min-height: 360px;
  max-height: 520px;
  overflow-y: auto;
}

.gf-comments-empty {
  margin: 0;
  padding: 1.2rem;
  font-family: "Merriweather", Georgia, serif;
  color: #333333;
}

.gf-comment-item {
  padding: 1rem;
  border-bottom: 4px solid #d9d9d9;
}

.gf-comment-item:last-child {
  border-bottom: 0;
}

.gf-comment-header {
  display: grid;
  gap: 0.35rem;
}

.gf-comment-author {
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 400;
  color: #000000;
}

.gf-comment-date {
  font-family: "Merriweather", Georgia, serif;
  font-size: 0.92rem;
  color: #000000;
}

.gf-comment-message {
  margin: 1.4rem 0 0;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #000000;
}

.gf-comments-board-actions {
  display: flex;
  justify-content: center;
  margin-top: 0.45rem;
}

.gf-compose-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 0.9rem;
}

.gf-anon-check {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  color: #000000;
  cursor: pointer;
  user-select: none;
}

.gf-anon-check input {
  width: 40px;
  height: 40px;
  appearance: none;
  border: 5px solid #000000;
  border-radius: 9px;
  background: #ffffff;
  cursor: pointer;
}

.gf-anon-check input:checked {
  background: linear-gradient(135deg, #ff7a1a 0 45%, #ffffff 45% 55%, #ff7a1a 55% 100%);
}

.gf-account-link {
  display: inline-block;
  margin-top: -0.4rem;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.9rem;
  color: #d95c00;
  text-decoration: none;
}

.gf-account-link:hover {
  text-decoration: underline;
}

.gf-textarea-wrap {
  position: relative;
  min-height: 370px;
  overflow: hidden;
}

.gf-textarea-wrap textarea {
  display: block;
  width: 100%;
  min-height: 370px;
  padding: 1rem 1.2rem 3.2rem;
  border: 0;
  resize: vertical;
  outline: none;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #000000;
  background: #ffffff;
}

.gf-comment-counter {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: #000000;
  pointer-events: none;
}

.gf-compose-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.45rem;
  padding-inline: 0.6rem;
}

.gf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 62px;
  padding: 0.6rem 1.8rem;
  border: 5px solid #000000;
  border-radius: 999px;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease, box-shadow 0.12s ease;
}

.gf-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.gf-btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.gf-btn--orange {
  border-color: #ff741a;
  background: #ff741a;
  color: #ffffff;
}

.gf-btn--white {
  background: #ffffff;
  color: #000000;
}

.gf-btn--two-lines {
  min-width: 194px;
}

.gf-comments-status {
  min-height: 1.3rem;
  margin: 0.7rem 0 0;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.95rem;
  color: #8d3500;
}

/* ===== Página makeaccound.php ===== */

.gf-account-page,
.gf-account-page * {
  box-sizing: border-box;
}

.gf-account-page {
  margin: 0;
  min-height: 100vh;
  background: #fbf7f0;
  color: #000000;
  font-family: "Poppins", Arial, sans-serif;
}

.gf-account-main {
  min-height: 100vh;
  padding: clamp(2.4rem, 7vw, 5rem) clamp(1.2rem, 3vw, 2.4rem);
}

.gf-account-title {
  margin: 0 0 clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.gf-account-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 1290px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.gf-account-info {
  max-width: 610px;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  text-align: justify;
}

.gf-account-info p {
  margin: 0;
}

.gf-account-info p + p {
  margin-top: 1.6rem;
}

.gf-account-form {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}

.gf-account-label {
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 700;
}

.gf-account-input {
  width: min(100%, 415px);
  height: 72px;
  border: 7px solid #000000;
  border-radius: 20px;
  padding: 0.6rem 1rem;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.3rem;
  outline: none;
  color: #000000;
  background: #ffffff;
}

.gf-account-input:focus,
.gf-textarea-wrap textarea:focus {
  box-shadow: 0 0 0 4px rgba(255, 116, 26, 0.22);
}

.gf-account-help {
  max-width: 415px;
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #5a5a5a;
  text-align: center;
}

.gf-account-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-top: clamp(1.5rem, 5vw, 4.5rem);
}

.gf-account-cancel {
  min-width: 145px;
  min-height: 56px;
}

@media (max-width: 900px) {
  .gf-compose-topline,
  .gf-compose-actions,
  .gf-account-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gf-anon-check {
    align-self: flex-start;
  }

  .gf-btn {
    width: 100%;
  }

  .gf-account-card {
    grid-template-columns: 1fr;
  }

  .gf-account-info {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .gf-comments-panel,
  .gf-account-card {
    border-radius: 24px;
  }

  .gf-comments-listbox,
  .gf-textarea-wrap {
    border-width: 12px;
  }

  .gf-comments-listbox,
  .gf-textarea-wrap,
  .gf-textarea-wrap textarea {
    min-height: 300px;
  }

  .gf-anon-check input {
    width: 34px;
    height: 34px;
  }

  .gf-account-input {
    height: 62px;
    border-width: 5px;
  }
}
