/* ═══════════════════════════════════════════════════════════════
   junkmail.css — Junkyard Animations
   "Contact the Creator" form, yellow notepad aesthetic.
   ═══════════════════════════════════════════════════════════════ */

.jm-page {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
  position: relative;
}

/* ── Vaping kid mascot in top-right corner ────────────────── */
.jm-mascot {
  position: absolute;
  top: -20px;
  right: 30px;
  width: 130px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

/* ── The yellow notepad ────────────────────────────────────── */
.jm-pad {
  background: #f5d020;
  border: 4px solid #1a3a7a;
  border-radius: 6px;
  padding: 32px 36px;
  position: relative;
  box-shadow: 0 4px 0 #0a1535, 0 8px 24px rgba(0, 0, 0, 0.4);
  font-family: 'Boogaloo', sans-serif;
}

/* ── Material Symbols base styling ─────────────────────────── */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 700, 'GRAD' 0, 'opsz' 24;
  color: #0a1535;
  user-select: none;
}

/* ── Title row with envelope icon ──────────────────────────── */
.jm-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.jm-title-icon {
  font-size: 48px !important;
  color: #0a1535;
}
.jm-title {
  font-family: 'Lilita One', cursive;
  font-size: 32px;
  color: #0a1535;
  margin: 0;
  letter-spacing: 1px;
}
.jm-title-underline {
  height: 2px;
  background: #0a1535;
  width: 80%;
  margin-bottom: 24px;
  margin-left: 50px;
}

/* ── Success / error banners ───────────────────────────────── */
.jm-success {
  background: #d4f5b0;
  border: 2px solid #1a5a1a;
  color: #0a3a0a;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 18px;
  font-size: 16px;
}
.jm-errors {
  background: #fce0e0;
  border: 2px solid #aa2222;
  color: #6a0a0a;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.5;
}
.jm-errors div { padding: 2px 0; }

/* ── Field rows: icon + label + input ──────────────────────── */
.jm-field {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.jm-icon {
  font-size: 40px !important;
  width: 48px;
  flex-shrink: 0;
  text-align: center;
  padding-top: 4px;
  color: #0a1535;
  line-height: 1;
}
.jm-field-content { flex: 1; }
.jm-label {
  display: block;
  font-family: 'Boogaloo', sans-serif;
  font-size: 22px;
  color: #0a1535;
  margin-bottom: 8px;
  font-weight: bold;
  letter-spacing: 0.3px;
}

/* ── Inputs and textareas ──────────────────────────────────── */
.jm-textarea, .jm-input {
  width: 100%;
  background: #fefefe;
  border: 2px solid #0a1535;
  border-radius: 3px;
  padding: 12px 14px;
  font-family: 'Boogaloo', sans-serif;
  font-size: 18px;
  color: #0a1535;
  box-sizing: border-box;
  box-shadow: inset 0 2px 0 rgba(0,0,0,0.05);
}
.jm-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}
.jm-input {
  height: 48px;
}
.jm-textarea:focus, .jm-input:focus {
  outline: none;
  border-color: #2a5aaa;
  box-shadow: 0 0 0 3px rgba(42, 90, 170, 0.25);
}

/* ── Send button ───────────────────────────────────────────── */
.jm-submit-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.jm-send-btn {
  background: #0a1535;
  border: 3px solid #1a3a7a;
  color: #f5d020;
  font-family: 'Lilita One', cursive;
  font-size: 22px;
  padding: 12px 42px;
  cursor: pointer;
  border-radius: 4px;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.1s, background 0.15s;
  box-shadow: 0 3px 0 #050a1f;
}
.jm-send-btn:hover {
  background: #1a3a7a;
}
.jm-send-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #050a1f;
}
.jm-send-icon {
  font-size: 28px !important;
  color: #f5d020;
}

/* ── Crumpled paper balls below the notepad ───────────────── */
.jm-paperballs {
  display: block;
  width: 100%;
  margin: 30px 0 10px;
  height: auto;
  pointer-events: none;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 700px) {
  .jm-mascot { width: 90px; right: 10px; top: -10px; }
  .jm-pad { padding: 24px 20px; }
  .jm-title { font-size: 24px; }
  .jm-title-underline { margin-left: 35px; }
  .jm-field { gap: 10px; }
  .jm-icon { font-size: 26px; width: 32px; }
}
