body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  background-color: #f9f9f9;
}

.main-content {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  background-color: #f9f9f9;
  padding-top: 16px;
  margin-bottom: 40px;
  height: auto;
}

.form-section {
  background-color: #ffffff;
  margin: 10px auto 60px;
  width: 87%;
  max-width: 1200px;
  padding: 6px 20px 20px 20px;
  box-shadow: 0 8px 20px rgba(10, 10, 10, 0.19);
  border-radius: 20px;
  overflow: hidden;
  box-sizing: border-box;
}

.form-section h2 {
  font-family: "Times New Roman", Times, serif;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 18px;
  color: #000000;
  font-weight: 580;
  word-spacing: -1px;
}

.vehicle-selection {
  display: flex;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid lightgrey;
  flex-wrap: wrap;
}

.vehicle-option {
  flex: 1;
  position: relative;
}

.vehicle-option input[type="radio"] {
  display: none;
}

.vehicle-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  cursor: pointer;
  background: #f8f9fa;
  color: #333;
  font-family: "JetBrains Mono", monospace;
  font-weight: bold;
  transition: all 0.3s ease;
  border-right: 1px solid #ddd;
  margin: 0;
  height: 100%;
  box-sizing: border-box;
}

.vehicle-option:last-child label {
  border-right: none;
}

.vehicle-option input[type="radio"]:checked + label {
  background: #009900;
  color: white;
}

.vehicle-option label:hover {
  background: #e9ecef;
}

.vehicle-option input[type="radio"]:checked + label:hover {
  background: #1fc61f;
}

.form-section .form-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.form-control label {
  font-family: "Times New Roman", Times, serif;
  margin-bottom: 6px;
  font-weight: 570;
  color: #000000;
  font-size: 15px;
}

option {
  padding: 4px;
  font-weight: 700;
  font-size: 11px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  word-spacing: -2px;
  color: #2c3e50;
  background-color: #ffffff;
  border-radius: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

select {
  color: #7f8c8d;
  margin-top: -1px;
  font-weight: 600;
  height: 35px;
  padding: 5px 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.form-control input[type="text"],
.form-control input[type="number"] {
  padding: 2px 12px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 9px;
  height: 30px;
  margin-bottom: 8px;
  transition: border-color 0.3s ease;
}

.submit-btn {
  font-family: "Times New Roman", Times, serif;
  width: 238px;
  height: 40px;
  background: #ffdc00;
  color: #000000;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.2px;
  display: block;
  margin: 10px 0 0 0;
}

.submit-btn:hover {
  background: #e6c200;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 213, 0, 0.3);
}

select:focus,
.form-control input[type="text"]:focus,
.form-control input[type="number"]:focus {
  outline: none;
  border-color: #009900;
  box-shadow: 0 0 0 4px rgba(0, 153, 0, 0.1);
  transition: all 0.3s ease;
}

@media (max-width: 992px) {
  .form-section .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {


  .main-content {
  padding-top: 0px;
  }
  .form-section {
    width: 95%;
    padding: 16px;
    margin: 10px auto;
  }

  .form-section .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .vehicle-selection {
    flex-direction: column;
  }

  .vehicle-option label {
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  .vehicle-option:last-child label {
    border-bottom: none;
  }

  .submit-btn {
    width: 100%;
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .form-section {
    padding: 12px;
  }

  .submit-btn {
    padding: 10px;
    font-size: 14px;
  }
}
