* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #333;
  font-family: "Josefin Sans";
}

body {

  background: #fcfcfc;
}

header {
  position: fixed;
  top: 0;
  display: flex;
  width: 100%;
  padding: 8px 60px;
  gap: 14px;
  text-align: center;
  align-items: center;
  overflow: hidden;
  z-index: 9;
  background: #ffffff;
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.2));
}

header img {
  max-width: 60px;
}

.container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
}

h2 {
  color: #c3002f;
  padding: 20px 0 10px;
}

.vehicle-selection {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.vehicle {
  max-width: 360px;
  height: auto;
  border: 2px solid #ccc;
  padding: 10px;
  /* text-align: center; */
  cursor: pointer;
  transition: 0.3s;
  font-family: "Sour Gummy";
}

.vehicle.selected {
  border: 2px solid #c3002f;
  background-color: #fbe9ed;
}

.vehicle img {
  max-width: 100%;
}

.form-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group {
  flex: 1 1 300px;
  display: flex;
  position: relative;
  flex-direction: column;
}

.h-label {
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

label .checkbox {
  font-weight: 100;
  color: #eeeeee;
}

.M-box {
  display: flex;
}

input,
select,
textarea {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  /* border-radius: 4px; */
  font-family: "Sour Gummy";
}

.checkbox-group {
  margin-top: 10px;
}

.dealer-search {
  display: flex;
  align-items: center;
  position: relative;
}

.dealer-search button {
  position: absolute;
  right: 0;
  background-color: transparent;
}

::placeholder {
  color: rgb(148, 148, 148);
  opacity: 1;
  /* Firefox */
}

.dealer-search input {
  flex: 1;
}

.dealer-search button {
  padding: 8px 12px;
  color: #c3002f;
  border: none;
  cursor: pointer;
  margin-left: 5px;
}

.submit-btn {
  background-color: #c3002f;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.footer {
  display: flex;
  align-items: center;
  text-align: center;
  background-color: #ffffff;
  justify-content: space-between;
  margin-top: 40px;
  font-weight: bold;
  padding: 10px 60px;
  filter: drop-shadow(-2px -2px 5px rgba(0, 0, 0, 0.2));
}

@media (max-width: 768px) {
  .vehicle-selection {
    flex-direction: column;
  }

  header,
  .footer {
    padding: 10px;
  }
}


/* Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
}

.popup {
  background: white;
  padding: 25px;
  border-radius: 20px;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.popup h3 {
  margin-top: 0;
}

.otp-inputs input {
  width: 40px;
  padding: 10px;
  font-size: 18px;
  margin: 5px;
  text-align: center;
}

.verify-btn {
  margin-top: 20px;
  background: #a80035;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #a80035;
}

.otp-status {
  color: green;
  font-size: 14px;
  margin-top: 5px;
}

@media (max-width: 600px) {
  .popup {
    width: 90%;
  }

  .otp-inputs input {
    width: 20%;
  }
}