/* =======================================================
   HEADER
======================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #101010;   /* dark header */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  box-sizing: border-box;
  border-bottom: 1px solid #222; /* subtle separation */
}
.header-img-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}
.img-header {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto;
}

/* =======================================================
   CITY & CATEGORY SEARCH
======================================================= */
.cityDropdown {
  position: absolute;
  bottom: 8px;
  left: 10px;
  z-index: 10;
  padding: 6px 8px;
  font-size: 16px;
  width: 250px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.search-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
}
.keywordInput {
  width: 475px;
  font-size: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.search-row button {
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  background: #f4b400;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.search-row button:hover {
  background: #e09500;
  transform: translateY(-1px);
}
.hidden {
  display: none;
}

p {
    color: black;
}

@media (max-width: 650px) {
  .cityDropdown { width: 200px; bottom: 1px; padding: 3px 4px; }
  .search-row { margin-top: 20px; }
}

/* =======================================================
   FORMS & INPUTS
======================================================= */
form input,
form select {
  padding: 8px;
  width: 300px;
  margin: 6px auto;
  display: block;
  border-radius: 4px;
  border: 1px solid #ccc;
}
button {
  padding: 10px 20px;
  background: #007BFF;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}
button:hover {
  background: #0056b3;
}

/* Icon inputs */
.input-with-icon {
  position: relative;
  margin-bottom: 15px;
}
.input-with-icon i {
  position: absolute;
  top: 50%;
  left: 35px;
  transform: translateY(-50%);
  color: #555;
}
.input-with-icon input {
  width: 400px;
  padding: 10px 10px 10px 35px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* =======================================================
   FORM BOXES
======================================================= */
.form-box,
.form-box-top,
.form-box-branding {
  margin: 30px auto;
  max-width: 500px;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  background: #fff;
  padding: 15px;
}
@media (max-width: 720px) {
  .form-box { margin-top: 20px; }
}

/* =======================================================
   BULLET FEATURES
======================================================= */
ul.bullet {
  list-style: none;
  margin: 0;
  padding: 0;
}
.orange, .rightmark {
  background-repeat: no-repeat;
  background-position: left top;
  text-align: left;
  padding: 5px 0 11px 40px;
  list-style: none;
}
.orange {
  background-image: url(https://inprint.co.za/mymobi/img/32x32-orange.png);
}
.rightmark {
  background-image: url(https://inprint.co.za/mymobi/img/32x32-rightmark.png);
}

li {
  background: url(https://inprint.co.za/mymobi/img/32x32-white.png) no-repeat left top;
  text-align: left;
  padding: 7px 0 10px 40px;
  list-style: none;
  margin-left: 17px;
  color: black;
}

/* Two-column feature section */
.feature-split {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.feature-split .bullet {
  flex: 1 1 auto;
  padding-left: 1.2rem;
}
.feature-split .iphone-add {
  flex: 0 0 180px;
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
  margin-top: -15px;
}
@media (max-width: 720px) {
  .feature-split {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-split .iphone-add {
    align-self: center;
  }
}
.iphone-add {
  width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* =======================================================
   QR CODE GRID
======================================================= */
.qr-card {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1250px;
  margin: 20px auto;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 12px;
  background: #f0f0f0;
  justify-content: center;
}
.qr-block {
  width: 230px;
  text-align: center;
  margin: 5px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  background: #fff;
  border-radius: 8px;
  padding-bottom: 8px;
}
.qr-container {
  width: 155px;
  margin: 10px auto;
}
.qr-container img {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  display: block;
}
.qr-label {
  font-weight: bold;
  color: #333;
  margin: 0.2em 0;
}
.download-btn {
  color: #007BFF;
  text-decoration: none;
  font-size: 14px;
}

/* =======================================================
   UPLOAD OVERLAY
======================================================= */
#upload-gif-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: none;
  pointer-events: none;
}
#upload-gif-overlay.show {
  display: block;
}
.qr-upload-gif {
  width: 100px;
  height: 100px;
  max-width: 90vw;
  max-height: 90vw;
}

/* =======================================================
   MISCELLANEOUS
======================================================= */
h2 {
  color: #d63031;
  margin-top: 10px;
}
img {
  width: 100%;
  margin-bottom: 5px;
}
.error-box {
  max-width: 480px;
  margin: 70px auto;
  padding: 10px 14px;
  border: 1px solid #f5c2c7;
  background: #f8d7da;
  color: #842029;
  border-radius: 6px;
  font-size: 18px;
  text-align: center;
}

.cityDropdown:focus {
  border-color: #f4b400;
  box-shadow: 0 0 6px rgba(244,180,0,0.3);
}

/* =======================================================
   FIX CITY DROPDOWN IN FORM
======================================================= */
form .cityDropdown {
  position: static;          /* removes absolute positioning */
  display: block;            /* centers with margin auto */
  margin: 10px auto;         /* center horizontally */
  width: 300px;              /* same as other inputs */
  max-width: 100%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  left: auto;
  bottom: auto;
}

/* ============================================
   GLOBAL RED-NEON THEME FOR INPRINT
============================================ */

/* ---------- COLOR SYSTEM ---------- */
:root {
    --bg-dark: #05060a;
    --bg-light: #0f1118;

    --accent: #ff0000;
    --accent-soft: #ff1a1a;

    --text: #f5f5f5;
    --muted: #b6b6c7;
    --card: #171924;
}

/* ---------- RESET ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #400000 0, #05060a 45%, #000 100%);
    color: var(--text);
    line-height: 1.5;
}

/* ---------- GLOBAL LAYOUT ---------- */
.page { max-width: 1200px; margin: 0 auto; padding: 10px 16px 64px; }

/* ---------- LINKS ---------- */
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-soft); }

/* ============================================
   HEADER
============================================ */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.logo img {
    height: 80px; 
    margin-left: 10px;
}

nav a {
    margin-right: 10px;
    font-size: 0.9rem;
    color: var(--muted);
}
nav a:hover { color: var(--accent-soft); }
