* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #f5f5f5;
}

.min-h-screen {
  min-height: 100vh;
}

.relative {
  position: relative;
}

.hidden {
  display: none;
}

.background-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('https://images.pexels.com/photos/2166927/pexels-photo-2166927.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 109, 108, 0.6), rgba(20, 105, 98, 0.7), rgba(15, 23, 42, 0.8));
}

.z-10 {
  position: relative;
  z-index: 10;
}

.header {
  background-color: rgba(20, 83, 81, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(13, 78, 76, 0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header-content {
  padding: 1rem 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  background-color: #059669;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.logo-icon svg {
  width: 32px;
  height: 32px;
  color: white;
  display: block;
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.05em;
  margin: 0;
}

.logo-text p {
  font-size: 0.75rem;
  color: rgba(209, 250, 229, 1);
  margin: 0;
}

.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
}

.form-wrapper {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
}

.booking-form {
  background-color: white;
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.trip-type-tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
}

.tab-button {
  flex: 1;
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background-color: white;
  color: #374151;
}

.tab-button:hover:not(.active) {
  background-color: #f9fafb;
}

.tab-button.active {
  background-color: #059669;
  color: white;
}

.form-content {
  padding: 1.5rem;
  space-y: 1.5rem;
}

.form-content > * + * {
  margin-top: 1.5rem;
}

.form-group {
  position: relative;
}

.label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #9ca3af;
  pointer-events: none;
}

.form-input {
  width: 100%;
  padding-left: 3rem;
  padding-right: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  color: #374151;
  transition: all 0.2s;
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
  border-color: #10b981;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.passenger-button {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  padding-left: 3rem;
  padding-right: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  color: #374151;
  transition: all 0.2s;
  gap: 0.75rem;
}

.passenger-button:hover {
  border-color: #10b981;
}

.passenger-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
  border-color: #10b981;
}

.passenger-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.passenger-count {
  font-weight: 500;
  color: #374151;
}

.passenger-details {
  font-size: 0.875rem;
  color: #6b7280;
  margin-left: 0.5rem;
}

.passenger-selector {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.5rem;
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  z-index: 50;
  min-width: max-content;
}

.passenger-selector.hidden {
  display: none;
}

.passenger-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.passenger-option:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.passenger-label {
  flex: 1;
}

.passenger-title {
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.passenger-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  margin-top: 0.25rem;
}

.passenger-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.control-button {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid #059669;
  border-radius: 50%;
  background-color: transparent;
  color: #059669;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.control-button:hover {
  background-color: rgba(5, 150, 105, 0.05);
}

.control-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.control-button svg {
  width: 20px;
  height: 20px;
}

.passenger-value {
  width: 3rem;
  text-align: center;
  font-weight: 600;
  font-size: 1.125rem;
  color: #1f2937;
  flex-shrink: 0;
}

.apply-button {
  width: 100%;
  margin-top: 1.5rem;
  background-color: #059669;
  color: white;
  font-weight: 600;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.apply-button:hover {
  background-color: #047857;
}

.submit-button {
  width: 100%;
  background-color: #059669;
  color: white;
  font-weight: 700;
  padding: 1.25rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  font-size: 1.125rem;
  transition: all 0.2s;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.submit-button:hover:not(:disabled) {
  background-color: #047857;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.footer-text {
  margin-top: 2rem;
  text-align: center;
  color: white;
}

.footer-text p {
  font-size: 1.125rem;
  font-weight: 500;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
  margin: 0;
}

@media (max-width: 768px) {
  .main-container {
    min-height: auto;
    padding: 2rem 1rem;
  }

  .form-content {
    padding: 1rem;
  }

  .form-input {
    padding-left: 2.75rem;
  }

  .passenger-button {
    padding-left: 2.75rem;
  }

  .tab-button {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
}
