/* Modern Check-In System Styles */

body:not(.login-bg) {
    background: #f4f6fa !important;
    font-family: 'SF Pro Display', 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1e3a8a;
    min-height: 100vh;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff !important;
    letter-spacing: 1px;
}

.navbar-dark {
    background: #1e3a8a !important;
    box-shadow: 0 4px 24px rgba(30, 58, 138, 0.18);
    backdrop-filter: blur(8px);
}

.navbar-nav .nav-link {
    color: #eaf0fa !important;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    background: rgba(30,64,175,0.18);
    transform: translateY(-2px) scale(1.04);
}

.card, .manifest-box, .modal-content, .table, .form-control, .form-select {
    background: rgba(255,255,255,0.18) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 18px !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    color: #1e3a8a;
}

.card:hover {
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.18);
    transform: translateY(-4px) scale(1.01);
}

.card-header {
    background: rgba(30, 58, 138, 0.85) !important;
    color: #fff;
    border-bottom: none;
    font-weight: 600;
    border-radius: 18px 18px 0 0 !important;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.10);
}

.card-header h5, .card-header h6 {
    color: #ffffff;
    margin: 0;
}

.btn, .btn-primary, .btn.btn-primary, .quick-action-btn {
    border-radius: 14px;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    border: none;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.10);
    backdrop-filter: blur(8px);
}

.btn-primary, .btn.btn-primary, .quick-action-btn {
    background: #1e3a8a !important;
    color: #fff !important;
    border: 1.5px solid rgba(30,64,175,0.18);
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.18);
}

.btn-primary:hover, .btn.btn-primary:hover, .quick-action-btn:hover {
    background: #233a5e !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.22);
}

.btn-primary i, .btn.btn-primary i, .quick-action-btn i {
    color: #fff !important;
}

.btn-success {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
}

.btn-success:hover {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.form-control:focus, .form-select:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    background-color: #ffffff;
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.table {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.table thead th, .table-dark th, .card-header, .flight-summary-header {
    background: #1e3a8a !important;
    color: #fff !important;
    border: none;
    font-weight: 600;
    padding: 1rem;
    border-radius: 18px 18px 0 0 !important;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.10);
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background-color: #f8fafc;
    transform: scale(1.01);
}

.badge {
    font-size: 0.75em;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.badge.bg-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
}

.badge.bg-danger {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
}

.alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.list-group-item {
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: #f8fafc;
    transform: translateX(5px);
}

.progress {
    border-radius: 8px;
    height: 1.5rem;
    background-color: #e5e7eb;
    overflow: hidden;
}

.progress-bar {
    border-radius: 8px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

/* Dashboard specific styles */
.dashboard-stats .card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.dashboard-stats .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
}

/* Flight cards */
.flight-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.flight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
}

/* Icon styles with dark blue theme */
.fas, .fa {
    color: #1e3a8a;
}

.card-header .fas, .card-header .fa {
    color: #ffffff;
}

.navbar .fas, .navbar .fa {
    color: #ffffff;
}

/* Stats cards */
.bg-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
}

.bg-success {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
}

.bg-info {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%) !important;
}

.bg-warning {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
}

.bg-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%) !important;
}

.bg-danger {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
    
    .table {
        border: 1px solid #000 !important;
    }
    
    .table th,
    .table td {
        border: 1px solid #000 !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .table thead th {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

/* Additional modern enhancements */
.container {
    max-width: 1400px;
}

.mt-4 {
    margin-top: 2rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}

.py-4 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

/* Custom scrollbar for modern browsers */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Form validation styles */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

/* Tooltip styles */
.tooltip {
    font-size: 0.875rem;
}

/* Modal styles */
.modal-content {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    border-radius: 0.5rem 0.5rem 0 0;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 0.5rem 0.5rem;
}

/* Status indicators */
.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-active {
    background-color: #198754;
}

.status-inactive {
    background-color: #6c757d;
}

.status-warning {
    background-color: #ffc107;
}

.status-danger {
    background-color: #dc3545;
}

/* Icon styles */
.icon-sm {
    font-size: 0.875rem;
}

.icon-lg {
    font-size: 1.25rem;
}

.icon-xl {
    font-size: 1.5rem;
}

/* Text utilities */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Reports page customizations */
.reports-filter .form-control, .reports-filter .form-select {
    background: #f4f6fa !important;
    color: #1e3a8a !important;
    border: 1.5px solid #e0e6ef !important;
    box-shadow: none !important;
}

.stats-card {
    background: rgba(255,255,255,0.18) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 18px !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    color: #1e3a8a !important;
    text-shadow: none;
}
.stats-card i {
    color: #1e3a8a !important;
    opacity: 0.85;
}

.flight-summary-header {
    background: #1e3a8a !important;
    color: #fff !important;
    border-radius: 18px 18px 0 0 !important;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.10);
} 