/* 🧱 General Reset */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #001f3f; /* Use solid dark blue instead of bg.jpg */
  color: #fff;
}

/* 📦 Main Container Style */
.container {
  max-width: 400px;
  margin: 80px auto;
  background: rgba(0, 0, 0, 0.65);
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 0 20px #000;
  animation: fadeIn 1s ease;
}

/* ✍️ Input Boxes */
.input-box {
  margin-bottom: 15px;
}

.input-box label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.input-box input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
}

.input-box input:focus {
  outline: none;
  box-shadow: 0 0 8px #00b4d8;
  transition: box-shadow 0.3s ease;
}

/* 🔘 Buttons */
button {
  background-color: #00b4d8;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.2s ease;
}

button:hover {
  background-color: #0077b6;
  transform: scale(1.05);
}

button.cancel {
  background-color: #d00000;
}

button.cancel:hover {
  background-color: #9e0000;
}

/* 🎯 Glowing Button */
.glow-button {
  background-color: #00b4d8;
  box-shadow: 0 0 8px #00b4d8;
}

.glow-button:hover {
  background-color: #0077b6;
  box-shadow: 0 0 12px #00b4d8;
}

/* 🔴 Cancel Button Glow */
.glow-red {
  background-color: #d00000;
  box-shadow: 0 0 10px #ff4d4d;
  transition: 0.3s ease;
}

.glow-red:hover {
  background-color: #a30000;
  transform: scale(1.05);
  box-shadow: 0 0 15px #ff4d4d;
}

/* 🟣 Animated Title Emoji */
.animated-title {
  text-align: center;
  font-size: 26px;
  animation: floatEmoji 1.5s ease-in-out infinite alternate;
  color: #90e0ef;
}

@keyframes floatEmoji {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

/* ✈️ Plane Animation */
.plane {
  width: 100px;
  display: block;
  margin: 0 auto;
  animation: flyUp 2.5s ease-in-out forwards;
}

@keyframes flyUp {
  0% {
    transform: translateY(250px) scale(0.6);
    opacity: 0;
  }
  50% {
    transform: translateY(-30px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-300px) scale(1.2);
    opacity: 0;
  }
}

/* 🎉 Blast Text Animation */
.blast-text {
  animation: popIn 1.2s ease forwards;
  font-size: 24px;
  color: #48cae4;
  text-align: center;
  margin-top: -30px;
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* 🕐 Flight Time Animation */
.flight-time {
  text-align: center;
  font-size: 20px;
  color: #ffffff;
  margin: 15px 0;
  animation: fadeIn 1.5s ease;
}

/* 📥 Slide-in Animation */
.slide-in {
  animation: slideInUp 1.2s ease;
}

@keyframes slideInUp {
  from {
    transform: translateY(80px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 💥 Fade-in Effect */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 🧼 View Booking - Fade & Bounce */
.fade-box {
  animation: fadeIn 1.3s ease;
}

.fade-box p {
  animation: bounceIn 0.4s ease;
  margin: 8px 0;
  font-size: 17px;
  color: #e0f7fa;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* 🚫 Shake Animation on Cancel Fail */
.shake {
  animation: shakeEffect 0.5s ease;
}

@keyframes shakeEffect {
  0% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-6px); }
  100% { transform: translateX(0); }
}

/* 🎉 Bounce Effect */
.bounce {
  animation: bounceIn 1s ease;
}

/* 📱 Mobile Responsive */
@media screen and (max-width: 500px) {
  .container {
    margin: 40px 20px;
    padding: 20px;
  }

  .blast-text {
    font-size: 20px;
  }

  button {
    width: 100%;
  }
}