﻿.background-container {
  background: url("/images/Screen1/BackgroundNew.png") no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.background-container2 {
  background: url("/images/bg.png") no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* layout of each row: image label (auto) + control (flex) */
.row-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 14px;
  margin-bottom: 16px;
}

/* the label image */
.img-label {
  line-height: 0;
}

.img-label img {
  height: 28px; /* tweak to match your artwork */
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
  user-select: none;
}

/* existing input styles from earlier answer (keep or tweak) */
.fancy-input,
.fancy-select {
  width: 100%;
  height: 44px;
  border: none;
  outline: none;
  border-radius: 14px;
  padding: 8px 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  font-size: 18px;
}

.fancy-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><path d='M5 7l5 6 5-6' fill='none' stroke='%232b5fae' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
  padding-right: 42px;
}

.confirm-btn {
  border: none;
  border-radius: 10px;
  padding: 8px 18px;
  background: #fff;
  color: #2b5fae;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

/* responsive */
@media (max-width: 520px) {
  .row-item {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }
  .img-label img {
    height: 24px;
  }
}
.floating-back {
  position: absolute;
  top: 20px;
  left: 20px;
  border: none;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  background-color: transparent;
}

.floating-back img {
  width: 80px;
  height: auto;
}

@font-face {
  font-family: "Childhood";
  src: url("/fonts/childhood.woff2") format("woff2"), url("/fonts/childhood.woff") format("woff"), url("/fonts/childhood.otf") format("opentype"); /* fallback */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.label-childhood {
  font-family: "Childhood", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
}

/* make the native checkbox tick green */
#consentChk {
  accent-color: #22c55e; /* a nice green */
  width: 18px;
  height: 18px;
}
