/* View transition styles */
            .table-responsive, #mapView, .pagination {
                transition: opacity 0.3s ease, display 0.3s ease;
            }

            /* Ensure proper spacing when pagination is hidden */
            #mapView {
                margin-bottom: 30px;
            }

            .map-info-window {
                max-width: 300px;
                padding: 15px;
                font-family: 'Open Sans', sans-serif;
            }

            .map-info-window h5 {
                margin: 0 0 10px;
                color: #0088cc;
                font-weight: 600;
                font-size: 16px;
                border-bottom: 1px solid #eee;
                padding-bottom: 8px;
            }

            .map-info-window p {
                margin: 0 0 8px;
                color: #666;
                font-size: 13px;
                line-height: 1.4;
            }

            .map-info-window i {
                margin-right: 5px;
                color: #0088cc;
            }

            .map-info-window .btn {
                display: block;
                text-align: center;
                margin-top: 12px;
                transition: all 0.3s ease;
            }

            .map-loading {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                background: rgba(255, 255, 255, 0.95);
                padding: 20px 30px;
                border-radius: 8px;
                text-align: center;
                box-shadow: 0 2px 10px rgba(0,0,0,0.1);
                z-index: 1000;
            }

            .loading-spinner {
                color: #0088cc;
            }

            .loading-spinner p {
                margin: 10px 0 0;
                color: #666;
                font-size: 14px;
            }

            .custom-map-control {
                background: white;
                border: none;
                border-radius: 4px;
                box-shadow: 0 2px 6px rgba(0,0,0,0.15);
                margin: 10px;
                padding: 10px;
                font-size: 16px;
                cursor: pointer;
                transition: all 0.3s ease;
            }

            .custom-map-control:hover {
                background: #f8f9fa;
                box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            }

            .custom-controls-container {
                margin: 10px;
            }

            #schoolsMap {
                background: #f8f9fa;
                border-radius: 8px;
                overflow: hidden;
                box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            }

            .gm-style-iw {
                padding: 0 !important;
                border-radius: 8px;
                overflow: hidden;
            }

            .gm-style-iw > button {
                top: 0 !important;
                right: 0 !important;
                background: white !important;
                border-radius: 0 8px 0 8px !important;
                color: #666 !important;
            }

            #mapLegend {
                background: white;
                border-radius: 8px;
                box-shadow: 0 2px 10px rgba(0,0,0,0.1);
                padding: 15px;
                margin-top: 20px;
            }

            #mapLegend h5 {
                color: #333;
                margin-bottom: 10px;
                font-size: 16px;
                font-weight: 600;
            }

            #mapLegend i {
                color: #0088cc;
                margin-right: 8px;
                font-size: 14px;
            }

            @media (max-width: 767px) {
                .map-info-window {
                    max-width: 250px;
                    padding: 12px;
                }

                .custom-map-control {
                    padding: 8px;
                    font-size: 14px;
                }

                #schoolsMap {
                    height: 400px !important;
                }
            }

/* Breadcrumb Styles */
    .breadcrumb {
        background: #f8f9fa;
        border-radius: 4px;
        padding: 15px;
        margin-bottom: 30px;
        font-size: 14px;
    }
    
    .breadcrumb > li + li:before {
        content: "›";
        color: #0088cc;
        padding: 0 10px;
    }
    
    .breadcrumb a {
        color: #0088cc;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    
    .breadcrumb a:hover {
        color: #005580;
        text-decoration: none;
    }
    
    .breadcrumb .active {
        color: #6c757d;
    }
    
    .breadcrumb i {
        margin-right: 5px;
    }
    
    @media (max-width: 767px) {
        .breadcrumb {
            padding: 10px;
            font-size: 13px;
            margin-bottom: 20px;
        }
        
        .breadcrumb > li + li:before {
            padding: 0 5px;
        }
    }

.page-header {
  background: #111 !important;
  color: #fff !important;
  padding: 24px 0 24px 24px;
  margin-bottom: 0;
  border-radius: 0;
}
.page-header h1 {
  color: #fff !important;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0;
}

/* Stats Section Styles */
    .stats-container {
        padding: 15px 0;
        background: #fff;
        margin-bottom: 20px;
    }

    .stat-box {
        padding: 12px 20px;
        background: #f8f9fa;
        border-radius: 6px;
        transition: transform 0.3s ease;
        margin-bottom: 10px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .stat-content {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
        text-align: left;
    }

    .stat-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    }

    .stat-icon {
        flex-shrink: 0;
        width: 35px;
        text-align: center;
    }

    .stat-icon i {
        font-size: 1.5em;
        color: #0088cc;
    }

    .stat-box h3 {
        color: #555;
        font-size: 14px;
        margin: 0;
        font-weight: 600;
    }

    .stat-box .counter {
        font-size: 20px;
        font-weight: bold;
        color: #0088cc;
        margin-top: 5px;
    }

    .stat-box .btn-group {
        margin-top: 5px;
    }

    .stat-box .btn-group .btn {
        padding: 4px 8px;
        font-size: 12px;
    }

    @media (max-width: 767px) {
        .stat-box {
            padding: 10px 15px;
        }
        
        .stat-icon i {
            font-size: 1.2em;
        }
        
        .stat-box h3 {
            font-size: 13px;
        }
        
        .stat-box .counter {
            font-size: 18px;
        }
    }

/* Search Styles */
    .input-group {
        position: relative;
    }

    .search-clear {
        position: absolute;
        right: 50px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 3;
        padding: 0;
        color: #999;
        background: none;
        border: none;
        cursor: pointer;
    }

    .search-clear:hover {
        color: #666;
    }

    #noSearchResults {
        margin: 20px 0;
        padding: 15px;
    }

    /* Highlight matching text */
    .highlight {
        background-color: #fff3cd;
        padding: 2px;
    }

#schoolSearch {
        border-radius: 4px 0 0 4px;
        border-right: none;
    }
    
    #schoolSearch:focus {
        box-shadow: none;
        border-color: #0088cc;
    }
    
    .input-group-btn .btn {
        border-radius: 0 4px 4px 0;
    }
    
    #entriesPerPage {
        width: auto;
        display: inline-block;
    }
    
    @media (max-width: 767px) {
        .form-inline {
            justify-content: flex-start !important;
            margin-top: 15px;
        }
    }

.table th {
    cursor: pointer;
    position: relative;
    padding-right: 20px !important;
  }
  
  .table th a {
    color: #333;
    text-decoration: none;
    display: block;
  }
  
  .table th a:after {
    content: '↕';
    position: absolute;
    right: 8px;
    color: #999;
  }
  
  .table th.asc a:after {
    content: '↓';
    color: #333;
  }
  
  .table th.desc a:after {
    content: '↑';
    color: #333;
  }
  
  .table th:hover {
    background-color: #f5f5f5;
  }
  
  /* Airport link styles */
  .airport-link {
    color: #0088cc;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .airport-link:hover {
    color: #006da3;
    text-decoration: underline;
  }
  
  @media (max-width: 767px) {
    .table th, .table td {
      min-width: 120px;
    }
    .table-responsive {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
  }