/* Development banner styles */
        .development-banner {
            background-color: #ff9800;
            color: #fff;
            font-size: 12px;
            padding: 2px 5px;
            border-radius: 3px;
            margin-left: 10px;
            position: left;
        }

        /* Enhanced Query Builder Styles for Geodetic */
        .query-builder-form {
            max-width: 100%;
        }

        .glass-card {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(5px);
            border: 1px solid rgba(26, 42, 54, 0.1);
            transition: all 0.2s ease;
        }

        .glass-card:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(26, 42, 54, 0.1) !important;
        }

        /* Unified header color matching navbar/sidebar */
        .card-header-unified {
            background: linear-gradient(135deg, #1A2A36, #2c3e50) !important;
            color: white !important;
            border-bottom: none;
        }

        /* Tab Enhancement Styles */
        .nav-tabs-enhanced .nav-link {
            border: 1px solid transparent;
            border-top-left-radius: 0.5rem;
            border-top-right-radius: 0.5rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .nav-tabs-enhanced .nav-link:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            background-color: #f8f9fa;
            color: #6c757d;
        }

        .nav-tabs-enhanced .nav-link.active {
            background: linear-gradient(135deg, #1A2A36, #2c3e50);
            color: white !important;
            border-color: #1A2A36;
        }

        .nav-tabs-enhanced .nav-link:not(:disabled):hover {
            background: linear-gradient(135deg, rgba(26, 42, 54, 0.1), rgba(44, 62, 80, 0.1));
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(26, 42, 54, 0.15);
        }

        /* Tab Animation Classes */
        .tab-enabled {
            animation: tabPulse 0.6s ease-in-out;
        }

        @keyframes tabPulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(52, 152, 219, 0.4); }
            100% { transform: scale(1); }
        }

        .btn-pulse {
            animation: btnPulse 0.6s ease-in-out;
        }

        @keyframes btnPulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(13, 110, 253, 0.4); }
            100% { transform: scale(1); }
        }

        /* URL Update Animation */
        .url-updated {
            animation: urlFlash 0.3s ease-in-out;
        }

        @keyframes urlFlash {
            0% { background-color: transparent; }
            50% { background-color: rgba(40, 167, 69, 0.2); }
            100% { background-color: transparent; }
        }

        /* FontAwesome bounce override for better control */
        .fa-bounce {
            animation: faBounce 1s ease-in-out;
        }

        @keyframes faBounce {
            0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
            40%, 43% { transform: translate3d(0, -8px, 0); }
            70% { transform: translate3d(0, -4px, 0); }
            90% { transform: translate3d(0, -2px, 0); }
        }

        .parameter-group-enhanced {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            padding: 0.5rem 0;
        }

        .parameter-block-enhanced {
            background: rgba(248, 249, 250, 0.9);
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 1rem;
            transition: all 0.2s ease;
            min-height: 80px;
        }

        .parameter-block-enhanced:hover {
            border-color: #1A2A36;
            background: rgba(255, 255, 255, 0.95);
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(26, 42, 54, 0.1);
        }

        .parameter-header {
            font-size: 1rem;
            margin-bottom: 0.75rem;
            padding-bottom: 0.4rem;
            border-bottom: 1px solid #dee2e6;
            display: flex;
            align-items: center;
            color: #1A2A36;
            font-weight: 600;
        }

        .parameter-block-enhanced.hidden {
            display: none;
        }

        /* Form Controls Enhancement */
        .form-select, .form-control {
            border-radius: 6px;
            border: 1px solid #ced4da;
            transition: all 0.2s ease;
            font-weight: 400;
        }

        .form-select:focus, .form-control:focus {
            border-color: #1A2A36;
            box-shadow: 0 0 0 0.15rem rgba(26, 42, 54, 0.15);
        }

        .input-group-text {
            border-radius: 6px 0 0 6px;
            border: 1px solid #ced4da;
            border-right: none;
            background-color: #f8f9fa;
        }

        .form-select {
            border-radius: 0 6px 6px 0;
        }

        /* Button Enhancements */
        .btn-lg {
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
            border-radius: 6px;
            transition: all 0.2s ease;
        }

        .btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
        }

        .btn-success:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(25, 135, 84, 0.25);
        }

        /* Alert styling consistency */
        .alert-enhanced {
            border-left: 3px solid #1A2A36;
            background-color: rgba(26, 42, 54, 0.05);
        }

        .badge-enhanced {
            background-color: #1A2A36 !important;
            color: white;
        }

        /* Card body padding reduction */
        .glass-card .card-body {
            padding: 1.5rem !important;
        }

        .glass-card .card-header {
            padding: 0.75rem 1.5rem !important;
        }

        /* Loading Overlay - Fixed position above everything */
        .loading-overlay {
            position: fixed !important;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.6);
            z-index: 10100 !important;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .loading-content {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            text-align: center;
            min-width: 250px;
        }

        /* Data Service specific styles */
        #path_params label, #query_params label {
            color: #1a2a36;
            font-weight: 600;
        }

        #query_params input, #path_params input,
        #query_params select, #path_params select {
            color: #1a2a36;
            background-color: #ffffff;
            border-radius: 6px;
            border: 2px solid #e9ecef;
            transition: all 0.3s ease;
        }

        #query_params input:focus, #path_params input:focus,
        #query_params select:focus, #path_params select:focus {
            border-color: #007bff;
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
        }

        #service_select {
            color: #1A2A36;
            font-weight: 500;
        }

        #service_select option {
            color: inherit;
            padding: 10px;
        }

        .dataTables_wrapper {
            color: #000000;
        }

        /* Copy button styling */
        .btn-outline-secondary:hover {
            background-color: #6c757d;
            border-color: #6c757d;
        }

        /* Map container styling */
        #map-container {
            width: 85vw;
            height: 75vh;
            flex-direction: column;
            background-color: #fff;
            padding: 1px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        #map {
            flex-grow: 1;
            border-radius: 7px;
            background-color: #eee;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .parameter-group-enhanced {
                gap: 0.75rem;
            }
            
            .parameter-block-enhanced {
                min-height: 60px;
                padding: 0.75rem;
            }
            
            .card-header h6 {
                font-size: 0.9rem;
            }
            
            .btn-lg {
                padding: 0.6rem 1.2rem;
                font-size: 0.9rem;
            }

            .glass-card .card-body {
                padding: 1rem !important;
            }

            .glass-card .card-header {
                padding: 0.5rem 1rem !important;
            }

            .loading-content {
                min-width: 200px;
                padding: 1.5rem;
            }

            .section-title {
                font-size: 0.9rem;
            }

            .section-container {
                margin-bottom: 1rem;
            }
        }

        /* Large screen optimizations */
        @media (min-width: 1200px) {
            .parameter-group-enhanced {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 1.5rem;
            }
        }

        /* Modern overlay styles */
        .modern-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modern-loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }

        .modern-close-btn {
            position: absolute;
            top: 20px;
            right: 30px;
            background: none;
            border: none;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            z-index: 10001;
        }

        .modern-close-btn:hover {
            opacity: 0.7;
        }

        .modern-map-container {
            width: 85vw;
            height: 75vh;
            display: flex;
            flex-direction: column;
            background-color: #fff;
            padding: 1px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .modern-iframe {
            width: 85vw;
            height: 75vh;
            border: none;
            border-radius: 8px;
            background-color: #fff;
        }

        .modern-datatable-container {
            width: 90vw;
            height: 80vh;
            background-color: #fff;
            border-radius: 8px;
            overflow: auto;
            padding: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .modern-datatable {
            width: 100% !important;
        }

        .modern-plot-container {
            width: 85vw;
            height: 75vh;
            background-color: #fff;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .modern-page-container {
            width: 85vw;
            height: 75vh;
            background-color: #fff;
            border-radius: 8px;
            overflow: auto;
            padding: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }