/* Styles the main heading of the form */
#pewcform h4 {
    text-align: center;
}

/* Styles the "(Leave blank...)" note in the insurance label */
label[for="insurance"] span {
    font-size: 11px;
    font-weight: bold;
}

/* Styles the privacy policy link in the consent text */
#consent-statement a {
    color: #ff4e50;
}

/* Adds a small margin to the timer clock icon */
#timer .fa-clock {
    margin-right: 8px;
}

/* --- GENERAL & FORM CONTAINER --- */
#pewcform {
    padding: 10px;
    background-color: #ffffff !important;
	border-radius: 20px;
	box-shadow: none;
}

.form-section {
    align-items: center;
    justify-content: space-between;
    margin: 30px auto 0;
	border-radius: 20px;
}

.form-heading {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 1rem !important;
    text-align: center !important;
    color: #00568C !important;
	text-align: center;
}

/* --- FORM FIELDS: LABELS, INPUTS, SELECTS --- */
label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
    color: #444;
    text-align: left !important;
}

input,
select {
    font-family: 'Poppins', sans-serif;
    color: #333333;
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #333333; /* Default color for selected text (dark gray) */
    background-color: #fff;
    cursor: pointer;
}

select:invalid,
select.placeholder-style {
     color: #888888; /* Placeholder color (light gray) */
}

input:focus,
select:focus {
    outline: none;
    border-color: #00568C;
}

select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: #888888;
}

/* --- Offer Banner --- */
.offer-banner {
  background: linear-gradient(45deg, #0052d4, #4364f7, #6fb1fc);
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  margin: 15px auto;
  max-width: 800px;
  position: relative;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 1;
}

.offer-banner::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 12px;
  border: 3px solid transparent;
  background: linear-gradient(45deg, #0052d4, #4364f7, #6fb1fc);
  background-size: 200% 200%;
  animation: colorChange 5s ease infinite;
  z-index: -1;
}

.offer-banner h3 {
  font-size: 1.8em;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  margin-bottom: 0px;
}

.offer-banner h3 span.amount,
.offer-banner h3 span.original-amount {
  color: #ff4e4e;
}

.offer-banner p {
  font-size: 1.2em;
  font-weight: 500;
  color: #e0e0e0;
  margin: 0;
  line-height: 1.5;
}

.offer-banner p#timer {
  font-size: 14px;
  text-align: center;
  color: #fff;
  font-weight: 500;
  background-color: #00558a;
  padding: 5px 10px;
  border-radius: 4px;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
}

.offer-banner p#timer .fas {
  margin-right: 8px;
}

.offer-banner p#timer #time-text {
  font-weight: bold;
}

/* --- Main Heading Section --- */
.main-heading {
  padding-top: 20px;
  max-width: 650px;
  margin: auto;
}

.main-heading video {
  border-radius: 10px;
  display: block;
  width: 100%;
}

.main-heading .logo-slider {
  margin-top: 16px;
  padding: 0px;
}

/* --- Logo Slider --- */
.logo-slider {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 55px;
  margin-top: 60px;
}

.logo-slider img {
  width: auto;
  max-width: 130px;
  height: auto;
  object-fit: contain;
}

/* --- FIELD GROUPING --- */
.nform-row {
    display: flex;
    gap: 15px;
}

.nform-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* --- EMAIL SUGGESTIONS --- */
.email-suggestions {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-top: none;
    width: calc(100% - 2px);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.email-suggestions ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.email-suggestions li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px !important;
}

.email-suggestions li:hover {
    background-color: #f0f0f0;
}


/* --- ERROR MESSAGES --- */
.error-message {
    color: red;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 10px;
    display: none;
}

/* --- BUTTONS & FORM ACTIONS --- */
.form-actions {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    margin-top: 10px;
}

button.submit {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
    background: linear-gradient(135deg, #FF8204, #ff4e50);
    color: #fff;
    position: relative;
    box-shadow: 0 0 10px #FF8204;
}

button.submit.submitting,
button.submit:disabled {
  background: #00568C !important; /* The blue submitting color */
  box-shadow: none !important;
  color: white;
  cursor: wait;
  transform: none; /* Prevents any hover effects */
  transition: none; /* Disables animation during state change */
}

button.submit:hover {
    background: #FF8204;
}

/* --- FORM STEP ANIMATION --- */
.form-step {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
    display: none;
}

.form-step.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

/* --- Animations --- */
@keyframes colorChange {
  0%,
  100% {
    border-color: #ff0000;
  }

  33% {
    border-color: #00ff00;
  }

  66% {
    border-color: #ffd700;
  }
}

/* --- TIMER & SLOTS MESSAGE (Restored) --- */
.message {
    font-size: 1rem;
    margin: 5px;
    text-align: center;
}

.message .highlight {
    color: #FE2020;
    font-weight: bold;
}

#timer {
    margin: 0 0 15px;
    font-size: 14px;
    text-align: center;
    color: #FE2020; /* Restores the red color */
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
}

#timer .fas {
    margin-right: 8px; /* Restores spacing for the clock icon */
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-1deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(1deg); }
}

.shake {
    animation: shake 0.3s infinite; /* Restores the shake animation */
}

/* --- RESPONSIVE STYLES --- */
@media screen and (max-width: 767px) {
  .landing-pagev2-container {
    padding: 0;
    width: auto;
  }

  .form-section {
    column-gap: 20px;
    flex-direction: column;
    gap: 20px;
    margin: 10px;
  }

  .form-callouts {
    left: auto;
    top: auto;
    width: 100%;
    margin: 0;
    text-align: left;
    padding-top: 20px;
  }

  .offer-banner {
    max-width: 350px;
  }

  .offer-banner h3 {
    font-size: 1em !important;
    line-height: 1.3;
	margin-bottom: 0px;
  }

  .offer-banner p {
    font-size: 1em;
  }

  .main-heading video {
    border-radius: 0px;
    width: 100vw;
  }

  .main-heading br {
    display: inline;
  }

  .logo-slider {
    gap: 12px;
    margin-top: 30px;
  }

  .logo-slider img {
    max-width: 30%;
  }

  .nform-row {
    flex-direction: column;
    gap: 0px;
    margin: 0;
  }

  .nform-group {
    margin-bottom: 8px !important;
  }

  .proud-partner2 h4 {
    text-align: center;
  }

  .proud-partner2 {
    margin-top: -20px;
  }

  #timer {
    font-size: 1rem !important;
    padding: 10px;
  }

  #timer .fas {
    margin: 0 0 5px 0;
  }
}