* {
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  margin: 0;
}

/* Section */
.book-ride-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 15px;
}

/* Card */
.book-ride-card {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.book-ride-card h1 {
  margin: 0;
  text-align: center;
  font-size: 28px;
  color: #111;
}

.subtitle {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin: 8px 0 25px;
}

/* Form */
.book-ride-form {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 13px;
  margin-bottom: 6px;
  color: #444;
}

.form-group input,
.form-group select {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
  transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #000;
}

/* Full width fields */
.form-group {
  width: calc(50% - 9px);
}

.full-width {
  width: 100%;
}

/* Button */
.submit-btn {
  margin-top: 10px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.submit-btn:hover {
  background: #222;
  transform: translateY(-1px);
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .form-group {
    width: 100%;
  }

  .full-width {
    grid-column: span 1;
  }
  .book-ride-card {
    padding: 22px;
  }

  .book-ride-card h1 {
    font-size: 24px;
  }
}
