/* Shuttle Type Tab Styling */
.shuttle-type-tab {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 24px;
    gap: 12px;
    padding: 0 10px;
}

.shuttle-tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    background-color: #ffffff;
    color: #1f2937;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    outline: none;
    text-align: center;
    letter-spacing: 0.3px;
}

.shuttle-tab-btn:hover {
    border-color: #d1d5db;
    background-color: #f9fafb;
}


/* Active Tab Style */
.shuttle-tab-btn.active-shuttle {
    background-color: #e91418e7;
    background: linear-gradient(135deg, #e91418e7 0%, #c4161c 100%);
    color: #ffffff;
    border-color: #c4161c;
    font-weight: 700;
}


/* Responsive Design */
@media (max-width: 576px) {
    .shuttle-type-tab {
        gap: 8px;
        padding: 0 8px;
    }

    .shuttle-tab-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .shuttle-type-tab {
        gap: 6px;
        padding: 0 6px;
    }

    .shuttle-tab-btn {
        padding: 10px 14px;
        font-size: 12px;
        font-weight: 600;
    }
}


.tabs {
  display: flex;
  margin-bottom: 20px;
  justify-content: center;
  gap: 20px;
}

.tab {
  padding: 4px 20px;
  border: 1px solid #bbb;
  background: #fff;
  cursor: pointer;
  font-weight: bold;
  border-radius: 8px;
}

.tab.active {
  border: 2px solid #c4161c;
  color: #c4161c;
}

/* Vehicle Cards */
.vehicle-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.vehicle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.vehicle-card img {
  width: 70px;
}

.vehicle-card .info {
  flex: 1;
  margin-left: 15px;
}

.vehicle-card h3 {
  margin: 0;
  font-size: 16px;
}

.vehicle-card p {
  margin: 4px 0 0 !important;
  font-size: 13px !important;
  color: #666;
}

.vehicle-card .price {
  font-weight: bold;
}

.vehicle-card.active {
  border: 2px solid #c4161c;
  background: #f0f5ff;
}


/* ///////////////////////////////////////////// */
/* RentalShuttle page css */

    .rental-main-container {
      max-width: 500px !important;
      margin: 0 auto !important;
      background: #ffffff !important;
      border-radius: 0 0 24px 24px !important;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
      animation: slideIn 0.5s ease-out !important;
    }

    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateY(30px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .rental-header {
      width: 100% !important;
      background: linear-gradient(135deg, #ed1c24 0%, #b91419 100%) !important;
      color: #ffffff !important;
      padding: 20px !important;
      border-radius: 24px 24px 0 0 !important;
      text-align: center !important;
      box-shadow: 0 8px 20px rgba(237, 28, 36, 0.3) !important;
    }

    .rental-header h2 {
      font-size: 24px !important;
      font-weight: 700 !important;
      margin: 0 !important;
      letter-spacing: 0.5px !important;
    }

    .rental-form-container {
      padding: 24px !important;
    }

    .form-section {
      margin-bottom: 24px !important;
    }

    .form-section-title {
      font-size: 16px !important;
      font-weight: 600 !important;
      color: #1f2937 !important;
      margin-bottom: 12px !important;
      padding-left: 6px !important;
      letter-spacing: 0.3px !important;
    }

    .location-input-group {
      display: flex !important;
      flex-direction: column !important;
      gap: 12px !important;
    }

    .location-item {
      display: flex !important;
      align-items: center !important;
      gap: 12px !important;
      padding: 12px !important;
      background: #f9fafb !important;
      border: 2px solid #e5e7eb !important;
      border-radius: 16px !important;
      transition: all 0.3s ease !important;
    }

    .location-item.active {
      border-color: #ed1c24 !important;
      background: #fff5f5 !important;
    }

    .location-icon {
      font-size: 20px !important;
      color: #ed1c24 !important;
      flex-shrink: 0 !important;
    }

    .location-details {
      flex: 1 !important;
    }

    .location-label {
      font-size: 12px !important;
      color: #6b7280 !important;
      font-weight: 500 !important;
    }

    .location-text {
      font-size: 14px !important;
      color: #1f2937 !important;
      font-weight: 600 !important;
      margin-top: 2px !important;
    }

    #pac-input {
      width: 100% !important;
      border: 2px solid #e5e7eb !important;
      border-radius: 16px !important;
      padding: 12px 16px !important;
      font-family: 'Roboto', sans-serif !important;
      font-size: 14px !important;
      font-weight: 500 !important;
      outline: none !important;
      transition: all 0.3s ease !important;
    }

    #pac-input:focus {
      border-color: #ed1c24 !important;
      box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.1) !important;
    }

    .input-group-icon {
      position: relative !important;
    }

    .autocomplete-results {
      list-style: none !important;
      padding: 0 !important;
      margin: 8px 0 0 0 !important;
      border: 1px solid #e5e7eb !important;
      border-radius: 12px !important;
      max-height: 200px !important;
      overflow-y: auto !important;
      background: #ffffff !important;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
      display: none;
    }

    .autocomplete-results li {
      padding: 10px 14px !important;
      cursor: pointer !important;
      border-bottom: 1px solid #f3f4f6 !important;
      font-size: 13px !important;
      color: #374151 !important;
      transition: background 0.2s ease !important;
    }

    .autocomplete-results li:hover {
      background: #f9fafb !important;
      color: #ed1c24 !important;
    }

    .autocomplete-results li:last-child {
      border-bottom: none !important;
    }

    .date-time-row {
      display: flex !important;
      gap: 12px !important;
      margin-bottom: 12px !important;
    }

    .form-group-inline {
      flex: 1 !important;
    }

    .form-group-inline label {
      display: block !important;
      font-size: 12px !important;
      color: #6b7280 !important;
      font-weight: 600 !important;
      margin-bottom: 6px !important;
    }

    .form-group-inline input {
      width: 100% !important;
      border: 2px solid #e5e7eb !important;
      border-radius: 12px !important;
      padding: 10px 12px !important;
      font-family: 'Roboto', sans-serif !important;
      font-size: 13px !important;
      font-weight: 500 !important;
      color: #1f2937 !important;
      background-color: #f9fafb !important;
      outline: none !important;
      transition: all 0.3s ease !important;
    }

    .form-group-inline input:focus {
      border-color: #ed1c24 !important;
      background-color: #ffffff !important;
      box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.1) !important;
    }

    .rental-details-card {
      background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%) !important;
      border: 2px solid #e5e7eb !important;
      border-radius: 16px !important;
      padding: 6px !important;
      margin-bottom: 12px !important;
    }

    .rental-details-grid {
      display: flex !important;
      flex-wrap: wrap !important;
      gap: 6px !important;
      align-items: flex-start !important;
    }

    .rental-detail-item {
      flex: 1 1 calc(50% - 3px) !important;
      min-width: 90px !important;
      padding: 10px 15px !important;
      background: #ffffff !important;
      border-radius: 10px !important;
      border: 1px solid #f3f4f6 !important;
    }

    .rental-detail-item.full-width {
      flex: 1 1 100% !important;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .rental-detail-label {
      font-size: 10px !important;
      color: #6b7280 !important;
      font-weight: 600 !important;
      text-transform: uppercase !important;
      letter-spacing: 0.3px !important;
      margin-bottom: 5px !important;
      line-height: 1 !important;
    }

    .rental-detail-value {
      font-size: 13px !important;
      color: #1f2937 !important;
      font-weight: 700 !important;
      line-height: 1.1 !important;
    }

    .rental-detail-value.amount {
      color: #ed1c24 !important;
      font-size: 15px !important;
    }

    .rental-detail-value.vehicle {
      font-size: 14px !important;
      color: #374151 !important;
    }

    .user-info-card {
      background: #f9fafb !important;
      border: 2px solid #e5e7eb !important;
      border-radius: 16px !important;
      padding: 16px !important;
      margin-bottom: 16px !important;
    }

    .user-info-row {
      display: flex !important;
      justify-content: space-between !important;
      margin-bottom: 12px !important;
      padding-bottom: 12px !important;
      border-bottom: 1px solid #e5e7eb !important;
    }

    .user-info-row:last-child {
      margin-bottom: 0 !important;
      border-bottom: none !important;
      padding-bottom: 0 !important;
    }

    .user-info-label {
      font-size: 13px !important;
      color: #6b7280 !important;
      font-weight: 500 !important;
    }

    .user-info-value {
      font-size: 14px !important;
      color: #1f2937 !important;
      font-weight: 600 !important;
    }

    .pay-now-btn {
      width: 100% !important;
      padding: 14px 20px !important;
      background: linear-gradient(135deg, #ed1c24 0%, #b91419 100%) !important;
      color: #ffffff !important;
      border: none !important;
      border-radius: 16px !important;
      font-family: 'Roboto', sans-serif !important;
      font-size: 16px !important;
      font-weight: 600 !important;
      cursor: pointer !important;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
      box-shadow: 0 8px 20px rgba(237, 28, 36, 0.3) !important;
      letter-spacing: 0.5px !important;
    }

    .pay-now-btn:hover {
      transform: translateY(-2px) !important;
      box-shadow: 0 12px 28px rgba(237, 28, 36, 0.4) !important;
    }

    .pay-now-btn:active {
      transform: translateY(0) !important;
    }

    .pay-now-btn:disabled {
      opacity: 0.6 !important;
      cursor: not-allowed !important;
      transform: none !important;
    }

    .spinnerBack {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 9998;
    }

    .spinner {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 9999;
    }

    @media (max-width: 480px) {
      .rental-form-container {
        padding: 16px !important;
      }

      .rental-details-grid {
        grid-template-columns: 1fr !important;
      }

      /* .date-time-row {
        flex-direction: column !important;
      } */

      .pay-now-btn {
        padding: 12px 16px !important;
        font-size: 15px !important;
      }
    }