:root { --vh: 1vh; }

.landing-pagev2 {
  background-image: url("/wp-content/uploads/2025/09/062025-landingbg.webp");
  background-position: center;
  background-size: cover;
  height: calc(var(--vh, 1vh) * 100 - 5rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.kiosk_grid {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4vw;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem;
  overflow: hidden;
}
.kiosk_form_wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  box-sizing: border-box;
}
.kiosk_media {
  max-width: 650px;
  margin: auto;
  text-align: center;
  flex: 1;
}
.landing-pagev2.start-screen .kiosk_grid {
  align-items: center;
  justify-content: center;
}
.landing-pagev2.start-screen .kiosk_form_wrapper {
  display: none;
}
.landing-pagev2.start-screen .kiosk_media {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  flex: 0 1 900px;
}
.start-button {
  display: inline-block;
  margin: 18px auto 0;
  padding: 16px 42px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--nv-white);
  background: var(--nv-orange);
  border: 0;
  border-radius: 18px;
  box-shadow: 0 7px 0 #c0392b, 0 10px 20px rgba(0,0,0,.2);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.start-button:active {
  transform: translateY(2px);
  background: var(--nv-blue);
  box-shadow: 0 5px 0 whitesmoke, 0 8px 16px rgba(0,0,0,.2);
}
.landing-pagev2:not(.start-screen) .start-button { display: none; }
#dealershipSetupContainer,
#startNowContainer,
#mainFormContainer {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
}
#thankYouPopUp {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease-in-out;
}
.thank-you-check {
  color: var(--nv-green);
  margin-bottom: 20px;
  animation: pulse 1.5s infinite;
}
#thankYouPopUp .kiosk-modal-content {
  text-align: center;
  animation: slideIn 0.5s forwards;
  transform: translateY(-50px);
  opacity: 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-color);
}
.kiosk-modal-content {
  padding: 40px;
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 250px;
}
#dealershipSetupForm,
#multiStepForm {
  width: 100%;
}
.dealership-setup-content {
  background: linear-gradient(145deg, var(--nv-blue), var(--nv-blue-light));
  color: var(--nv-white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.dealership-setup-content .form-heading {
  color: var(--nv-white) !important;
  font-size: 2em !important;
  margin-bottom: 25px !important;
}
.dealership-setup-content label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  width: 100%;
  text-align: left;
}
.dealership-setup-content input[type="text"] {
  background: rgba(255, 255, 255, 0.9);
  border-color: transparent;
  color: var(--text-color);
  margin-bottom: 20px;
}
.dealership-setup-content .kiosk-setup-info-text {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 15px;
  font-size: 0.9em;
}
.form-container {
  max-width: 600px;
  margin: 0;
  background: var(--nv-white);
  padding: 25px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  width: 100%;
}
.form-heading {
  font-weight: 700 !important;
  margin-bottom: 10px !important;
  text-align: center !important;
  color: var(--nv-blue) !important;
}
.nform-row {
  display: flex;
  gap: 15px;
  margin: 0 1px 8px 1px;
}
.nform-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}
.form-actions {
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  margin-top: 10px;
}
.kiosk_footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--nv-blue);
  width: 100%;
  height: 50px;
  flex-shrink: 0;
}
.kiosk_footer img {
  max-width: 300px;
  height: 70%;
  width: auto;
}
.email-suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  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-message {
  color: var(--nv-red);
  font-size: 12px;
  margin-top: -5px;
  margin-bottom: 8px;
  display: none;
}
.kiosk_media video {
  border-radius: var(--border-radius-lg);
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.logo-slider {
  margin-top: 16px;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 55px;
}
.logo-slider img {
  width: auto;
  max-width: 130px;
  height: auto;
  object-fit: contain;
}
.sub-header, .form-disclaimer {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 5px;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes pulse { 0%, 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
@media screen and (max-width: 992px) {
  .kiosk_grid {
    flex-direction: column-reverse;
    gap: 2rem;
    overflow: auto;
    padding: 2rem 1rem;
  }
  .kiosk_media {
    order: 1;
  }
  .kiosk_form_wrapper {
    order: 2;
    width: 100%;
    max-width: 600px;
  }
}
@media screen and (max-width: 767px) {
  .nform-row {
    flex-direction: column;
    gap: 0px;
    margin: 0 0 8px 0;
  }
}