:root {
            --primary-color: #3498db;
            --secondary-color: #2ecc71;
            --text-color: #f5f5f5;
            --bg-color: #121212;
            --panel-bg: #202020;
            --card-bg: #2a2a2a;
            --panel-border: #3a3a3a;
            
            --floor-1-color: #e74c3c;
            --floor-2-color: #3498db;
            --floor-3-color: #2ecc71;
            --floor-4-color: #f39c12;
            --floor-5-color: #9b59b6;
            
            --light-primary-color: #2196F3;
            --light-secondary-color: #27ae60;
            --light-text-color: #333333;
            --light-bg-color: #f5f5f5;
            --light-panel-bg: #ffffff;
            --light-card-bg: #f0f0f0;
            --light-panel-border: #e0e0e0;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 1.6;
            transition: background-color 0.3s, color 0.3s;
        }
        
        body.light-theme {
            --primary-color: var(--light-primary-color);
            --secondary-color: var(--light-secondary-color);
            --text-color: var(--light-text-color);
            --bg-color: var(--light-bg-color);
            --panel-bg: var(--light-panel-bg);
            --card-bg: var(--light-card-bg);
            --panel-border: var(--light-panel-border);
        }
        
        .map-container {
            max-width: 1200px;
            margin: 60px auto 0;
        }
        
        .map-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: var(--primary-color);
        }
        
        .map-subtitle {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 40px;
            font-size: 1.1rem;
            opacity: 0.8;
        }
        
        .map-floors {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
            max-width: 1080px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .floor-button {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            font-weight: bold;
            color: white;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        
        .floor-button:hover {
            transform: translateY(-3px);
        }
        
        .floor-button.floor-1 {
            background-color: var(--floor-1-color);
            box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
        }
        
        .floor-button.floor-2 {
            background-color: var(--floor-2-color);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }
        
        .floor-button.floor-3 {
            background-color: var(--floor-3-color);
            box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
        }
        
        .floor-button.floor-4 {
            background-color: var(--floor-4-color);
            box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
        }
        
        .floor-button.floor-5 {
            background-color: var(--floor-5-color);
            box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
        }
        
        .floor-button.active {
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        }
        
        .map-display {
            position: relative;
            width: 100%;
            max-width: 1080px;
            margin: 0 auto;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            border-radius: 15px;
            overflow: hidden;
        }
        
        .map-image-wrapper {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 100%;
        }
        
        .map-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        
        .hotspots {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }
        
        .hotspot {
            position: absolute;
            width: 20px;
            height: 20px;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            pointer-events: auto;
            cursor: pointer;
            animation: pulse 2s infinite;
            z-index: 2;
        }
        
        .hotspot::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: white;
        }
        
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
            }
        }
        
        .hotspot-label {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            padding: 5px 10px;
            background-color: var(--panel-bg);
            color: var(--text-color);
            border-radius: 5px;
            font-size: 0.8rem;
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.2s, transform 0.2s;
            pointer-events: none;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 3;
        }

        .hotspot:hover {
            z-index: 1001;
        }
        
        .hotspot:hover .hotspot-label {
            opacity: 1;
            transform: translateX(-50%) translateY(-5px);
        }
        
        .map-badges {
            position: absolute;
            top: 20px;
            right: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 2;
        }
        
        .map-badge {
            padding: 10px 15px;
            border-radius: 100px;
            background-color: var(--panel-bg);
            color: var(--text-color);
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .map-badge-icon {
            color: var(--primary-color);
        }
        
        .map-filters {
            margin-bottom: 30px;
            background-color: var(--panel-bg);
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            max-width: 1080px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .map-filters h3 {
            margin-bottom: 15px;
            font-size: 1.2rem;
            color: var(--primary-color);
        }
        
        .filter-controls {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            gap: 10px;
        }
        
        .filter-button {
            padding: 8px 16px;
            border-radius: 30px;
            border: none;
            background-color: var(--primary-color);
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .filter-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .filter-button i {
            font-size: 0.9rem;
        }
        
        .filter-options {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }
        
        .filter-option {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            padding: 8px 12px;
            border-radius: 6px;
            background-color: var(--card-bg);
            transition: transform 0.2s;
        }
        
        .filter-option:hover {
            transform: translateY(-2px);
        }
        
        .filter-option input[type="checkbox"] {
            cursor: pointer;
        }
        
        .filter-color {
            width: 15px;
            height: 15px;
            border-radius: 50%;
            display: inline-block;
        }
        
        .map-info-section {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
            flex-wrap: wrap;
            max-width: 1080px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .map-info-card {
            background-color: var(--panel-bg);
            border-radius: 12px;
            padding: 15px 25px;
            display: flex;
            align-items: center;
            gap: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            flex: 1;
            min-width: 200px;
        }
        
        .info-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(52, 152, 219, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: var(--primary-color);
        }
        
        .info-content {
            display: flex;
            flex-direction: column;
        }
        
        .info-label {
            font-size: 0.8rem;
            opacity: 0.8;
        }
        
        .info-value {
            font-size: 1.1rem;
            font-weight: 600;
        }
        
        .map-legend-section {
            background-color: var(--panel-bg);
            border-radius: 12px;
            padding: 20px;
            margin-top: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            position: relative;
            z-index: 1;
            width: 100%;
            display: block;
            max-width: 1080px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .legend-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--primary-color);
            text-align: center;
        }
        
        .legend-items {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 15px;
        }
        
        .legend-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 10px;
            background-color: var(--card-bg);
            border-radius: 8px;
        }
        
        .legend-color {
            width: 15px;
            height: 15px;
            min-width: 15px;
            border-radius: 50%;
        }
        
        .legend-label {
            font-size: 0.9rem;
        }
        
        .map-info-mobile {
            display: none;
            margin-top: 15px;
            padding: 15px;
            background-color: var(--panel-bg);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .map-info-mobile .info-title {
            font-weight: bold;
            margin-bottom: 10px;
            color: var(--primary-color);
        }
        
        .map-info-mobile .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 10px;
        }
        
        .map-info-mobile .info-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .map-info-mobile .info-icon {
            color: var(--primary-color);
        }
        
        .map-filters {
            border-radius: 15px;
            padding: 25px;
            transition: all 0.3s ease;
        }
        
        .map-filters h3 {
            font-size: 1.3rem;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .map-filters h3::before {
            content: "";
            width: 24px;
            height: 24px;
            background-color: var(--primary-color);
            border-radius: 4px;
            display: inline-block;
        }
        
        .filter-options {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }
        
        .filter-option {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            padding: 10px 15px;
            border-radius: 30px;
            background-color: var(--card-bg);
            transition: all 0.3s ease;
            border: 2px solid transparent;
            user-select: none;
            position: relative;
            overflow: hidden;
        }
        
        .filter-option.active {
            border-color: var(--primary-color);
            background-color: rgba(52, 152, 219, 0.1);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .filter-option:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }
        
        .filter-option::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 5px;
            background-color: var(--spot-color, #ccc);
            transition: all 0.3s ease;
        }
        
        .filter-option.active::before {
            width: 8px;
        }
        
        .filter-color {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            transition: transform 0.2s ease;
            border: 2px solid var(--panel-border);
        }
        
        .filter-option.active .filter-color {
            transform: scale(1.2);
            border-color: white;
            box-shadow: 0 0 0 2px var(--spot-color, #ccc);
        }
        
        .filter-option:hover .filter-color {
            transform: scale(1.1);
        }
        
        .filter-text {
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .filter-option.active .filter-text {
            font-weight: 600;
            color: var(--primary-color);
        }
        
        @media (max-width: 1024px) {
            .map-legend {
                max-width: 180px;
                padding: 12px;
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 768px) {
            .map-title {
                font-size: 1.8rem;
            }
            
            .map-subtitle {
                font-size: 0.9rem;
            }
            
            .filter-options {
                gap: 8px;
            }
            
            .filter-option {
                padding: 8px 12px;
                font-size: 0.9rem;
            }
            
            .hotspot {
                width: 16px;
                height: 16px;
            }
            
            .hotspot::after {
                width: 8px;
                height: 8px;
            }
            
            .map-info-section {
                flex-direction: column;
                align-items: center;
                gap: 15px;
            }
            
            .map-info-card {
                width: 100%;
                max-width: 300px;
            }
            
            .legend-items {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 480px) {
            .floor-button {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
            
            .hotspot {
                width: 12px;
                height: 12px;
            }
            
            .hotspot::after {
                width: 6px;
                height: 6px;
            }
            
            .filter-options {
                gap: 6px;
            }
            
            .filter-option {
                padding: 6px 8px;
                font-size: 0.8rem;
                border-radius: 15px;
            }
            
            .filter-color {
                width: 14px;
                height: 14px;
            }
            
            .legend-items {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 400px) {
            .map-title {
                font-size: 1.5rem;
            }
            
            .map-subtitle {
                font-size: 0.8rem;
            }
            
            .filter-options {
                gap: 4px;
            }
            
            .filter-option {
                padding: 4px 6px;
                font-size: 0.7rem;
                border-radius: 12px;
            }
            
            .filter-color {
                width: 10px;
                height: 10px;
                min-width: 10px;
            }
            
            .filter-option::before {
                width: 3px;
            }
            
            .filter-option.active::before {
                width: 5px;
            }
            
            .hotspot {
                width: 8px;
                height: 8px;
            }
            
            .hotspot::after {
                width: 4px;
                height: 4px;
            }
            
            .floor-button {
                width: 30px;
                height: 30px;
                font-size: 0.8rem;
            }
            
            .map-floors {
                gap: 8px;
            }
            
            .info-icon {
                width: 30px;
                height: 30px;
                font-size: 1rem;
            }
            
            .info-value {
                font-size: 1rem;
            }
            
            .legend-title {
                font-size: 0.9rem;
            }
            
            .legend-label {
                font-size: 0.8rem;
            }
            
            .legend-color {
                width: 10px;
                height: 10px;
                min-width: 10px;
            }
        }