/* Frontend Styles */
.imm-map-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.6;
    padding: 24px;
}

.imm-map-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.imm-map-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    height: 100%;
}

.imm-map-section,
.imm-controls-section {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.imm-controls-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.imm-controls-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.imm-controls-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0ea5e9;
}

.imm-controls-title .imm-zone-highlight {
    color: #ef4444;
}

.imm-controls-content {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
}

.imm-filters-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.imm-department-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.imm-filter-btn {
    padding: 6px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: white;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.imm-filter-btn:hover {
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
}

.imm-filter-btn.active {
    background: #0ea5e9;
    color: white;
    border-color: #0ea5e9;
}

.imm-service-dropdown {
    font-size: 14px;
    color: #64748b;
}

.imm-alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.imm-letter-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: white;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imm-letter-btn:hover {
    background: #f1f5f9;
}

.imm-letter-btn.active {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

.imm-city-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.imm-city-select {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.imm-city-select:hover {
    background: #f1f5f9;
}

.imm-city-select:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.imm-services-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.imm-services-title {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.imm-services-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.imm-services-list li {
    font-size: 14px;
    color: #334155;
    margin-bottom: 8px;
    line-height: 1.5;
}

.imm-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Custom marker styles */
.custom-marker {
    position: relative;
}

.marker-pin {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid white;
    font-weight: 600;
    font-size: 11px;
    color: white;
    cursor: pointer;
}

.marker-green {
    background-color: #10b981;
}

.marker-yellow {
    background-color: #f59e0b;
}

.marker-red {
    background-color: #ef4444;
}

.marker-blue {
    background-color: #3b82f6;
}

/* Responsive design */
@media (max-width: 1024px) {
    .imm-map-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 400px auto;
    }
}

@media (max-width: 768px) {
    .imm-map-container {
        padding: 16px;
    }
    
    .imm-city-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .imm-department-filters {
        justify-content: center;
    }
    
    .imm-controls-content {
        padding: 16px;
    }
}