/* ===========================================
   Freedom4um - Success Page
   Matches site-wide red frame aesthetic
   =========================================== */

body.success-page .content-wrapper {
  display: flex;
  justify-content: flex-start;
  background-color: var(--bg-color);
  width: 100%;
  margin: 0;
  padding: 0;
}

body.success-page main.article-frame {
  background-color: #F9E9C7;        /* parchment cream */
  border: 1px solid #A32D2D;        /* dark red frame */
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  padding: 1.5rem 2rem;

  /* ✅ Reduced top margin for tighter alignment under nav */
  margin-top: 0.25rem;              /* previously 0.5rem */
  margin-left: 40px;                /* align under nav */
  margin-right: 20px;

  width: calc(100% - 80px);
  max-width: 1000px;
  box-sizing: border-box;
  color: var(--text-color);
  font-family: "Times New Roman", Times, serif;
}

body.success-page h2 {
  color: #000;
  font-size: 1.6em;
  margin-top: 0.3rem;               /* slightly tighter spacing */
  margin-bottom: 1rem;
}

body.success-page p {
  font-size: 1.1em;
  line-height: 1.4;
  margin-bottom: 1em;
}

body.success-page .button-row {
  margin-top: 1.5rem;
  text-align: center;
}

/* Reuse general button style from styles.css */
body.success-page .button {
  padding: 8px 18px;
  font-size: 1em;
  font-weight: bold;
  font-family: "Times New Roman", Times, serif;
  color: var(--bg-color);
  background: linear-gradient(to right, #A32D2D, #7D1F1F);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}

body.success-page .button:hover {
  background: linear-gradient(to right, #7D1F1F, #A32D2D);
  color: var(--bg-color);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
