/* ============================================================
   REAL TREE GUY OS — FLYERS / CARDS / DOOR HANGERS STUDIO
   ============================================================ */

body {
  background: #0d0f0d url("../../assets/icons/rtg-192.png")
    center center / 45% no-repeat fixed;
  color: #e8ffe8;
  font-family: 'Inter', sans-serif;
  margin: 0;
  min-height: 100vh;
}

/* HEADER */
.rtg-header {
  text-align: center;
  padding: 40px 20px;
  background: rgba(0,0,0,0.35);
  border-bottom: 2px solid #2e6b33;
  backdrop-filter: blur(10px);
}
.rtg-header h1 {
  font-size: 3rem;
  font-weight: 900;
  color: #caffca;
  text-shadow: 0 0 14px #1f5f2b;
}
.rtg-back {
  display: inline-block;
  margin-top: 10px;
  color: #a8ffb0;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.2rem;
}

/* GRID LAYOUT */
.flyer-shell {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 30px;
  padding: 30px;
  max-width: 1400px;
  margin: auto;
}

/* LEFT PANEL */
.flyer-controls {
  background: rgba(0,0,0,0.35);
  padding: 25px;
  border-radius: 18px;
  border: 2px solid #2e6b33;
  box-shadow: 0 0 18px rgba(0,0,0,0.4);
}
.flyer-controls h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #caffca;
  text-shadow: 0 0 10px #1f5f2b;
}

label {
  font-weight: 700;
  margin-top: 12px;
  display: block;
  color: #d8ffd8;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 2px solid #3f8b44;
  background: rgba(15, 35, 17, 0.9);
  color: #d8ffd8;
  margin-top: 6px;
  box-shadow: inset 0 0 6px rgba(0, 50, 0, 0.4);
  font-size: 1rem;
}
textarea {
  height: 90px;
}

/* MODE TOGGLE */
.mode-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}
.mode-toggle button {
  flex: 1;
  padding: 10px;
  border-radius: 12px;
  border: 2px solid #3f8b44;
  background: rgba(0,0,0,0.25);
  color: #d8ffd8;
  font-weight: 700;
  cursor: pointer;
}
.mode-toggle button.active {
  background: #3f8b44;
  color: #fff;
  box-shadow: 0 0 10px rgba(0,255,0,0.4);
}

/* ROWS */
.row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.row > div {
  flex: 1;
}

/* ACTION BUTTONS */
.actions-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.rtg-btn-green,
.rtg-btn-blue,
.rtg-btn-purple,
.rtg-btn-orange {
  padding: 12px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
}
.rtg-btn-green { background: #2e6b33; }
.rtg-btn-blue { background: #1a4a8c; }
.rtg-btn-purple { background: #6a2e8c; }
.rtg-btn-orange { background: #ff7a00; }

.rtg-btn-green:hover { background: #3fa63f; }
.rtg-btn-blue:hover { background: #2260b8; }
.rtg-btn-purple:hover { background: #8a3cc0; }
.rtg-btn-orange:hover { background: #ff9d42; }

/* RIGHT PANEL */
.flyer-preview {
  background: rgba(0,0,0,0.35);
  padding: 25px;
  border-radius: 18px;
  border: 2px solid #2e6b33;
  box-shadow: 0 0 18px rgba(0,0,0,0.4);
}
.flyer-preview h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #caffca;
  text-shadow: 0 0 10px #1f5f2b;
}

#previewWrapper {
  display: flex;
  justify-content: center;
  padding: 20px;
}

/* PREVIEW BOX */
#preview {
  width: 350px;
  height: 500px;
  background: #fff;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  font-family: 'Montserrat', sans-serif;
}

/* BACKGROUND */
#previewBg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

/* LOGO */
#previewLogo {
  width: 80px;
  height: 80px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  position: absolute;
  top: 20px;
  left: 20px;
  border: 3px solid #4caf50;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* CONTENT */
.preview-content {
  position: absolute;
  top: 120px;
  left: 20px;
  right: 20px;
  color: #111;
}

.flyer-headline {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.flyer-body {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 15px;
}

.flyer-offer {
  font-size: 1.3rem;
  font-weight: 700;
  color: #4caf50;
  margin-bottom: 20px;
}

/* CONTACT */
.flyer-contact {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}
