body {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  margin: 0;
  /* background: #f7f8fa; */
  /* background: linear-gradient(135deg, rgba(155, 10, 176, 0.82) 0%, rgba(64, 152, 229, 0.82) 50%, rgba(16, 22, 109, 0.82) 100%), url(img/background.jpg) center right no-repeat; */
  /* background-size: cover; */
  background-attachment: fixed;
  color: #1e2430;

  background: rgb(183,34,250);
  background: -moz-linear-gradient(223deg, rgba(183,34,250,0.5) 0%, rgba(90,9,129,0.85) 46%, rgba(46,0,72,0.5) 100%),url("img/back.jpg") 100% 100% no-repeat;
  background: -webkit-linear-gradient(223deg, rgba(183,34,250,0.5) 0%, rgba(90,9,129,0.85) 46%, rgba(46,0,72,0.5) 100%),url("img/back.jpg") 100% 100% no-repeat;
  background: linear-gradient(223deg, rgba(183,34,250,0.5) 0%, rgba(90,9,129,0.85) 46%, rgba(46,0,72,0.5) 100%),url("img/back.jpg") 100% 100% no-repeat;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b722fa",endColorstr="#2e0048",GradientType=1);
  background-size: cover;
}

.container {
  max-width: 720px;
  margin: 2rem auto 0;
  /* background: #fff; */
  /* border-radius: 10px; */
  padding: 3rem 1.5rem;
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06); */
}

header {
  background:#fff;
  padding:10px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border-top:6px solid #d92231;
}

/* header as a tab */
/* header {
  max-width:200px;
  border-radius:0 0px 10px 10px;
  margin:0 auto;
} */
/* header as a tab */
header * {
 display:block !important;
 margin:6px auto !important;
}

.landing-page {
  max-width: 1120px;
}

.main-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.main-split-thankyou {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 1.5rem;
  align-items: start;
}

.main-split-thankyou .main-copy img {
  max-width:500px;
  width:40%;
  border-radius:50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border:3px solid #fff;
  margin-right:10px;
}

.main-split-thankyou .main-copy img:hover {
  box-shadow: 0 8px 35px rgba(0, 0, 0, 1);
}

.main-copy {
  padding: 0.5rem 0.5rem 0.5rem 0;
}

.intro,
.intro-secondary,
.intro-smallprint {
  font-size:1.2em;
  line-height:1.4em;
  margin-left:5px;
  text-shadow: 2px 2px 10px rgba(10,10,10,0.2);
}

.intro-smallprint {
  font-size:0.9em;
  color: #fff;
}
.intro-smallprint a {
  color:#fff;
}

.main-form {
  background: #ffffff;
  /* border: 3px solid transparent; */
  /* border-radius: 12px; */
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.main-image {

}

.intro-secondary {
  margin-top: 0;
  margin-bottom: 0;
  color: #f5f5f5;
}

footer .container {
  max-width:70%;
  background: none;
  border-radius: 0px;
  box-shadow: none;
}

footer {
  font-size:0.8em;
  line-height: 1.4em;
  background-color:#fff;
  text-align: center;
  /* text-wrap: balance; */
  margin:80px 0 0;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.4);
}

footer a {
  
}

footer .logos {  display: flex;
  justify-content: center;
  align-items: center;
}

footer .logos #dataseal {
  max-width:70px;
  margin:10px;
}
footer .logos #yourdatamatters {
  max-width:110px;
  margin:10px;
}

h1 {
  margin-top: 0;
}

h1, h2, h3, h4 { font-family: "Merriweather Sans", Arial, Helvetica, sans-serif;
  color:#f5f5f5;
  margin:0;
 font-weight:normal; 
}

h2 {
  color:#590f7d;
  text-align: center;
  font-weight: 700;
  margin-bottom:20px;
}

h1 { 
  font-size:3.8em; 
  font-family: "Merriweather Sans", Arial, Helvetica, sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height:1.2em;
  text-shadow: 2px 2px 10px rgba(10,10,10,0.2);
}

.emphasise {
  font-size:1.33em;
  letter-spacing:-0.045em !important;
  color:#f5e40e;
  font-weight:800;
}

@keyframes textShine {
  0% {
      background-position: 0% 50%;
  }
  100% {
      background-position: 100% 50%;
  }
}


.animated-text {
 background: linear-gradient(
    to right,
    #F9F118 20%,
    #00affa 30%,
    #0190cd 70%,
    #00FF00 80%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  background-size: 500% auto;
  animation: textShine 5s ease-in-out infinite alternate;

}

.animated-border {
  position: relative;
  border-radius: 12px;
}

.animated-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 5px;
  border-radius: inherit;
  background: linear-gradient(
    to right,
    #F9F118 20%,
    #00affa 30%,
    #0190cd 70%,
    #00FF00 80%
  );
  background-size: 500% auto;
  animation: textShine 5s ease-in-out infinite alternate;
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

#cashright {
  height:100vh;
  width:450px;
  position:absolute !important;
  right:0 !important;
  top:0;
  z-index:-99999;
  background: url("http://localhost:8000/assets/img/cash-right.png") no-repeat !important;
}

.intro {
  margin-bottom: 1.2rem;
  color: #f5f5f5;
}

.step-counter {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: #5b6472;
  font-weight: 600;
}

.step-progress {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.step-dot {
  flex: 1;
  min-width: 3.5rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 1px solid #c4ccda;
  background: #eef2f7;
  color: transparent;
  font-size: 0;
  padding: 0;
}

.step-dot.completed {
  background: #dbe7ff;
  border-color: #92b4ff;
}

.step-dot.active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.step-dot:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.step-card {
  display: none;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem;
  background: #fcfdff;
}

.step-card.active {
  display: block;
}

.step-card.slide-in-forward {
  animation: stepSlideInForward 0.28s ease-out;
}

.step-card.slide-in-backward {
  animation: stepSlideInBackward 0.28s ease-out;
}

@keyframes stepSlideInForward {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes stepSlideInBackward {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

fieldset {
  border: 1px solid #cfd5dd;
  border-radius: 8px;
  padding: 0.8rem;
  margin-bottom: 1rem;
}

.radio-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.radio-options input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid #cdd8e6;
  background: #f4f8fc;
  color: #1f2a37;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.radio-options input[type="radio"]:checked + .radio-pill {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.radio-options input[type="radio"]:focus-visible + .radio-pill {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

.radio-pill:hover {
  border-color: #9fb6d9;
  background: #eaf1fb;
}

label {
  display: block;
  margin-bottom: 0.6rem;
}

input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.65rem;
  border: 1px solid #bfc8d4;
  border-radius: 6px;
}

select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.65rem;
  border: 1px solid #bfc8d4;
  border-radius: 6px;
  background: #fff;
}

button {
  border: 0;
  border-radius: 6px;
  background: #1d4ed8;
  color: #fff;
  padding: 0.6rem 1rem;
  cursor: pointer;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.back-btn {
  background: #4b5563;
}

.grid-2,
.grid-3,
.grid-postcode {
  display: grid;
  gap: 0.8rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-postcode {
  grid-template-columns: 2fr 1fr;
  align-items: end;
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

#address-select-wrap {
  margin-bottom: 0.8rem;
}

.hidden {
  display: none;
}

#form-message {
  margin-top: 0.9rem;
  font-weight: 600;
  color:red;
}

.privacy-block {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.9rem;
  border: 1px solid #d7dde7;
  border-radius: 8px;
  background: #f8fbff;
}

.privacy-block h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.privacy-block p {
  margin: 0 0 0.7rem;
  line-height: 1.4;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
}

.consent-label input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
}

@media (max-width: 760px) {
  .main-split,
  .main-split-thankyou {
    grid-template-columns: 1fr;
  }

  .main-copy {
    padding: 0 !important;
  }

  .grid-2,
  .grid-3,
  .grid-postcode {
    grid-template-columns: 1fr;
  }

  #cashright {display:none;}

}
