.flight-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 1.05rem;
}
.flight-table th {
  background-color: #004d8e;
  color: white;
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 2px solid #003a6b;
  text-transform: none;
  letter-spacing: 0.5px;
}
.flight-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #dee2e6;
  vertical-align: middle;
}
.flight-table tr:nth-child(even) {
  background-color: #f8f9fa;
}
.flight-table tr:hover {
  background-color: #f0f7ff;
}

/* Time proximity highlighting */
.flight-row-near-time {
  animation: pulseGreen 2s infinite;
  background-color: rgba(40, 167, 69, 0.08) !important; /* Faint green background */
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.2); }
  70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

.flight-number {
  font-weight: 700;
  font-size: 1.1rem;
}
.flight-number a {
  color: #004d8e;
  text-decoration: none;
  transition: color 0.3s ease;
}
.flight-number a:hover {
  color: #0066cc;
  text-decoration: underline;
}
.airline-name {
  color: #004d8e;
  font-weight: 500;
}
.flight-status {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  min-width: 110px;
  max-width: none;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Status Classes - Complete Set */
.status-on-time { background-color: #d1e7dd; color: #0f5132; font-weight: 700; }
.status-confirmed { background-color: #d8f2e9; color: #0f5741; font-weight: 700; }
.status-delayed { background-color: #fff3cd; color: #664d03; font-weight: 700; }
.status-cancelled { background-color: #f8d7da; color: #842029; font-weight: 700; }
.status-landed { background-color: #cfe2ff; color: #084298; font-weight: 700; }
.status-departed { background-color: #e2e3ff; color: #2f2fb8; font-weight: 700; }
.status-belt-closed { background-color: #eaeaec; color: #4a4b4d; font-weight: 700; }
.status-gate-closed { background-color: #f8d7da; color: #842029; font-weight: 700; }
.status-kapi-kapandi { background-color: #f8d7da; color: #842029; font-weight: 700; }
.status-waiting { background-color: #d0f0f7; color: #0a6b7e; font-weight: 700; }
.status-go-to-gate { background-color: #fff8d9; color: #8a6d00; font-weight: 700; }
.status-check-in { background-color: #d1ecf1; color: #0c5460; font-weight: 700; }
.status-early-arrival { background-color: #d4edda; color: #155724; font-weight: 700; }
.status-carousel-open { background-color: #d9eef9; color: #0c5876; font-weight: 700; }
.status-bags-on-belt { background-color: #e2e3ff; color: #2f2fb8; font-weight: 700; }
.status-unknown { background-color: #e9ecef; color: #495057; font-weight: 700; }
.status-final-call { background-color: #ffe5cc; color: #804600; font-weight: 700; }
.status-boarding { background-color: #dff0d8; color: #3c763d; font-weight: 700; }
.status-no-info { background-color: #e9ecef; color: #495057; font-weight: 700; }

/* Current date/time display styling */
.current-datetime {
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
  margin-bottom: 1.25rem;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-color: #004d8e;
  padding: 12px 18px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.current-datetime .bi {
  margin-right: 8px;
  color: #ffa500;
}

/* Refresh button styling */
.refresh-button {
  background-color: #ff7200;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.refresh-button:hover {
  background-color: #e65c00;
  transform: translateY(-2px);
}
.refresh-button:active {
  transform: translateY(0);
}

.flight-count {
  display: inline-block;
  font-weight: 600;
  font-size: 1.05rem;
  color: white;
  background-color: #ff7200;
  padding: 6px 12px;
  border-radius: 20px;
  margin-left: 10px;
}

/* Disclaimer section */
.disclaimer {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  border-left: 4px solid #ffa500;
  margin-bottom: 30px;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Loading animation */
.loading-container {
  text-align: center;
  padding: 30px;
}

.loading-spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #004d8e;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

/* Search and filter section styling */
.filters-section {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.search-container {
  margin-bottom: 15px;
}

.search-input {
  border: 2px solid #dee2e6;
  border-radius: 4px;
  padding: 10px 15px;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: #004d8e;
  box-shadow: 0 0 0 0.2rem rgba(0, 77, 142, 0.25);
  outline: none;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.filter-select {
  background-color: white;
  border: 2px solid #dee2e6;
  border-radius: 4px;
  padding: 8px 15px;
  font-size: 0.95rem;
  min-width: 180px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-select:focus {
  border-color: #004d8e;
  box-shadow: 0 0 0 0.2rem rgba(0, 77, 142, 0.25);
  outline: none;
}

.filter-button {
  background-color: #004d8e;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 15px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-button:hover {
  background-color: #003a6b;
}

.filter-clear {
  background-color: #6c757d;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 15px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-clear:hover {
  background-color: #5a6268;
}

.filter-badge {
  display: inline-block;
  background-color: #e9ecef;
  color: #212529;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.85rem;
  margin-right: 8px;
  margin-bottom: 8px;
}

.filter-badge .close-btn {
  margin-left: 6px;
  cursor: pointer;
  font-weight: bold;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.no-results {
  text-align: center;
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .filter-container {
    flex-direction: column;
  }
  
  .filter-select {
    width: 100%;
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Check-in counter styling */
td[data-check-in],
td.check-in-counter {
  text-align: center;
}

/* Social Icons and Contact Info Styling - REMOVED AS THEY ARE IN styles.css */
/* .social-icons { ... } */
/* .social-icons a { ... } */
/* .social-icons a:hover { ... } */
/* .contact-info { ... } */
/* .contact-info i { ... } */
/* .contact-info { ... } */
/* .nav-link { ... } */
/* .top-bar .social-icons a, ... { ... } */

