/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

.vfp-form {
  max-width: 800px;
  margin: 10px auto;
  padding: 24px;
  background: #0d0f11;
  border: 1px solid #222;
  border-radius: 10px;
  font-family: 'Montserrat';
  color: #2e2d2c;
}

.check-div {
	padding-top: 12px;
}

/* Labels */
.vfp-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #8CD50A;
}

/* Inputs, Textareas, Selects */
.vfp-form input[type="text"],
.vfp-form input[type="tel"],
.vfp-form input[type="email"],
.vfp-form select,
.vfp-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-top: 4px;
  border-radius: 6px;
  border: 1px solid #2e2d2c;
  background: #2e2d2c;
  color: #fff;
  font-family: 'Montserrat';
  font-size: 14px;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
/*   background-image: linear-gradient(45deg, transparent 50%, #8CD50A 50%), linear-gradient(135deg, #8CD50A 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat; */
}

/* Focus states */
.vfp-form input[type="text"]:focus,
.vfp-form input[type="tel"]:focus,
.vfp-form input[type="email"]:focus,
.vfp-form select:focus,
.vfp-form textarea:focus {
  outline: none;
  border-color: #8CD50A;
  box-shadow: 0 0 0 2px rgba(140, 213, 10, 0.2);
}

/* Grid layouts */
.vfp-grid.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.vfp-grid.three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Vehicle condition buttons */
.vfp-condition label {
  display: inline-block;
  margin-right: 10px;
  background: #2e2d2c;
  color: #fff;
  padding: 10px 16px;
  border: 1px solid #2e2d2c;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  transform: scale(1);
}

/* Hover effect: scale + glow */
.vfp-condition label:hover {
  background: #8CD50A;
  color: #2e2d2c;
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(140, 213, 10, 0.4);
}

/* Active / checked state */
.vfp-condition input[type="radio"]:checked + label {
  background: #8CD50A;
  color: #2e2d2c;
  border-color: #8CD50A;
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(140, 213, 10, 0.45);
}

/* Smooth scale return */
.vfp-condition label:active {
  transform: scale(0.98);
}

/* Textareas */
.vfp-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Readonly / Summary */
.vfp-readonly p {
  margin: 8px 0;
  color: #fff;
}

/* Submit buttons */
.vfp-form button,
.vfp-form input[type="submit"] {
  background: #8CD50A;
  color: #2e2d2c;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 600;
  font-family: 'Montserrat';
  cursor: pointer;
  transition: all 0.25s ease;
  transform: scale(1);
}

a.buttons.button-primarys {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 600;
  font-family: 'Montserrat';
  cursor: pointer;
  transition: all 0.25s ease;
  transform: scale(1);
}

/* Hover + focus animation for submit */
.vfp-form button:hover,
.vfp-form input[type="submit"]:hover,
.vfp-form button:focus,
.vfp-form input[type="submit"]:focus {
  background: #a6ec26;
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(140, 213, 10, 0.4);
}

/* Active press state */
.vfp-form button:active,
.vfp-form input[type="submit"]:active {
  transform: scale(0.97);
}

/* Error message styling */
.vfp-error,
.vfp-form .error,
.vfp-form .validation-error {
  color: #e63946;
  font-size: 13px;
  margin-top: 6px;
  font-weight: 500;
}

/* Highlight fields with errors */
.vfp-form .has-error input,
.vfp-form .has-error select,
.vfp-form .has-error textarea {
  border-color: #e63946;
  background-color: #2e2d2c;
  box-shadow: 0 0 0 1px #e63946;
}

.vfp-form {
	color: #fff;
}

/* Dropdown hover/focus refinement */
.vfp-form select:hover {
  border-color: #8CD50A;
  background-color: #333;
}

.vfp-success-message {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 8px;
  padding: 15px;
  font-weight: 600;
}


/* Mobile responsiveness */
@media (max-width: 600px) {
  .vfp-grid.two-cols,
  .vfp-grid.three-cols {
    grid-template-columns: 1fr;
  }
}
