/* Kanvartfuly voucher request form */

/* Voucher Hero Section */
.kf-voucher-hero {
  background: linear-gradient(135deg, #01726f 0%, #024c4a 100%);
  padding: 60px 40px;
  margin-bottom: 48px;
}

.kf-voucher-hero .container {
  text-align: center;
}

.kf-voucher-hero .section-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fcc12b;
  margin-bottom: 10px;
}

.kf-voucher-hero h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.1;
}

.kf-voucher-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Two-column section */
.kf-voucher-section {
  margin-bottom: 60px;
}

.kf-voucher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

/* Voucher form */
.kf-vform {
  --teal: #01726f;
  --coral: #e02045;
  --mint: #3cd3c4;
  --cream: #fdf8ef;
  font-family: "Montserrat", sans-serif;
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(1, 114, 111, 0.1);
}
.kf-vform-grid {
  display: flex;
  flex-direction: column;
}
.kf-vform-title {
  margin: 0 0 6px;
  color: #01726f;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.3px;
}
.kf-vform-subtitle {
  margin: 0 0 22px;
  color: #5a6a6a;
  font-size: 14px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
}
.kf-vlabel {
  font-size: 12px;
  font-weight: 700;
  color: #024c4a;
  margin: 14px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.kf-vlabel:first-child {
  margin-top: 0;
}
.kf-vamounts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.kf-vamount input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.kf-vamount span {
  display: block;
  text-align: center;
  padding: 16px 12px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition:
    transform 0.08s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.kf-vamount span:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Brand-color variants */
.kf-vamount--teal span {
  background: #01726f;
}
.kf-vamount--coral span {
  background: #e02045;
}
.kf-vamount--yellow span {
  background: #fcc12b;
  color: #fff;
}
.kf-vamount--pink span {
  background: #ff7d96;
}
.kf-vamount--mint span {
  background: #3cd3c4;
}

/* Selected state: dark ring + slight lift */
.kf-vamount input:checked + span {
  border-color: #024c4a;
  box-shadow:
    0 0 0 3px rgba(2, 76, 74, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.12);
}
/* Keyboard focus ring for accessibility */
.kf-vamount input:focus-visible + span {
  outline: 3px solid #fcc12b;
  outline-offset: 3px;
}
.kf-vfield {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid #d7e2e1;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
  background: #fff;
}
.kf-vfield:focus {
  outline: none;
  border-color: var(--mint);
}
.kf-vother {
  margin-top: 10px;
}
.kf-vhoney {
  position: absolute !important;
  left: -9999px !important;
  height: 0;
  width: 0;
  opacity: 0;
}
.kf-vnote {
  font-size: 12px;
  color: #5a6a6a;
  line-height: 1.6;
  margin: 18px 0 14px;
}
.kf-vsubmit {
  background: var(--coral);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.kf-vsubmit:disabled {
  background: #9bb3b2;
  cursor: wait;
}
.kf-vmsg {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.kf-vmsg.is-error {
  color: var(--coral);
}
.kf-vmsg.is-ok {
  color: var(--teal);
}

/* ---------------------------------------------------------------------
 * How It Works (right column)
 * ------------------------------------------------------------------- */
.kf-voucher-howitworks {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 10px 30px rgba(1, 114, 111, 0.1);
  font-family: "Montserrat", sans-serif;
}
.kf-vhow-title {
  margin: 0 0 28px;
  text-align: center;
  color: #01726f;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.2px;
}
.kf-vhow-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.kf-vhow-step {
  text-align: center;
}
.kf-vhow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
}
.kf-vhow-num--coral {
  background: #e02045;
}
.kf-vhow-num--yellow {
  background: #fcc12b;
  color: #01726f;
}
.kf-vhow-num--teal {
  background: #01726f;
  color: #3cd3c4;
}
.kf-vhow-step-title {
  margin: 0 0 8px;
  color: #01726f;
  font-size: 17px;
  font-weight: 800;
}
.kf-vhow-step-text {
  margin: 0;
  color: #5a6a6a;
  font-size: 13px;
  line-height: 1.55;
}

/* ---------------------------------------------------------------------
 * Sneak-peek modal — voucher card that mirrors the downloadable PDF
 * ------------------------------------------------------------------- */
.kf-vpreview2 {
  position: relative;
  background: #fcc12b;
  padding: 6px 6px 6px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  font-family: "Montserrat", sans-serif;
}
.kf-vpreview2-stripe {
  height: 6px;
  background: #fcc12b;
  margin: -6px -6px 0 -6px;
}
.kf-vpreview2-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: #e02045;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 5px 11px;
  border-radius: 999px;
}
.kf-vpreview2-card {
  background: #fff;
  border-radius: 8px;
  padding: 18px 18px 16px;
  text-align: center;
}
.kf-vpreview2-logo {
  display: block;
  margin: 6px auto 8px;
  max-height: 34px;
  height: auto;
  width: auto;
}
.kf-vpreview2-code {
  text-align: left;
  color: #e02045;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin: 0 0 6px;
}
.kf-vpreview2-dash {
  height: 0;
  border-top: 1px dashed #cfd6d5;
  margin: 6px 0;
}
.kf-vpreview2-title {
  margin: 8px 0 2px;
  color: #01726f;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}
.kf-vpreview2-sub {
  margin: 0 0 10px;
  color: #212529;
  font-size: 11px;
  font-weight: 600;
}
.kf-vpreview2-pill {
  display: inline-block;
  background: #01726f;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  padding: 8px 24px;
  border-radius: 999px;
  min-width: 90px;
}
.kf-vpreview2-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 6px 0;
}
.kf-vpreview2-col {
  padding: 6px 4px;
}
.kf-vpreview2-lbl {
  font-size: 9px;
  font-weight: 700;
  color: #6c757d;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}
.kf-vpreview2-val {
  font-size: 12px;
  font-weight: 600;
  color: #212529;
  word-break: break-word;
}
.kf-vpreview2-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  text-align: left;
  padding: 4px 4px 0;
}
.kf-vpreview2-qr {
  flex: 0 0 auto;
  background: #fcc12b;
  padding: 4px;
  border-radius: 4px;
}
.kf-vpreview2-qr img {
  display: block;
  width: 64px;
  height: 64px;
  background: #fff;
  padding: 3px;
  border-radius: 2px;
  box-sizing: border-box;
}
.kf-vpreview2-follow {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.kf-vpreview2-follow-lbl {
  font-size: 10px;
  font-weight: 800;
  color: #01726f;
  letter-spacing: 1.2px;
}
.kf-vpreview2-handle {
  font-size: 15px;
  font-weight: 800;
  color: #e02045;
}
.kf-vpreview2-follow-cap {
  font-size: 9px;
  color: #6c757d;
}

/* Preview modal */
.kf-vmodal {
  position: fixed;
  inset: 0;
  background: rgba(1, 46, 45, 0.55);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: "Montserrat", sans-serif;
}
.kf-vmodal[hidden] {
  display: none;
}
.kf-vmodal-box {
  background: #fff;
  border-radius: 22px;
  padding: 26px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  max-height: 92vh;
  overflow: auto;
}
.kf-vmodal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #01726f;
}
.kf-vmodal-title {
  margin: 0 0 16px;
  font-weight: 800;
  color: #01726f;
  font-size: 18px;
}
.kf-vmodal-warn {
  font-size: 12px;
  color: #5a6a6a;
  line-height: 1.6;
  margin: 16px 0 18px;
}
.kf-vmodal-actions {
  display: flex;
  gap: 10px;
}
.kf-vmodal-edit {
  flex: 1;
  background: #fff;
  color: #01726f;
  border: 2px solid #d7e2e1;
  cursor: pointer;
  padding: 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}
.kf-vmodal-confirm {
  flex: 2;
  background: #e02045;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

/* Responsive */
/* =========================================================
   RESPONSIVE VOUCHER LAYOUT
   ========================================================= */

@media (max-width: 1024px) {
  .kf-voucher-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  /* Show the 1–2–3 instructions before the form */
  .kf-voucher-howitworks {
    order: 1;
    width: 100%;
  }

  .kf-vform {
    order: 2;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .kf-voucher-hero {
    padding: 38px 20px;
    margin-bottom: 28px;
  }

  .kf-voucher-hero h1 {
    font-size: 32px;
    line-height: 1.15;
  }

  .kf-voucher-hero p {
    font-size: 14px;
  }

  .kf-voucher-section {
    margin-bottom: 40px;
  }

  .kf-voucher-grid {
    gap: 22px;
  }

  .kf-vform,
  .kf-voucher-howitworks {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .kf-vhow-title {
    margin-bottom: 18px;
    font-size: 24px;
  }

  /*
	 * Mobile swipe carousel for steps 1, 2 and 3
	 */
  .kf-vhow-steps {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    margin: 0;
    padding: 0 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #01726f #eef4f3;
  }

  .kf-vhow-step {
    flex: 0 0 calc(86% - 8px);
    min-width: 240px;
    padding: 22px 18px;
    border: 1px solid #e1ebea;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(1, 114, 111, 0.08);
    scroll-snap-align: center;
    text-align: center;
  }

  .kf-vhow-num {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
    font-size: 20px;
  }

  .kf-vhow-step-title {
    margin-bottom: 7px;
    font-size: 17px;
  }

  .kf-vhow-step-text {
    max-width: 250px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.55;
  }

  /* Small scrollbar beneath the carousel */
  .kf-vhow-steps::-webkit-scrollbar {
    height: 5px;
  }

  .kf-vhow-steps::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #eef4f3;
  }

  .kf-vhow-steps::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #01726f;
  }

  .kf-vform-title {
    font-size: 25px;
  }

  .kf-vform-subtitle {
    font-size: 13px;
  }

  .kf-vamount span {
    padding: 14px 10px;
    font-size: 17px;
  }

  .kf-vfield {
    font-size: 16px;
  }

  .kf-vsubmit {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .kf-voucher-hero {
    padding: 32px 16px;
  }

  .kf-voucher-hero h1 {
    font-size: 28px;
  }

  .kf-vform,
  .kf-voucher-howitworks {
    padding: 20px 16px;
  }

  .kf-vhow-step {
    flex-basis: 88%;
    min-width: 225px;
  }

  .kf-vamounts {
    gap: 8px;
  }

  .kf-vamount span {
    padding: 13px 8px;
  }

  .kf-vmodal {
    padding: 12px;
  }

  .kf-vmodal-box {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .kf-vmodal-actions {
    flex-direction: column;
  }

  .kf-vmodal-edit,
  .kf-vmodal-confirm {
    width: 100%;
    flex: none;
  }
}
.kf-vmodal-confirm:disabled {
  background: #9bb3b2;
  cursor: wait;
}
