/* Flight Booking System - Global Stylesheet */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-bg: #f5f7fa;
    --card-radius: 10px;
    --soft-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--light-bg);
    color: #333;
}

/* Navbar */
.app-navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.app-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.app-navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}
.app-navbar .nav-link:hover {
    color: #fff !important;
}

/* Cards */
.app-card {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 25px;
    box-shadow: var(--soft-shadow);
    margin-bottom: 20px;
}

/* Buttons */
.btn-primary-app {
    background: var(--primary-color);
    border: none;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-primary-app:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.status-scheduled { background: #d4edff; color: #0066cc; }
.status-boarding { background: #fff3cd; color: #856404; }
.status-departed,
.status-in_flight,
.status-inflight { background: #cce5ff; color: #0056b3; }
.status-landing { background: #d1ecf1; color: #0c5460; }
.status-landed { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }
.status-confirmed { background: #d4edda; color: #155724; }
.status-pending { background: #fff3cd; color: #856404; }
.status-completed { background: #cfe2ff; color: #084298; }
.status-failed { background: #f8d7da; color: #721c24; }

/* Footer */
.app-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 70px 0 30px;
    margin-top: 80px;
    color: #94a3b8;
    position: relative;
    overflow: hidden;
}
.app-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}
.app-footer h5 {
    color: #f8fafc;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
}
.app-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}
.app-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.app-footer a:hover {
    color: #ffffff;
}
.app-footer .footer-links li {
    margin-bottom: 12px;
}
.app-footer .footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.app-footer .footer-links a i {
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.25s ease;
    color: var(--primary-color);
}
.app-footer .footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}
.app-footer .footer-links a:hover {
    color: #ffffff;
    transform: translateX(6px);
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-contact-item:hover .footer-contact-icon {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}
.footer-contact-text {
    font-size: 0.9rem;
    line-height: 1.4;
}
.footer-contact-text a {
    display: block;
}
.social-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
}
.social-icon-btn:hover {
    transform: translateY(-4px) scale(1.1);
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.social-icon-btn.social-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}
.social-icon-btn.social-twitter:hover {
    background: #000000;
    border-color: #333333;
}
.social-icon-btn.social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}
.social-icon-btn.social-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    margin-top: 40px;
    font-size: 0.85rem;
}
.footer-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.25rem;
    margin-right: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.footer-brand-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
}

/* Sidebar */
.sidebar-menu {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 20px;
    box-shadow: var(--soft-shadow);
}
.sidebar-menu .nav-link {
    color: #333;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}
.sidebar-menu .nav-link:hover {
    background: #f1f3f5;
    color: var(--primary-color);
}
.sidebar-menu .nav-link.active {
    background: var(--primary-color);
    color: #fff;
}

/* Stat cards */
.stat-card {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 22px;
    box-shadow: var(--soft-shadow);
    text-align: center;
}
.stat-card .stat-value {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin: 6px 0;
}
.stat-card .stat-label {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Flight cards */
.flight-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: var(--card-radius);
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.25s ease;
}
.flight-card:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-3px);
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

/* Booking item */
.booking-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}
.booking-item:hover {
    box-shadow: var(--hover-shadow);
}

/* Print styles for boarding pass */
@media print {
    .no-print { display: none !important; }
    body { background: #fff !important; }
}

/* Autocomplete Dropdown List styling */
.autocomplete-wrapper {
    position: relative;
}
.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    padding: 6px 0;
    margin-top: 4px;
}
.autocomplete-suggestion {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 13px;
    color: #334155;
    transition: background 0.15s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}
.autocomplete-suggestion:hover,
.autocomplete-suggestion.active {
    background: #f1f5f9;
    color: var(--primary-color);
}
.autocomplete-suggestion .airport-code {
    font-weight: 700;
    color: var(--primary-color);
    background: #eff6ff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

/* Timeline & Layovers */
.timeline-stop-dot {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dc3545;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.3);
    z-index: 2;
}
.layover-badge {
    background: #fff5f5;
    color: #e53e3e;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 4px;
    text-transform: uppercase;
    border: 1px solid #feb2b2;
}
.urgency-badge {
    background: #fffaf0;
    color: #dd6b20;
    border: 1px solid #fbd38d;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(221, 107, 32, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.urgency-badge-card {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    animation: flash-pulse 2s infinite ease-in-out;
}
@keyframes flash-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(0.95); }
}

/* Search Card Active Outline & Glowing */
.search-card-active {
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.4), 0 10px 30px rgba(0,0,0,0.15) !important;
    animation: glow-pulse 1.5s infinite alternate ease-in-out;
    border: 1px solid var(--primary-color) !important;
}
@keyframes glow-pulse {
    from { box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2), 0 10px 30px rgba(0,0,0,0.15); }
    to { box-shadow: 0 0 0 5px rgba(0, 123, 255, 0.5), 0 10px 30px rgba(0,0,0,0.2); }
}

.btn-flash-highlight {
    animation: highlight-pulse 1s infinite alternate ease-in-out;
    background: #ffc107 !important;
    color: #212529 !important;
    border: 1px solid #ffb300 !important;
}
@keyframes highlight-pulse {
    from { transform: scale(1); }
    to { transform: scale(1.03); }
}

/* Round Trip Grid & Sticky Footer */
.sticky-checkout-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.08);
    z-index: 1050;
    padding: 16px 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
}
.sticky-checkout-footer.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.sticky-checkout-footer h5 {
    margin: 0;
    font-weight: 700;
}
.sticky-checkout-footer p {
    margin: 0;
}
.segment-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.segment-outbound {
    background: #ebf8ff;
    color: #2b6cb0;
}
.segment-return {
    background: #f0fff4;
    color: #22543d;
}

/* Sidebar and Content Card Sync for Dashboard views */
.sidebar {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
}
.sidebar .nav-link {
    color: #333;
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}
.sidebar .nav-link:hover {
    background: #f0f0f0;
    color: var(--primary-color);
}
.sidebar .nav-link.active {
    background: var(--primary-color);
    color: white !important;
}
.content-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

/* Font Awesome Icon Enhancements */
.fas, .far, .fal, .fab {
    transition: all 0.3s ease;
}

/* Icon colors */
.icon-primary { color: var(--primary-color); }
.icon-success { color: var(--success-color); }
.icon-danger { color: var(--danger-color); }
.icon-warning { color: var(--warning-color); }
.icon-info { color: var(--info-color); }

/* Icon sizes */
.icon-sm { font-size: 0.875rem; }
.icon-md { font-size: 1.25rem; }
.icon-lg { font-size: 1.5rem; }
.icon-xl { font-size: 2rem; }
.icon-2xl { font-size: 2.5rem; }

/* Icon badges */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f3f5;
    color: var(--primary-color);
    font-size: 0.75rem;
}
.icon-badge.primary { background: var(--primary-color); color: white; }
.icon-badge.success { background: var(--success-color); color: white; }
.icon-badge.danger { background: var(--danger-color); color: white; }

/* Icon with text alignment */
.icon-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Animated icons */
.icon-spin { animation: fa-spin 2s infinite linear; }
.icon-pulse { animation: fa-pulse 1.5s infinite; }
.icon-bounce { animation: bounce 1s infinite; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Navigation icon styling */
.navbar-brand i, .navbar .nav-link i { 
    vertical-align: -0.125em;
}

/* Admin sidebar icons */
.admin-sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

/* Table icons */
table .icon-action {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
table .icon-action:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* Hover effects on icon buttons */
.btn i {
    transition: transform 0.2s ease;
}
.btn:hover i {
    transform: translateY(-2px);
}

/* Icon transitions for status changes */
.status-icon-transition {
    animation: statusChange 0.6s ease;
}
@keyframes statusChange {
    0% { transform: scale(0.8) rotate(-15deg); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* User Portal - Premium Design Language */
.premium-sidebar-menu {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #e9ecef;
}
.premium-sidebar-menu h5 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #a0aec0;
    margin-bottom: 20px !important;
}
.premium-sidebar-menu .nav-link {
    color: #4a5568;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 3px solid transparent;
}
.premium-sidebar-menu .nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: #718096;
    transition: all 0.25s ease;
}
.premium-sidebar-menu .nav-link:hover {
    background: #f7fafc;
    color: var(--primary-color);
    border-left-color: var(--secondary-color);
    transform: translateX(4px);
}
.premium-sidebar-menu .nav-link:hover i {
    color: var(--primary-color);
}
.premium-sidebar-menu .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white !important;
    border-left-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}
.premium-sidebar-menu .nav-link.active i {
    color: white !important;
}

/* Premium Greeting Card */
.premium-welcome-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.premium-welcome-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.premium-welcome-card h2 {
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}
.premium-welcome-card p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Premium Statistics Card */
.premium-stat-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.premium-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
}
.premium-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
    border-color: rgba(203, 213, 225, 0.8);
}
.premium-stat-card .stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.08);
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 16px;
}
.premium-stat-card.stat-confirmed::before {
    background: var(--success-color);
}
.premium-stat-card.stat-confirmed .stat-icon-wrapper {
    background: rgba(40, 167, 69, 0.08);
    color: var(--success-color);
}
.premium-stat-card.stat-spent::before {
    background: #6366f1;
}
.premium-stat-card.stat-spent .stat-icon-wrapper {
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
}
.premium-stat-card .stat-value {
    font-size: 2.25rem;
    font-weight: 750;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 4px;
}
.premium-stat-card .stat-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
}

/* Premium Booking Row Cards */
.premium-booking-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #e9ecef;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.premium-booking-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
    border-color: rgba(203, 213, 225, 0.8);
}
.premium-booking-card.booking-accommodation {
    border-left-color: var(--success-color);
}
.premium-booking-card .airline-logo-container {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Back Link with slide animation */
.premium-back-link {
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.premium-back-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}
.premium-back-link i {
    transition: transform 0.2s ease;
}
.premium-back-link:hover i {
    transform: translateX(-4px);
}

/* Premium Form Elements */
.premium-form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid #e9ecef;
}
.premium-form-card .form-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.premium-form-card .input-group-text {
    background: #f7fafc;
    border-color: #e2e8f0;
    color: #718096;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 10px 0 0 10px;
}
.premium-form-card .form-control,
.premium-form-card .form-select {
    border-color: #e2e8f0;
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: 10px;
    color: #2d3748;
}
.premium-form-card .input-group .form-control,
.premium-form-card .input-group .form-select {
    border-radius: 0 10px 10px 0;
}
.premium-form-card .form-control:focus,
.premium-form-card .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

/* Boarding Pass / Ticket Accent Styles */
.premium-ticket-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    overflow: hidden;
    position: relative;
}
.premium-ticket-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 24px 30px;
}
.premium-ticket-body {
    padding: 30px;
}
.boarding-pass-badge {
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}
.airport-code-glow {
    font-size: 2.5rem;
    font-weight: 850;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -1px;
}
.ticket-perforation {
    display: flex;
    align-items: center;
    margin: 24px 0;
    position: relative;
}
.ticket-perforation::before {
    content: '';
    position: absolute;
    left: -40px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--light-bg);
    border-right: 1px solid #e9ecef;
    z-index: 10;
}
.ticket-perforation::after {
    content: '';
    position: absolute;
    right: -40px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--light-bg);
    border-left: 1px solid #e9ecef;
    z-index: 10;
}
.ticket-perforation-line {
    width: 100%;
    border-top: 2px dashed #cbd5e1;
    height: 1px;
}

/* Search Button Highlight */
.btn-book {
    background: var(--primary-color) !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 8px !important;
    color: white !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}
.btn-book:hover {
    background: var(--secondary-color) !important;
    transform: scale(1.02) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Print styles for digital boarding passes / stay vouchers */
@media print {
    /* Hide top nav, hero banner, tab bar, footer, and other tabs */
    nav, 
    .navbar,
    .hero-section, 
    footer, 
    .footer-section,
    #home-main-tabs,
    .nav-tabs,
    .tab-content > .tab-pane:not(.active),
    .main-tab-content:not(#check-in-tab-content) {
        display: none !important;
    }

    /* Hide form inputs, alert banners, and helper action buttons inside check-in tab */
    #form-check-in,
    #check-in-tab-content form,
    #check-in-result .alert,
    #check-in-result .alert-success,
    #check-in-result button,
    #check-in-result .btn,
    #check-in-result .text-center.mb-4,
    .text-center.mb-4 {
        display: none !important;
    }

    /* Ensure body and html are optimized for print page boundaries */
    body, html {
        background: #ffffff !important;
        color: #000000 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* Remove visual padding/borders/backgrounds from container cards during print */
    .container, 
    .search-card, 
    .search-card-body,
    #check-in-tab-content,
    #check-in-result {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Isolate and format the boarding pass / stay voucher card for high-quality printing */
    .boarding-pass-card {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        max-width: 800px !important;
        margin: 0 auto !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 16px !important;
        box-shadow: none !important;
        page-break-inside: avoid !important;
    }
}





