/* ===== Tukdyadas — Help Page (help.css) ===== */

/* Theme */
:root {
  --cream: #FCF7ED;
  --cream-2: #FFF8EE;
  --ink: #4B2E10;
  --muted: #6b5a3a;
  --border: #E8DDC9;
  --accent: #800020;
  /* maroon */
  --accent-2: #A3002A;
  /* hover */
  --shadow: 0 6px 20px rgba(0, 0, 0, .06);
}

/* Page wrapper */
/* Page background + type */
.help-page {
  background: linear-gradient(135deg, #F4E4C1, #FAF3E0);
  color: #4B2E10;
}

/* Main wrapper */
.help-wrap {
  max-width: 800px;
  margin: 20px auto;
}

/* Hero */
.help-hero {
  height: 150px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;

}

.help-hero h1 {
  margin: 0 0 4px;
  width: 100%;
  text-align: center;
  font-size: clamp(22px, 2.4vw, 32px);
}

.help-hero p {
  width: 100%;
  margin: 0 auto;
  max-width: 700px;
  font-size: clamp(14px, 1.8vw, 16px);
}

/* Cards */
.card {
  background: #FAF7EF;
  border: 1px solid #E8DDC9;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.card h2 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2vw, 22px);
}

.muted {
  color: #6B5A3A;
  font-size: 14px;
}

/* Grid: 2 cols desktop → 1 col mobile */
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width:900px) {
  .help-grid {
    grid-template-columns: 1fr;
  }
}

/* QR */
.qr {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px dashed #D4C7A8;
  border-radius: 12px;
  padding: 16px;
}

.qr img {
  width: 100%;
  max-width: 240px;
  height: auto;
}

/* UPI line + CTA */
.upi-line {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.tag {
  background: #EAD9B9;
  color: #432;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 13px;
}

.upi-id {
  font-weight: 700;
}

.pill {
  display: inline-block;
  background: #800020;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(128, 0, 32, .18);
  transition: transform .15s ease, background-color .15s ease;
}

/* QR card */
.help-card {
  background: #FAF3E0;
  border: 1px solid #E8DDC9;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  margin-bottom: 20px
}


.help-title {
  margin: 0 0 8px;
  font-size: 22px;
  color: #4B2E10;
  text-align: center
}

.help-muted {
  color: #6b5a3a;
  font-size: 14px;
  margin: 0 0 14px;
  text-align: center
}

/* Scanner look */
.scanner-box {
  background: #fff;
  border: 2px dashed #D4C7A8;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  justify-content: center;
  align-items: center
}

.scanner-inner {
  background: linear-gradient(135deg, #F4E4C1, #FAF3E0);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08)
}

.qr-canvas {
  width: 220px;
  height: 220px
}

/* UPI line + button */
.upi-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap
}

.tag {
  background: #EBD8B8;
  color: #4B2E10;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px
}

.upi-id {
  color: #4B2E10;
  letter-spacing: .3px
}

.pill {
  display: inline-block;
  background: #800020;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .08s ease, filter .15s ease
}

.pill:hover {
  filter: brightness(1.06);
  transform: translateY(-1px)
}

.center {
  text-align: center
}

.mt12 {
  margin-top: 12px
}

@media (max-width:768px) {
  .qr-canvas {
    width: 200px;
    height: 200px
  }
}

.pill:hover {
  background: #6b001a;
  transform: translateY(-1px);
}

.mt12 {
  margin-top: 12px;
}

.mt24 {
  margin-top: 24px;
}

/* Costs table */
.costs table {
  width: 100%;
  border-collapse: collapse;
}

.costs th,
.costs td {
  padding: 10px;
  border-bottom: 1px solid #EADFCA;
  text-align: left;
}

.costs thead th {
  background: #F2E6D2;
}

.costs tfoot td {
  font-weight: 700;
}

/* Ensure footer/header stay centered and no overflow */
.site-header,
.site-footer {
  width: 100%;
}

.site-header>.container,
.site-footer>.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 16px;
}

.qr-img {
  display: block;
  width: 220px;
  height: 220px;
}

@media (max-width:768px) {
  .qr-img {
    width: 200px;
    height: 200px;
  }
}