        /* Core Map Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            height: 100%;
            overflow: hidden;
        }

        @keyframes pulse {
            0% { opacity: 0.8; }
            50% { opacity: 1; }
            100% { opacity: 0.8; }
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #0f1419;
            color: #e1e8ed;
            height: 100vh;
            display: flex;
            flex-direction: row;
            overflow: hidden;
            padding-top: 56px;
            margin: 0;
        }

        .top-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 998;
            background: rgba(12, 18, 28, 0.85);
            backdrop-filter: blur(8px);
            border-bottom: 1px solid #1f2a37;
        }

        .top-nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 10px 20px;
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .top-nav-logo {
            color: #e2e8f0;
            text-decoration: none;
            font-weight: 700;
            letter-spacing: 0.02em;
            font-size: 18px;
        }

        .top-nav-links {
            display: flex;
            gap: 12px;
            align-items: center;
            margin-left: auto;
        }

        .top-nav-link {
            color: #cbd5e1;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
            padding: 6px 10px;
            border-radius: 6px;
            transition: background 0.2s ease, color 0.2s ease;
        }

        .top-nav-link:hover {
            background: rgba(148, 163, 184, 0.12);
            color: #f8fafc;
        }

        .top-nav-link.active {
            color: #38bdf8;
        }
        
        #map {
            flex: 1;
            height: 100vh;
            background: #1a1f2e;
            position: relative;
        }

        .leaflet-container {
            width: 100% !important;
            height: 100% !important;
        }

        #sidebar {
            width: 400px;
            min-width: 400px;
            max-width: 400px;
            flex-shrink: 0;
            background: #1e2936;
            display: flex;
            flex-direction: column;
            border-left: 1px solid #38444d;
            overflow: hidden;
            overflow-y: auto;
            box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease, width 0.3s ease;
            position: relative;
            z-index: 1000;
        }
        
        #sidebar.collapsed {
            transform: translateX(400px);
            width: 0;
        }
        
        .header {
            padding: 20px;
            background: #15202b;
            border-bottom: 1px solid #38444d;
        }
        
        .header-nav {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .nav-link {
            color: #8899a6;
            text-decoration: none;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 0.9em;
            transition: all 0.3s ease;
        }
        
        .nav-link:hover {
            background: rgba(29, 155, 240, 0.1);
            color: #1d9bf0;
        }
        
        .nav-link.active {
            background: rgba(29, 155, 240, 0.2);
            color: #1d9bf0;
        }
        
        .header h1 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 10px;
            color: #1d9bf0;
        }
        
        .stats {
            display: flex;
            gap: 20px;
            margin-top: 15px;
        }
        
        .stat {
            flex: 1;
        }
        
        .stat-value {
            font-size: 28px;
            font-weight: bold;
            color: #1d9bf0;
        }
        
        .stat-label {
            font-size: 13px;
            color: #cbd5e1;
            text-transform: uppercase;
            font-weight: 500;
        }
        
        .filters {
            padding: 20px;
            border-bottom: 1px solid #38444d;
        }
        
        .filter-group {
            margin-bottom: 15px;
        }
        
        .filter-label {
            display: block;
            margin-bottom: 8px;
            font-size: 15px;
            color: #cbd5e1;
            font-weight: 500;
        }
        
        .filter-select {
            width: 100%;
            padding: 12px;
            background: #253341;
            border: 2px solid #38444d;
            border-radius: 8px;
            color: #f1f5f9;
            font-size: 15px;
            cursor: pointer;
        }
        
        .filter-select:hover {
            border-color: #1d9bf0;
        }
        
        .filter-select:focus {
            outline: none;
            border-color: #1d9bf0;
            box-shadow: 0 0 0 3px rgba(29, 155, 240, 0.1);
        }
        
        /* State Page Link Button */
        .state-page-link-container {
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-5px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .search-input {
            width: 100%;
            padding: 12px;
            background: #253341;
            border: 2px solid #38444d;
            border-radius: 8px;
            color: #f1f5f9;
            font-size: 15px;
            margin-bottom: 15px;
        }
        
        .search-input:hover {
            border-color: #1d9bf0;
        }
        
        .geolocation-btn {
            width: 100%;
            padding: 10px 16px;
            background: #4CAF50;
            border: 1px solid #45a049;
            border-radius: 8px;
            color: white;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.2s ease;
        }
        
        .geolocation-btn:hover {
            background: #45a049;
        }
        
        .geolocation-btn.loading {
            opacity: 0.7;
            cursor: wait;
        }
        
        .search-input:focus {
            outline: none;
            border-color: #1d9bf0;
            box-shadow: 0 0 0 3px rgba(29, 155, 240, 0.1);
        }
        
        .view-controls {
            display: flex;
            gap: 8px;
            margin-bottom: 15px;
        }
        
        .view-btn {
            flex: 1;
            padding: 10px 8px;
            background: #253341;
            border: 1px solid #38444d;
            border-radius: 8px;
            color: #e1e8ed;
            font-size: 11px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            position: relative;
        }
        
        .view-btn:hover {
            border-color: #1d9bf0;
            background: #2a3f53;
            color: white;
            transform: translateY(-1px);
        }
        
        .view-btn.active {
            background: #1d9bf0;
            border-color: #1d9bf0;
            color: white;
            box-shadow: 0 2px 8px rgba(29, 155, 240, 0.3);
        }
        
        .mode-indicator {
            font-size: 10px;
            color: #8899a6;
            text-align: center;
            margin-bottom: 12px;
            padding: 6px;
            background: rgba(29, 155, 240, 0.1);
            border-radius: 6px;
            border-left: 3px solid #1d9bf0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
        }
        
        .refresh-btn {
            background: #1d9bf0;
            border: none;
            border-radius: 4px;
            color: white;
            padding: 4px 8px;
            font-size: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
            flex-shrink: 0;
        }
        
        .refresh-btn:hover {
            background: #0d8bd9;
            transform: translateY(-1px);
        }
        
        .refresh-btn:active {
            transform: translateY(0);
        }
        
        .mode-text {
            flex: 1;
            text-align: left;
        }
        
        .chart-container {
            margin-top: 20px;
            padding: 15px;
            background: #15202b;
            border: 1px solid #38444d;
            border-radius: 8px;
        }
        
        .chart-title {
            color: #e1e8ed;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 10px;
            text-align: center;
        }
        
        .chart-canvas {
            max-height: 300px;
        }
        
        .submission-form {
            margin-top: 20px;
            padding: 15px;
            background: #15202b;
            border: 1px solid #38444d;
            border-radius: 8px;
        }
        
        .form-title {
            color: #e1e8ed;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-label {
            display: block;
            margin-bottom: 5px;
            font-size: 12px;
            color: #8899a6;
        }
        
        .form-input {
            width: 100%;
            padding: 8px;
            background: #253341;
            border: 1px solid #38444d;
            border-radius: 6px;
            color: #e1e8ed;
            font-size: 12px;
        }
        
        .form-input select {
            width: 100%;
            padding: 8px;
            background: #253341;
            border: 1px solid #38444d;
            border-radius: 6px;
            color: #e1e8ed;
            font-size: 12px;
            cursor: pointer;
        }
        
        .form-input:focus {
            outline: none;
            border-color: #1d9bf0;
        }
        
        .form-textarea {
            width: 100%;
            padding: 8px;
            background: #253341;
            border: 1px solid #38444d;
            border-radius: 6px;
            color: #e1e8ed;
            font-size: 12px;
            resize: vertical;
            min-height: 60px;
        }
        
        .form-textarea:focus {
            outline: none;
            border-color: #1d9bf0;
        }
        
        .submit-btn {
            width: 100%;
            padding: 10px;
            background: #1d9bf0;
            border: none;
            border-radius: 6px;
            color: white;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .submit-btn:hover {
            background: #0d8bd9;
        }
        
        .submit-btn:disabled {
            background: #38444d;
            cursor: not-allowed;
        }

        /* Enhanced form styles */
        .form-row {
            display: flex;
            gap: 10px;
        }

        .form-col-2 {
            flex: 1;
        }

        .field-error {
            color: #ff6b6b;
            font-size: 11px;
            margin-top: 4px;
            min-height: 15px;
            display: block;
        }

        .field-hint {
            color: #8899a6;
            font-size: 11px;
            margin-top: 4px;
        }

        .form-input.error,
        .form-textarea.error {
            border-color: #ff6b6b;
        }

        .form-input.success,
        .form-textarea.success {
            border-color: #6bcf7f;
        }

        .form-message {
            padding: 12px;
            border-radius: 6px;
            margin-bottom: 15px;
            font-size: 13px;
        }

        .form-success {
            background: rgba(107, 207, 127, 0.15);
            border: 1px solid #6bcf7f;
            color: #6bcf7f;
        }

        .form-error {
            background: rgba(255, 107, 107, 0.15);
            border: 1px solid #ff6b6b;
            color: #ff6b6b;
        }

        .programs-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin-bottom: 8px;
        }

        .program-checkbox {
            display: flex;
            align-items: center;
            padding: 8px;
            background: #253341;
            border: 1px solid #38444d;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 11px;
        }

        .program-checkbox:hover {
            border-color: #1d9bf0;
            background: rgba(29, 155, 240, 0.1);
        }

        .program-checkbox input[type="checkbox"] {
            margin-right: 8px;
            cursor: pointer;
        }

        .program-checkbox input[type="checkbox"]:checked + span {
            color: #1d9bf0;
            font-weight: 600;
        }

        .recaptcha-notice {
            font-size: 10px;
            color: #8899a6;
            text-align: center;
            margin-bottom: 15px;
            line-height: 1.4;
        }

        .recaptcha-notice a {
            color: #1d9bf0;
            text-decoration: none;
        }

        .recaptcha-notice a:hover {
            text-decoration: underline;
        }
        
        .school-list {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
        }
        
        .school-card {
            background: #15202b;
            border: 1px solid #38444d;
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 15px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .school-card:hover {
            border-color: #1d9bf0;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(29, 155, 240, 0.1);
        }
        
        .school-name {
            font-size: 16px;
            font-weight: 600;
            color: #e1e8ed;
            margin-bottom: 8px;
        }
        
        .school-location {
            font-size: 14px;
            color: #8899a6;
            margin-bottom: 10px;
        }
        
        .school-programs {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-bottom: 10px;
        }
        
        .program-tag {
            background: #1d9bf0;
            color: white;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .program-tag:hover {
            background: #0d8bd9;
            transform: scale(1.05);
        }
        
        .school-contact {
            display: flex;
            flex-direction: column;
            gap: 5px;
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid #38444d;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: #8899a6;
        }
        
        .contact-item a {
            color: #1d9bf0;
            text-decoration: none;
        }
        
        .contact-item a:hover {
            text-decoration: underline;
        }
        
        .loading {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 200px;
            color: #8899a6;
            font-size: 16px;
            font-weight: 500;
        }
        
        .loading::after {
            content: '...';
            animation: loadingDots 1.5s infinite;
        }
        
        @keyframes loadingDots {
            0%, 20% { content: '.'; }
            40% { content: '..'; }
            60%, 100% { content: '...'; }
        }
        
        .user-location-marker {
            background: none;
            border: none;
            font-size: 30px;
            text-align: center;
            line-height: 30px;
            animation: bounce 1s infinite;
        }
        
        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        .no-results {
            text-align: center;
            padding: 40px 20px;
            color: #8899a6;
            background: rgba(29, 155, 240, 0.05);
            border-radius: 12px;
            margin: 20px;
            border: 1px solid rgba(29, 155, 240, 0.2);
        }
        
        /* Map markers */
        .school-marker {
            background: #1d9bf0;
            border: 2px solid white;
            border-radius: 50%;
            width: 12px;
            height: 12px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }
        
        .school-marker.selected {
            background: #ff6b6b;
            width: 16px;
            height: 16px;
            box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.2);
        }
        
        /* Popup styles */
        .leaflet-popup-content-wrapper {
            background: rgba(21, 32, 43, 0.95);
            border: 1px solid #38444d;
            border-radius: 12px;
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        }
        
        .leaflet-popup-content {
            margin: 14px;
            color: #e1e8ed;
            min-width: 220px;
        }
        
        .leaflet-popup-tip {
            background: rgba(21, 32, 43, 0.95);
            border: 1px solid #38444d;
        }
        
        .popup-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
        }
        
        .popup-favicon {
            width: 24px;
            height: 24px;
            border-radius: 6px;
            object-fit: contain;
            background: white;
            padding: 2px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        
        .popup-title {
            font-size: 15px;
            font-weight: 600;
            color: #1d9bf0;
            flex: 1;
        }
        
        /* Emoji marker styles */
        .emoji-marker {
            background: none;
            border: none;
            font-size: 24px;
            text-align: center;
            line-height: 24px;
            cursor: pointer;
            transition: transform 0.2s ease, filter 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .emoji-marker:hover {
            transform: scale(1.3);
            filter: drop-shadow(0 0 8px rgba(29, 155, 240, 0.8));
        }
        
        .emoji-marker img {
            object-fit: contain;
        }
        
        /* Hex label styles */
        .hex-label {
            z-index: 1000 !important;
            pointer-events: none;
        }
        
        /* 3D Column marker styles */
        .column-marker {
            background: none !important;
            border: none !important;
            perspective: 500px;
        }
        
        .column-3d {
            transition: transform 0.3s ease;
        }
        
        .column-marker:hover .column-3d {
            transform: rotateX(-20deg) rotateY(-15deg) scale(1.1) translateY(-10px);
        }
        
        .custom-popup .leaflet-popup-content-wrapper {
            background: #15202b;
            border: 2px solid #1d9bf0;
            box-shadow: 0 4px 20px rgba(29, 155, 240, 0.3);
        }
        
        .custom-popup .leaflet-popup-tip {
            background: #15202b;
            border: 2px solid #1d9bf0;
        }
        
        
        
        .sidebar-toggle {
            position: fixed;
            top: 60px;
            right: 20px;
            background: rgba(29, 155, 240, 0.95);
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            min-width: 44px;
            min-height: 44px;
            z-index: 1001;
            cursor: pointer;
            font-size: 24px;
            color: white;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
        }
        
        .sidebar-toggle:hover {
            background: rgba(29, 155, 240, 1);
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(29, 155, 240, 0.4);
        }
        
        .sidebar-toggle.collapsed {
            right: 20px;
        }
        
        .sidebar-overlay {
            display: none;
        }
        
        .floating-submit {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #1d9bf0;
            border: none;
            border-radius: 50px;
            padding: 16px 28px;
            z-index: 1001;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            color: white;
            box-shadow: 0 6px 20px rgba(29, 155, 240, 0.4);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .floating-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(29, 155, 240, 0.6);
        }
        
        .stats-badge {
            position: fixed;
            top: 60px;
            left: 20px;
            background: rgba(21, 32, 43, 0.95);
            border: 1px solid #38444d;
            border-radius: 12px;
            padding: 12px 16px;
            z-index: 1000;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            display: none; /* Hidden by default on desktop */
        }
        
        .stats-badge-content {
            display: flex;
            gap: 16px;
            align-items: center;
            font-size: 13px;
        }
        
        .stats-badge-item {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        
        .stats-badge-value {
            font-size: 18px;
            font-weight: 700;
            color: #1d9bf0;
        }
        
        .stats-badge-label {
            font-size: 12px;
            color: #cbd5e1;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 500;
        }
        
        /* Selected School Details Panel */
        .selected-school-panel {
            padding: 20px;
            background: #15202b;
            border-bottom: 1px solid #38444d;
            display: none;
        }
        
        .selected-school-panel.visible {
            display: block;
        }
        
        .selected-school-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 15px;
        }
        
        .selected-school-title {
            font-size: 18px;
            font-weight: 600;
            color: #f1f5f9;
            margin-bottom: 8px;
            line-height: 1.3;
        }
        
        .selected-school-close {
            background: transparent;
            border: none;
            color: #8899a6;
            font-size: 24px;
            cursor: pointer;
            padding: 0;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            transition: all 0.2s;
            flex-shrink: 0;
        }
        
        .selected-school-close:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #f1f5f9;
        }
        
        .selected-school-info {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .selected-school-info-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: #cbd5e1;
        }
        
        .selected-school-programs-list {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 8px;
        }
        
        .selected-school-actions {
            display: flex;
            gap: 10px;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #38444d;
        }
        
        .selected-school-btn {
            flex: 1;
            padding: 10px;
            background: #1d9bf0;
            border: none;
            border-radius: 8px;
            color: white;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .selected-school-btn:hover {
            background: #0d8bd9;
            transform: translateY(-1px);
        }
        
        .selected-school-btn.secondary {
            background: #253341;
            color: #e1e8ed;
        }
        
        .selected-school-btn.secondary:hover {
            background: #2a3f53;
        }
        
        /* Tooltip styles */
        .tooltip-trigger {
            position: relative;
            cursor: help;
        }
        
        .tooltip {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            margin-bottom: 8px;
            padding: 8px 12px;
            background: rgba(21, 32, 43, 0.98);
            color: #f1f5f9;
            font-size: 12px;
            border-radius: 6px;
            border: 1px solid #38444d;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s;
            z-index: 10000;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        }
        
        .tooltip-trigger:hover .tooltip {
            opacity: 1;
        }
        
        .tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 6px solid transparent;
            border-top-color: rgba(21, 32, 43, 0.98);
        }
        
        /* CTA Button Group */
        .cta-button-group {
            position: fixed;
            bottom: 20px;
            left: 20px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            z-index: 1001;
        }
        
        .cta-button {
            background: #1d9bf0;
            border: none;
            border-radius: 12px;
            padding: 14px 20px;
            color: white;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 6px 20px rgba(29, 155, 240, 0.4);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 200px;
        }
        
        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(29, 155, 240, 0.6);
        }
        
        .cta-button.secondary {
            background: #6bcf7f;
            box-shadow: 0 6px 20px rgba(107, 207, 127, 0.4);
        }
        
        .cta-button.secondary:hover {
            box-shadow: 0 8px 24px rgba(107, 207, 127, 0.6);
        }
        
        .legend-toggle:hover {
            background: #1d9bf0;
            border-color: #1d9bf0;
        }

        /* Data Summary Widget */
        .data-summary {
            padding: 15px;
            background: linear-gradient(135deg, #1d9bf0 0%, #0d8bd9 100%);
            border-radius: 12px;
            margin-bottom: 20px;
            box-shadow: 0 4px 12px rgba(29, 155, 240, 0.3);
        }

        .data-summary-title {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.8);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .data-summary-main {
            font-size: 24px;
            color: white;
            font-weight: bold;
            margin-bottom: 8px;
            line-height: 1.2;
        }

        .data-summary-programs {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.95);
            line-height: 1.6;
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }

        .data-summary-programs strong {
            font-weight: 600;
        }
        
        .data-summary-programs .clickable-program {
            cursor: pointer;
            text-decoration: underline;
            text-decoration-style: dotted;
            transition: all 0.2s;
            padding: 2px 4px;
            border-radius: 4px;
        }
        
        .data-summary-programs .clickable-program:hover {
            background: rgba(255, 255, 255, 0.2);
            text-decoration-style: solid;
        }

        /* Accordion Form Sections */
        .form-section {
            margin-bottom: 12px;
            border: 1px solid #38444d;
            border-radius: 8px;
            overflow: hidden;
            background: #192734;
        }

        .form-section-header {
            padding: 12px 15px;
            background: #253341;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
            user-select: none;
        }

        .form-section-header:hover {
            background: #2a3f53;
        }

        .form-section-header.active {
            background: #1d9bf0;
        }

        .form-section-title {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 600;
            color: #e1e8ed;
        }

        .form-section-header.active .form-section-title {
            color: white;
        }

        .form-section-badge {
            background: rgba(29, 155, 240, 0.2);
            color: #1d9bf0;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 10px;
            font-weight: 600;
        }

        .form-section-header.active .form-section-badge {
            background: rgba(255, 255, 255, 0.2);
            color: white;
        }

        .form-section-toggle {
            font-size: 18px;
            transition: transform 0.3s ease;
        }

        .form-section-header.active .form-section-toggle {
            transform: rotate(180deg);
        }

        .form-section-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .form-section-content.active {
            max-height: 1000px;
        }

        .form-section-body {
            padding: 15px;
        }

        /* Multi-select Dropdown */
        .multiselect-container {
            position: relative;
        }

        .multiselect-selected {
            width: 100%;
            padding: 10px;
            background: #253341;
            border: 1px solid #38444d;
            border-radius: 6px;
            color: #e1e8ed;
            font-size: 12px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            min-height: 40px;
        }

        .multiselect-selected:hover {
            border-color: #1d9bf0;
        }

        .multiselect-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            flex: 1;
        }

        .multiselect-tag {
            background: #1d9bf0;
            color: white;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 11px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .multiselect-tag-remove {
            cursor: pointer;
            font-weight: bold;
            opacity: 0.8;
        }

        .multiselect-tag-remove:hover {
            opacity: 1;
        }

        .multiselect-placeholder {
            color: #8899a6;
        }

        .multiselect-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #15202b;
            border: 1px solid #1d9bf0;
            border-radius: 8px;
            margin-top: 4px;
            max-height: 300px;
            overflow-y: auto;
            z-index: 1000;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
            display: none;
        }

        .multiselect-dropdown.active {
            display: block;
        }

        .multiselect-search {
            padding: 10px;
            border-bottom: 1px solid #38444d;
            position: sticky;
            top: 0;
            background: #15202b;
        }

        .multiselect-search input {
            width: 100%;
            padding: 8px;
            background: #253341;
            border: 1px solid #38444d;
            border-radius: 6px;
            color: #e1e8ed;
            font-size: 12px;
        }

        .multiselect-search input:focus {
            outline: none;
            border-color: #1d9bf0;
        }

        .multiselect-options {
            padding: 8px;
        }

        .multiselect-option {
            padding: 8px 10px;
            cursor: pointer;
            border-radius: 6px;
            font-size: 12px;
            color: #e1e8ed;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s;
        }

        .multiselect-option:hover {
            background: #253341;
        }

        .multiselect-option.selected {
            background: rgba(29, 155, 240, 0.2);
            color: #1d9bf0;
            font-weight: 600;
        }

        .multiselect-option input[type="checkbox"] {
            margin: 0;
            cursor: pointer;
        }

        /* Required Field Indicator */
        .required-indicator {
            color: #ff6b6b;
            font-weight: bold;
            margin-left: 2px;
        }

        .form-label.required::after {
            content: " *";
            color: #ff6b6b;
        }

        /* Sticky Submit Button (Mobile) */
        .submit-btn-container {
            position: relative;
        }

        @media (max-width: 768px) {
            #statePageLink {
                padding: 14px !important;
                font-size: 16px !important;
            }
            .submit-btn-container {
                position: fixed;
                bottom: 20px;
                right: 20px;
                left: auto;
                z-index: 1500;
                padding: 0;
            }

            .submit-btn {
                width: auto;
                min-width: 200px;
                box-shadow: 0 8px 24px rgba(29, 155, 240, 0.4);
                font-size: 14px;
                padding: 14px 28px;
            }

            .form-section-content.active {
                max-height: 2000px;
            }
        }

        /* School Card Hover Tooltips */
        .school-card {
            position: relative;
        }

        .school-card-actions {
            position: absolute;
            top: 10px;
            right: 10px;
            display: none;
            gap: 6px;
        }

        .school-card:hover .school-card-actions {
            display: flex;
        }

        .action-btn {
            background: #1d9bf0;
            color: white;
            border: none;
            border-radius: 6px;
            padding: 6px 10px;
            font-size: 11px;
            cursor: pointer;
            transition: all 0.2s;
            font-weight: 600;
            white-space: nowrap;
        }

        .action-btn:hover {
            background: #0d8bd9;
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(29, 155, 240, 0.3);
        }

        /* Filter Icons */
        .filter-label-with-icon {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .filter-icon {
            font-size: 14px;
        }

        /* Clean Sidebar Styles */
        .filter-group.search-group {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        
        .search-container {
            position: relative;
            flex: 1;
        }
        
        .search-container .search-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 14px;
            color: #8899a6;
            pointer-events: none;
        }
        
        .search-input {
            padding-left: 36px;
        }
        
        .geolocation-btn-icon {
            width: 44px;
            height: 44px;
            background: rgba(29, 155, 240, 0.1);
            border: 1px solid rgba(29, 155, 240, 0.2);
            color: #1d9bf0;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .geolocation-btn-icon:hover {
            background: rgba(29, 155, 240, 0.2);
            transform: translateY(-1px);
        }
        
        .filter-row {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .filter-col {
            flex: 1;
        }
        
        .map-controls-compact {
            background: #15202b;
            border: 1px solid #38444d;
            border-radius: 8px;
            padding: 8px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            margin-bottom: 15px;
        }
        
        .control-label {
            font-size: 11px;
            color: #8899a6;
            font-weight: 500;
            white-space: nowrap;
        }
        
        .toggle-group {
            display: flex;
            background: #253341;
            border-radius: 6px;
            padding: 2px;
            gap: 2px;
        }
        
        .toggle-btn {
            background: transparent;
            border: none;
            color: #8899a6;
            width: 32px;
            height: 28px;
            border-radius: 4px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            transition: all 0.2s;
        }
        
        .toggle-btn:hover {
            background: rgba(255, 255, 255, 0.05);
            color: #e1e8ed;
        }
        
        .toggle-btn.active {
            background: #1d9bf0;
            color: white;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
        }
        
        .divider-vertical {
            width: 1px;
            height: 20px;
            background: #38444d;
        }

        /* Loading Skeleton */
        .loading-skeleton {
            background: linear-gradient(90deg, #253341 25%, #2a3f53 50%, #253341 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
            border-radius: 8px;
        }

        @keyframes loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        
        @media (max-width: 768px) {
            body {
                flex-direction: column;
                padding-top: 50px;
            }

            #sidebar {
                position: fixed;
                top: 50px;
                right: 0;
                width: 100%;
                max-width: 100%;
                height: calc(100vh - 50px);
                transform: translateX(100%);
                z-index: 2000;
                border-left: none;
                border-top: 1px solid #38444d;
            }

            #sidebar.active {
                transform: translateX(0);
            }

            #map {
                width: 100%;
                height: calc(100vh - 50px);
                flex: none;
            }

            .sidebar-overlay {
                display: none;
                position: fixed;
                top: 50px;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(0, 0, 0, 0.5);
                z-index: 1999;
                backdrop-filter: blur(4px);
            }

            .sidebar-overlay.active {
                display: block;
            }
            
            .geolocation-btn {
                min-height: 44px;
                font-size: 16px;
            }
            
            .filter-select,
            .search-input {
                min-height: 44px;
                font-size: 16px;
            }
            
            .stats-badge {
                top: 50px;
                left: 10px;
                padding: 10px 12px;
                display: block; /* Show on mobile */
            }
            
            .stats-badge-content {
                gap: 12px;
            }
            
            .cta-button-group {
                bottom: 10px;
                right: 10px;
            }
            
            .cta-button {
                min-width: auto;
                padding: 12px 16px;
                font-size: 14px;
            }
            
            .floating-submit {
                display: none;
            }
        }