.booking-section {
  padding: 60px 20px;
  background: #f5f8ff;
  display: flex;
  justify-content: center;
}

.booking-container {
  max-width: 900px;
  width: 100%;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.booking-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.booking-subtitle {
  text-align: center;
  margin-bottom: 30px;
  color: #555;
}

.booking-triptype {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.booking-triptype input[type="radio"] {
  display: none;
}

.booking-triptype label {
  padding: 10px 25px;
  border: 1px solid #0073e6;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
}

.booking-triptype input[type="radio"]:checked + label {
  background: #0073e6;
  color: #fff;
}

.booking-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.booking-row input,
.booking-row select {
  flex: 1;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.passenger-wrapper-new {
  position: relative;
  flex: 1;
}

.passenger-wrapper-new input {
  cursor: pointer;
}

.passenger-dropdown-new {
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: none;
  padding: 15px;
  z-index: 10;
  width: 100%;
}

.passenger-row-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.passenger-row-new .counter button {
  padding: 5px 10px;
  border: none;
  background: #0073e6;
  color: #fff;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.booking-submit-btn {
  width: 100%;
  padding: 15px;
  background: #0073e6;
  color: #fff;
  font-size: 1.2rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.booking-note {
  text-align: center;
  margin-top: 20px;
  color: #777;
}

@media (max-width: 768px) {
  .booking-row {
    flex-direction: column;
  }
}

/* Fix cabin dropdown height */
.booking-row select {
  height: 48px;       /* same as input height */
  appearance: none;   /* removes native dropdown styling differences */
  background: url('data:image/svg+xml;utf8,<svg fill="%23666" height="12" viewBox="0 0 24 24" width="12" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 15px center;
  background-size: 12px;
  padding-right: 40px;
  box-sizing: border-box;
}

/* Fix passenger input height */
.passenger-wrapper-new input {
  height: 48px;       /* match all other inputs */
  padding: 0 15px;
  box-sizing: border-box;
}

/* Success Message Styles */
.submission-success-message {
    margin-top: 40px;
    padding: 0;
    animation: slideDown 0.5s ease-out;
}

.success-message-content {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 12px;
    padding: 2px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-icon {
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.success-text {
    color: white;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional: Add a subtle fade-out animation when removing */
.submission-success-message {
    transition: opacity 0.5s ease-out;
}

/* Responsive styles for success message */
@media (max-width: 768px) {
    .success-message-content {
        padding: 14px 20px;
    }

    .success-icon {
        font-size: 24px;
    }

    .success-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .success-message-content {
        padding: 12px 16px;
    }

    .success-icon {
        font-size: 20px;
    }

    .success-text {
        font-size: 13px;
    }
}