/* Additional utility fixes if needed */
/* This file can be used for additional navbar fixes if needed */

/* Fix logo blurriness and stretching */
.nav-logo,
.footer-logo {
    filter: none !important;
    -webkit-filter: none !important;
    width: auto !important;
    max-width: 250px !important;
    height: auto !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    object-fit: contain;
}

.nav-logo {
    max-height: 85px !important;
}

.footer-logo {
    max-height: 75px !important;
}

/* Mobile Navbar Brute Force Fixes */
@media (max-width: 992px) {
    #navMenu:not(.active) {
        display: none !important;
    }

    #navMenu.active {
        display: flex !important;
        flex-direction: column !important;
    }

    .worldclass-navbar {
        height: auto !important;
        min-height: 90px !important;
        padding: 5px 0 !important;
        justify-content: flex-start !important;
    }

    .worldclass-navbar .nav-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: flex-start !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .worldclass-navbar .nav-container {
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .worldclass-navbar .nav-brand {
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }
}

/* Table Responsive Utility */
.table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin-bottom: 1rem !important;
}

.table th,
.table td {
    min-width: 120px;
    /* Ensure some breathing room */
}

/* Hide Google Places Autocomplete Branding Globally */
.pac-container::after,
.pac-container:after,
.pac-logo::after,
.pac-logo:after {
    display: none !important;
    content: none !important;
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
}

.pac-logo {
    background: none !important;
}

.pac-container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Ensure no ghost bar appears when empty */
.pac-container:empty {
    display: none !important;
}