
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f8fb;
  color: #333;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  padding: 2rem 1rem;
}
.confirmation-section {
  max-width: 1280px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}
.confirmation-section h1 {
  color: #2c3e50;
  font-size: 2.25rem;
  margin-bottom: 1rem;
  text-align: center;
}
.confirmation-section p {
  text-align: center;
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-style: italic;
}
.action-links {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.action-links a, .action-links button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.8rem;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  transition: color 0.3s;
}
.action-links button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.print-icon { color: #28a745; }
.email-icon { color: #007bff; }
.new-suggestion-icon { color: #6c757d; }
.modify-icon { color: #ff8c00; }
.action-links a:hover, .action-links button:hover {
  color: #0077b6;
}
.action-links a:hover .tooltip, .action-links button:hover .tooltip {
  visibility: visible;
  opacity: 1;
}
.tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: -40px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: opacity 0.3s;
  z-index: 1;
}
.itinerary {
  width: 100%;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
  text-align: left;
  box-sizing: border-box;
}
.itinerary h1 {
  background-color: transparent !important;
}
.back-link {
  display: block;
  text-align: center;
  margin: 2rem 0;
  color: #0096c7;
  font-size: 1.1rem;
  text-decoration: none;
}
.back-link:hover {
  text-decoration: underline;
  color: #0077b6;
}
.nav-icon {
  height: 30px;
  width: auto;
  margin-right: 8px;
}
.nav-brand {
  display: flex;
  align-items: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}
.hamburger span {
  width: 100%;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}
.nav-links {
  display: flex;
  space-x-6;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
.dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 8px;
  padding: 8px 0;
}
.dropdown-menu a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s;
}
.dropdown-menu a:hover {
  background-color: #f1f1f1;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
@media (max-width: 640px) {
  main {
    padding: 0;
  }
  .confirmation-section {
    max-width: 100%;
    margin: 0;
    padding: 1rem;
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
  }
  .itinerary {
    width: 100%;
    padding: 10px;
    border-radius: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }
  .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(to bottom, #60a5fa, #4c6ef5);
    width: 100%;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    margin: 0.5rem 0;
  }
  .nav-links a {
    font-size: 1.1rem;
    padding: 0.5rem;
    display: block;
    text-align: center;
  }
  .nav-brand h1 {
    font-size: 1.125rem;
  }
  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
  }
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  .action-links {
    gap: 1rem;
  }
  .action-links a, .action-links button {
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
  }
  .confirmation-section h1 {
    font-size: 1.75rem;
  }
  .confirmation-section p {
    font-size: 0.95rem;
  }
  .itinerary {
    padding: 15px;
    font-size: 12px;
    line-height: 1.4;
  }
}
@media print {
  body * {
    visibility: hidden;
  }
  .confirmation-section, .confirmation-section * {
    visibility: visible;
  }
  .confirmation-section {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 1rem;
  }
  .action-links, .back-link, nav, footer {
    display: none !important;
  }
  .itinerary {
    background-color: transparent;
    padding: 0;
    font-size: 12pt;
  }
  h1 {
    font-size: 1.5rem;
  }
  p {
    font-size: 1rem;
  }
}
.loading-spinner {
  display: none;
  border: 3px solid rgba(0, 150, 199, 0.3);
  border-top: 3px solid #0096c7;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.floating-chatbot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #00c4b4;
  color: white;
  padding: 0.75rem;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-size: 1.5rem;
  z-index: 50;
  cursor: pointer;
}
.floating-chatbot:hover {
  background-color: #009c8c;
}
