/* Global Reset & Setup */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 20px;
  background-color: #f5f7fa;
  font-family: Arial, sans-serif;
}

/* Container: centers everything */
.container {
  max-width: 600px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Page Sections */
.page-content {
  display: none;
}

.page-content.visible {
  display: block;
}

/* Form Wrapper: centers form content */
.form-wrapper {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.form-wrapper h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

/* Input Groups */
.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: #007BFF;
  box-shadow: 0 0 0 2px rgba(0,123,255,0.2);
}

/* Compact Pickup Datetime */
.pickup-datetime-group input {
  width: 100%;
  max-width: 220px;
  padding: 8px;
  font-size: 14px;
}

/* Info Text */
.info-text {
  font-size: 13px;
  color: #777;
  margin-top: 6px;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 25px 0;
}

.checkbox-group input[type="checkbox"] {
  margin: 0;
  transform: scale(1.2);
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 15px;
  line-height: 1.4;
}

.checkbox-group a {
  color: #007BFF;
  text-decoration: underline;
}

/* Submit Button */
button[type="submit"] {
  width: 100%;
  padding: 14px;
  background-color: #007BFF;
  border: none;
  color: white;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
}

button[type="submit"]:hover {
  background-color: #0056b3;
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 0 15px;
  }

  .form-wrapper {
    padding: 20px;
  }

  .pickup-datetime-group input {
    max-width: 100%;
  }

  button[type="submit"] {
    font-size: 16px;
    padding: 12px;
  }
}