  body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #f5f7fa;
      margin: 0;
      padding: 0;
      color: #333;
    }
    
    .container {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 10px;
    }
    
    .header {
      background-color: #3498db;
      color: white;
      padding: 10px;
      border-radius: 8px;
      margin-bottom: 20px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      text-align: center; 
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: 60px;
    }
    
    .header h3 {
      margin: 0;
      margin-bottom: 5px;
    }
    
    .header a {
      color: white;
      text-decoration: none;
    }
    
    .header a:hover {
      text-decoration: underline;
    }
    
    .tour-details {
      background-color: white;
      border-radius: 8px;
      padding: 15px;
      margin-bottom: 20px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .tour-details h4 {
      margin-top: 0;
      color: #2c3e50;
      margin-bottom: 10px;
    }
    
    .tour-info {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 10px;
    }
    
    .info-card {
      background-color: #f8f9fa;
      padding: 10px;
      border-radius: 5px;
      border-left: 4px solid #3498db;
    }
    
    .info-card h6 {
      margin: 5px 0;
      color: #3498db; 
    }
    .info-card h5 {
      margin: 5px 0;
      color: #000066; 
    }
    
    .status-indicator {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      margin: 15px 0;
      gap: 15px;
    }
    
    .status-item {
      display: flex;
      align-items: center;
      gap: 5px;
    }
    
    .status-color {
      width: 20px;
      height: 20px;
      border-radius: 4px;
    }
    
    .bus-layout {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin: 20px 0;
      overflow-x: auto;
      width: 100%;
    }
    
    table {
      border-collapse: collapse;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      background-color: white;
      margin: 0 auto;
    }
    
    td {
      padding: 5px;
      text-align: center;
      border: 1px solid #ddd;
    }
    
    .spanx {
      display: inline-block;
      width: 35px;
      height: 35px;
      line-height: 35px;
      text-align: center;
      background-color: #e0e0e0;
      border-radius: 5px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 14px;
    }
    
    .spanx:hover {
      transform: scale(1.05);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    
    .spanx.selected {
      background-color: green;
      color: white;
    }
    
    .spanx.booked {
      background-color: #ff6b6b;
      color: white;
      cursor: not-allowed;
    }
    
    .driver {
      background-color: #b8c6db;
      font-weight: bold;
      font-size: 12px;
    }
    
    .form-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
      margin: 20px 0;
    }
    
    .booking-form {
      background-color: white;
      padding: 15px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      width: 100%;
      max-width: 300px;
      margin-bottom: 15px;
      position: relative;
    }
    
    .booking-form h4 {
      margin-top: 0;
      padding-bottom: 10px;
      border-bottom: 2px solid #3498db;
      color: #2c3e50;
      font-size: 16px;
    }
    
  /* Form Container Styling */
.booking-form {
  background: linear-gradient(135deg,  #33ccff 0%, #0099cc 50%, #006080 100%);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.2), 0 8px 16px rgba(22, 163, 74, 0.1);
  position: relative;
  max-width: 320px;
  margin: 20px auto;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Form Title */
.booking-form h4 {
  color: white;
  text-align: center;
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
}

/* Form Group Styling */
.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: white;
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
}

/* Enhanced Input Styling */
.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 15px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
}

.form-group input:focus {
  outline: none;
  border-color: #22c55e;
  background: white;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15), 0 4px 12px rgba(34, 197, 94, 0.2);
  transform: translateY(-2px);
}

.form-group input:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: white;
}

/* Placeholder styling */
.form-group input::placeholder {
  color: #888;
  font-style: italic;
  transition: opacity 0.3s ease;
}

.form-group input:focus::placeholder {
  opacity: 0.5;
}

/* Input validation states */
.form-group input:valid {
  border-color: #22c55e;
}

.form-group input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

/* Close Button Styling */
.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.close-btn:hover {
  background: rgba(239, 68, 68, 0.9);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.close-btn:active {
  transform: scale(0.95);
}

/* Floating Label Effect (Optional Enhancement) */
.form-group.floating-label {
  position: relative;
}

.form-group.floating-label input {
  padding-top: 24px;
  padding-bottom: 8px;
}

.form-group.floating-label label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 16px;
  color: #888;
  font-weight: 400;
  transition: all 0.3s ease;
  pointer-events: none;
  background: transparent;
}

.form-group.floating-label input:focus + label,
.form-group.floating-label input:not(:placeholder-shown) + label {
  top: 4px;
  font-size: 12px;
  color: white;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 480px) {
  .booking-form {
    margin: 10px;
    padding: 24px 20px;
    border-radius: 12px;
  }
  
  .form-group input {
    padding: 12px 14px;
    font-size: 14px;
  }
  
  .booking-form h4 {
    font-size: 18px;
  }
}

/* Animation for form appearance */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-form {
  animation: slideInUp 0.4s ease-out;
}

/* Loading state for inputs */
.form-group input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #f5f5f5;
}
    
    .status-message {
      text-align: center;
      margin: 15px 0;
      padding: 10px;
      border-radius: 5px;
    }
    
    .success {
      background-color: #d4edda;
      color: #155724;
    }
    
    .error {
      background-color: #f8d7da;
      color: #721c24;
    }
    
    .loading {
      background-color: #e2f3f5;
      color: #0c7b93;
    }
    
    .hide {
      display: none;
    }
    
    #bookSeats {
      display: block;
      margin: 20px auto;
      padding: 12px 25px;
      background-color: #3498db;
      color: white;
      border: none;
      border-radius: 10px;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.3s;
      width: 100%;
      max-width: 300px;
    }
    
    #bookSeats:hover {
      background-color: #2980b9;
    }
    
    #bookSeats:disabled {
      background-color: #95a5a6;
      cursor: not-allowed;
    }
    
    #selectedSeats {
      color: #2c3e50;
      text-align: center;
      margin: 15px 0;
      font-weight: bold;
    }

    .bus-tabs {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-bottom: 15px;
    }
    
    .bus-tab {
      padding: 8px 15px;
      background-color: #e0e0e0;
      border-radius: 5px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .bus-tab.active {
      background-color: #3498db;
      color: white;
    }

    /* Mobile Specific Styles */
    @media (max-width: 768px) {
      .container {
        width: 95%;
        padding: 5px;
      }
      
      .tour-info {
        grid-template-columns: 1fr;
      }
      
      .spanx {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 12px;
      }
      
      td {
        padding: 3px;
        font-size: 12px;
      }
      
      .header {
        margin-bottom: 15px;
      }
      
      .header h3 {
        font-size: 18px;
      }
      
      .status-indicator {
        flex-direction: row;
        justify-content: space-around;
      }
      
      .status-item {
        font-size: 12px;
      }
      
      .form-container {
        justify-content: center;
      }
      
      .booking-form {
        width: 100%;
      }
      
      .bus-layout {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }
      
      table {
        min-width: 320px;
      }
    }