* {
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  padding: 0 10px;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(IMG_6210.jpg) center/cover no-repeat;
}

.wrapper {
  width: 80%;
  max-width: 400px;
  border-radius: 5px;
  padding: 2%;
  text-align: center;
  border: 2px solid rgba(203, 0, 25, 0.8);
  background: rgba(203, 0, 25, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wrapper-none {
  display: none;
}

form {
  display: flex;
  flex-direction: column;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

h3 {
  background-image: url(background.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 105px;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.input-field {
  position: relative;
  /* border-bottom: 2px solid #ccc; */
  margin: 15px 0;
}

.input-field label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #fff;
  font-size: 16px;
  pointer-events: none;
  transition: 0.15s ease;
}

.input-field input {
  width: 100%;
  height: 40px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  color: rgb(255, 255, 255);
}

/* Apple-style scrollable date picker */
.date-picker-container {
  position: relative;
}

.date-picker-trigger {
  position: relative;
  width: 100%;
  height: 40px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.date-picker-trigger:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.date-picker-container:focus-within .date-picker-trigger,
.date-picker-container.picker-open .date-picker-trigger {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
  outline: none;
}

.date-picker-trigger label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #fff;
  font-size: 16px;
  pointer-events: none;
  transition: 0.15s ease;
}

.date-display {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.date-picker-trigger.has-value label {
  font-size: 0.8rem;
  top: 10px;
  transform: translateY(-120%);
}

.date-picker-trigger.has-value .date-display {
  opacity: 1;
}

.apple-date-picker {
  position: relative;
  display: flex;
  width: 100%;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  user-select: none;
}

.date-picker-column {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 100%;
  touch-action: pan-y;
}

.picker-wheel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(0);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.picker-item {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  font-weight: 400;
  user-select: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.picker-item.selected {
  color: #fff;
  font-weight: 500;
  transform: scale(1.1);
}

.picker-selection {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 40px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
  z-index: 1;
}

.apple-date-picker::before,
.apple-date-picker::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 2;
}

.apple-date-picker::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
}

.apple-date-picker::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.1), transparent);
}

/* Smooth scrolling */
.date-picker-column {
  -webkit-overflow-scrolling: touch;
}

/* Input field styling for text inputs */
.input-field input[type="text"] {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.input-field input:focus ~ label,
.input-field input:valid ~ label {
  font-size: 0.8rem;
  top: 10px;
  transform: translateY(-120%);
}

.forget {
  display: flex;
  justify-content: center;   
  align-items: center;     
  width: 100%;
  text-align: center;
  color: #fff;
  margin: 20px 0;
  padding-top: 1%;
  padding-bottom: 1%;
}

.forget label {
  display: flex;
  align-items: center;
  justify-content: center;
}

#remember {
  accent-color: #fff;
}

.forget label p {
  margin-left: 8px;
}

.wrapper a {
  color: #ffffff;
  text-decoration: none;
}

.wrapper a:hover {
  text-decoration: underline;
}

/* All buttons centered :) yw */
button,
.butt1,
.butt2,
.butt3,
.butt4 {
  background: #fff;
  color: #000;
  font-weight: 600;
  border: none;
  padding: 12px 40px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 16px;
  transition: 0.3s ease;
  margin: 10px 0;
  width: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}


button:hover{
  background-color: rgba(238, 238, 238, 0.536);
}


.butt1:hover,
.butt2:hover,
.butt3:hover,
.butt4:hover {
  background: rgba(220, 30, 30, 0.646);
  color: #000;
}

/* Colour variants */
.butt1,
.butt4 { background: rgba(0, 249, 58, 0.468); }

.butt2,
.butt3 { background: rgba(221, 4, 4, 0.15); }


#yesBtn, #noBtn {
  padding: 10px 25px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: 100px;
}

.butt1:hover{
  background-color: rgb(104, 244, 83);
}
.butt2:hover {
  background-color: rgba(255, 8, 8, 0.708);
         
}
/* close */
.butt3,
.butt4 {
  width: 60%;
  min-width: 150px;
}

/* resposivness for smaller screens */
@media screen and (max-width: 480px) {
  .butt1,
  .butt2 {
    flex: 1 1 100%;
  }

  button,
  .butt3,
  .butt4 {
    width: 90%;
    padding: 14px;
  }
}


.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 500px;
  max-height: 600px;
  background-color: rgb(255, 255, 255);
  padding: 20px;
  border-radius: 10px;
}

.overlay-content > div:last-child {
  display: flex;              
  justify-content: center;    
  gap: 20px;                   
  flex-wrap: wrap;             
  margin-top: 20px;            
}

.terms {
  max-height: 300px;
  overflow-y: scroll;
  margin-bottom: 20px;
  border: 1px solid #000;
  padding: 10px;
  border-radius: 5px;
}

.powerby {
  background-image: url(pb_optimus_icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 50px;
  width: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.tickbox {
  width: 10px;
  height: 10px;
  -webkit-appearance: auto;
  appearance: auto;
}

.terms-title {
  text-align: center;
  padding-bottom: 15px;
}

.marketing-overlay {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); 
  z-index: 1;
  justify-content: center; 
  align-items: center; 
}


.marketing-consent {
  max-height: 400px;
  margin-bottom: 20px;
  border: 1px solid #000;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
}

.button {
  color: #000;
  text-align: center;
  height: 50px;
  width: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 600px) {
  .button {
    width: 100%;
  }
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* Grid classes unchanged */
[class*="col-"] {
  width: 100%;
}

@media only screen and (min-width: 600px) {
  .col-s-1 { width: 8.33%; }
  .col-s-2 { width: 16.66%; }
  .col-s-3 { width: 25%; }
  .col-s-4 { width: 33.33%; }
  .col-s-5 { width: 41.66%; }
  .col-s-6 { width: 50%; }
  .col-s-7 { width: 58.33%; }
  .col-s-8 { width: 66.66%; }
  .col-s-9 { width: 75%; }
  .col-s-10 { width: 83.33%; }
  .col-s-11 { width: 91.66%; }
  .col-s-12 { width: 100%; }
}

@media only screen and (min-width: 768px) {
  .col-1 { width: 8.33%; }
  .col-2 { width: 16.66%; }
  .col-3 { width: 25%; }
  .col-4 { width: 33.33%; }
  .col-5 { width: 41.66%; }
  .col-6 { width: 50%; }
  .col-7 { width: 58.33%; }
  .col-8 { width: 66.66%; }
  .col-9 { width: 75%; }
  .col-10 { width: 83.33%; }
  .col-11 { width: 91.66%; }
  .col-12 { width: 100%; }
}

.optimg {
  width: 40%;
  transform: translateX(80%);
  padding-top: 7%;
}

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