/* FerryKarvenPay - Custom Stylesheet */
:root {
  --primary: #0A2540;
  --primary-dark: #061727;
  --brand: #00A896;
  --brand-hover: #028090;
  --accent: #02C39A;
  --amber: #F5A623;
  --slate-bg: #F8FAFC;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1E293B;
  background-color: #F8FAFC;
  overflow-x: hidden;
}

/* Glassmorphism */
.glass-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-dark {
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradients */
.gradient-brand {
  background: linear-gradient(135deg, #0A2540 0%, #004e64 60%, #00A896 100%);
}

.gradient-teal {
  background: linear-gradient(135deg, #00A896 0%, #028090 100%);
}

.gradient-hero-overlay {
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.82) 0%, rgba(10, 37, 64, 0.65) 60%, rgba(10, 37, 64, 0.92) 100%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Boarding Pass Ticket Perforation & Design */
.ticket-container {
  position: relative;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.perforation {
  position: relative;
  border-bottom: 2px dashed #CBD5E1;
}

.perforation::before,
.perforation::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: #0A2540;
  border-radius: 50%;
  bottom: -12px;
  z-index: 10;
}

.perforation::before {
  left: -12px;
}

.perforation::after {
  right: -12px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Modal styles */
.modal-backdrop {
  background: rgba(10, 37, 64, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero-search-card {
    margin-top: -2rem;
  }
}

/* Print Styles for Boarding Pass */
@media print {
  body * {
    visibility: hidden;
  }
  #printableTicket, #printableTicket * {
    visibility: visible;
  }
  #printableTicket {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    box-shadow: none !important;
    border: 1px solid #CBD5E1 !important;
  }
  .no-print {
    display: none !important;
  }
}
